Trying to port Lxmusic

Having trouble or general questions about porting software to FreeBSD? Ask here.

Trying to port Lxmusic

Postby ericturgeon » 13 Sep 2012, 10:13

Hi,
I am trying to port Lxmusic. I have a problem with fetching the tar.gz. I have nver don that before. I have read the porters handbook. when I fetch the tar.gz file in distfile all the rest work.
This is my Makefile.
Code: Select all
# New ports collection makefile for:   lxmusic
# Date created:            2008-12-16    
# Whom:               Hong Jen Yee (PCMan) <pcman.tw@gmail.com>,
#                                       Jürgen Hötzel <juergen@archlinux.org>
#
# $FreeBSD: ports/audio/lxmusxic/Makefile,v 0.1 Wed Sep 12 19:43:20 ADT 2012 Eric Turgeon Exp $
#

PORTNAME=   lxmusic
PORTVERSION=   0.4.5
PORTREVISION=   1
CATEGORIES=   audio
MASTER_SITES=   SF/ghostbsdproject/files/package/LXMusic/LXMusic-0.4.5/

MAINTAINER=   ericturgeon@ghostbsd.org
COMMENT=   LXDE music player based on xmms2

LIB_DEPENDS=    xmmsclient:${PORTSDIR}/audio/xmms2
               

USE_GNOME=   gtk20
#USE_GETTEXT=   yes
USE_GMAKE=   yes
GNU_CONFIGURE=   yes
INSTALLS_ICONS=   yes
CPPFLAGS+=   -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

PORTDOCS=   AUTHORS COPYING ChangeLog INSTALL README

.include <bsd.port.mk>
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby SirDice » 13 Sep 2012, 10:27

The [file]MASTER_SITES[/file] doesn't look correct to me. Have a look at other ports that use sourceforge. That should give you an idea of how to set it.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16195
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby vermaden » 13 Sep 2012, 11:47

@ericturgeon

For [port]sysutils/beadm[/port] we use it like that in the [FILE]Makefile[/FILE]:
Code: Select all
PORTNAME=       beadm
PORTVERSION=    0.8
CATEGORIES=     sysutils
MASTER_SITES=   SF/beadm/dist/


And keep the [FILE]beadm-0.8.tar.gz[/FILE] file under:
https://sourceforge.net/projects/beadm/files/dist/
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
[FILE][color="DarkSlateBlue"]http://vermaden.blogspot.com[/color][/FILE]
User avatar
vermaden
Giant Locked
 
Posts: 2317
Joined: 16 Nov 2008, 19:37
Location: pl_PL.lodz

Postby ericturgeon » 13 Sep 2012, 22:07

I have remove files in SF/ghostbsdproject/files/package/LXMusic/LXMusic-0.4.5/.
Code: Select all
PORTNAME=   lxmusic
PORTVERSION=   0.4.5
PORTREVISION=   1
CATEGORIES=   audio
MASTER_SITES=   SF/ghostbsdproject/package/LXMusic/LXMusic-0.4.5/

Now all is OK.

Thanks guys.
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada


Return to Porting New Software

Who is online

Users browsing this forum: No registered users and 0 guests