aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-fishmatic/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-29 09:14:43 +0800
committerlioux <lioux@FreeBSD.org>2002-08-29 09:14:43 +0800
commitec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2 (patch)
treef64cc2cd21c3f901fb6db76b039ffa8abf509b2d /graphics/xmms-fishmatic/Makefile
parent548b9cf56e30cda9bda85ac965bbed81d96e419f (diff)
downloadfreebsd-ports-gnome-ec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2.tar.gz
freebsd-ports-gnome-ec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2.tar.zst
freebsd-ports-gnome-ec43bdb5cb5dd380aaac75cb8a6ef5e7f98d0eb2.zip
o Style changes in Makefile
o Improve the patch o USE_GNOMENG o No PORTREVISION bump since there were no functional changes Submitted by: maintainer
Diffstat (limited to 'graphics/xmms-fishmatic/Makefile')
-rw-r--r--graphics/xmms-fishmatic/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/xmms-fishmatic/Makefile b/graphics/xmms-fishmatic/Makefile
index 5967d07ac317..23eb8c9b4ed1 100644
--- a/graphics/xmms-fishmatic/Makefile
+++ b/graphics/xmms-fishmatic/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
#
-PORTNAME= fishmatic
+PORTNAME= xmms-fishmatic
PORTVERSION= 0.0.1
CATEGORIES= graphics
MASTER_SITES= http://stukach.com/hosted/
-PKGNAMEPREFIX= xmms-
DISTNAME= fishmatic
MAINTAINER= dyeske@yahoo.com
@@ -17,18 +16,22 @@ MAINTAINER= dyeske@yahoo.com
BUILD_DEPENDS= xmms-config:${PORTSDIR}/audio/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/audio/xmms
-INSTALLS_SHLIB= yes
-USE_LIBTOOL= yes
+USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
USE_GMAKE= yes
-USE_GTK= yes
USE_MESA= yes
-USE_X_PREFIX= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LIBS="-lGL -lXext ${LIBS}"
CFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib
post-patch:
@${RM} -f ${WRKSRC}/config.cache
- @${PERL} -pi -e 's@glib-config@${GLIB_CONFIG}@g;' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>