bb87 [Solved] Trying to port Lxmusic - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

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

Reply
 
Thread Tools Display Modes
  #1  
Old September 13th, 2012, 11:13
ericturgeon's Avatar
ericturgeon ericturgeon is offline
Member
 
Join Date: Dec 2008
Location: Dieppe NB Canada
Posts: 335
Thanks: 65
Thanked 42 Times in 23 Posts
Default Trying to port Lxmusic

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:
# 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>
__________________
Where there is a shell, there is the way.
Unix Live Free.

Last edited by ericturgeon; September 13th, 2012 at 23:26.
Reply With Quote
  #2  
Old September 13th, 2012, 11:27
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,847
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

The MASTER_SITES 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.
Reply With Quote
  #3  
Old September 13th, 2012, 12:47
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,210
Thanks: 59
Thanked 637 Times in 352 Posts
Default

@ericturgeon

For sysutils/beadm we use it like that in the Makefile:
Code:
PORTNAME=       beadm
PORTVERSION=    0.8
CATEGORIES=     sysutils
MASTER_SITES=   SF/beadm/dist/
And keep the beadm-0.8.tar.gz 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
http://vermaden.blogspot.com
Reply With Quote
The Following User Says Thank You to vermaden For This Useful Post:
ericturgeon (September 13th, 2012)
  #4  
Old September 13th, 2012, 23:07
ericturgeon's Avatar
ericturgeon ericturgeon is offline
Member
 
Join Date: Dec 2008
Location: Dieppe NB Canada
Posts: 335
Thanks: 65
Thanked 42 Times in 23 Posts
Default

I have remove files in SF/ghostbsdproject/files/package/LXMusic/LXMusic-0.4.5/.
Code:
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.
__________________
Where there is a shell, there is the way.
Unix Live Free.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to deinstall port. port-blabla has a different PREFIX: /s/usr-local, skipping mamalos Installation and Maintenance of FreeBSD Ports or Packages 5 March 19th, 2013 07:59
qjail port now available on port system fbsd1 Porting New Software 4 January 10th, 2012 11:02
[Solved] FreeBSD 8 - Port Multiplier problem: 'error reading PM port' on Asus P5Q Pro Turbo GraveR System Hardware 3 December 6th, 2011 10:59
port pulling other port, how to see and disable? twilight Installation and Maintenance of FreeBSD Ports or Packages 5 December 15th, 2009 20:32


All times are GMT +1. The time now is 13:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0