2000-03-29 03:12:52 +00:00
|
|
|
# New ports collection makefile for: gnapster
|
1999-12-25 02:32:37 +00:00
|
|
|
# Date created: 24 December 1999
|
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= gnapster
|
2001-06-17 01:52:28 +00:00
|
|
|
PORTVERSION= 1.5.0
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 3
|
1999-12-25 02:32:37 +00:00
|
|
|
CATEGORIES= audio
|
2003-03-11 20:57:54 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gnapster
|
1999-12-25 02:32:37 +00:00
|
|
|
|
2003-01-30 17:38:24 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= GNOME client for the online mp3 community called napster
|
1999-12-25 02:32:37 +00:00
|
|
|
|
2000-02-13 19:39:37 +00:00
|
|
|
USE_GMAKE= yes
|
2006-01-25 23:01:34 +00:00
|
|
|
USE_GETTEXT= yes
|
2000-02-13 19:39:37 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-09 04:57:29 +00:00
|
|
|
USE_GNOME= imlib
|
2000-11-24 00:01:43 +00:00
|
|
|
WANT_GNOME= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-02-13 19:39:37 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-11-24 00:01:43 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
2000-11-24 15:13:30 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-09 04:57:29 +00:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
|
|
|
USE_GNOME+= gnomehack gnomelibs
|
2001-01-25 01:12:56 +00:00
|
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
|
2002-09-09 04:57:29 +00:00
|
|
|
PKGNAMESUFFIX= -gnome
|
2000-11-24 15:13:30 +00:00
|
|
|
.else
|
2000-11-24 00:01:43 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-gnome --disable-gdk-pixbuf
|
|
|
|
.endif
|
2000-01-01 20:42:40 +00:00
|
|
|
|
2002-09-09 04:57:29 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 04:57:32 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
2000-11-24 15:13:30 +00:00
|
|
|
.include <bsd.port.post.mk>
|