summaryrefslogtreecommitdiffstats
path: root/audio/gqmpeg/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 12:22:09 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 12:22:09 +0800
commit820899909bf4b5cf81be738377f64d98d91801bf (patch)
tree0d836618346d6caa8486bb80109e6a9980f95ac5 /audio/gqmpeg/Makefile
parentec90e64f7da363449782d89affe8f404ca80af6d (diff)
downloadmarcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar.gz
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar.bz2
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar.lz
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar.xz
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.tar.zst
marcuscom-ports-820899909bf4b5cf81be738377f64d98d91801bf.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8787 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/gqmpeg/Makefile')
-rw-r--r--audio/gqmpeg/Makefile65
1 files changed, 65 insertions, 0 deletions
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
new file mode 100644
index 000000000..2488dbc18
--- /dev/null
+++ b/audio/gqmpeg/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: gqmpeg
+# Date Created: 28 Oct 1998
+# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gqmpeg
+PORTVERSION= 0.20.0
+PORTREVISION= 2
+PORTEPOCH= 1
+CATEGORIES+= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER?= lyngbol@wheel.dk
+COMMENT?= Another gtk-based MP3 frontend
+
+RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools \
+ xmp:${PORTSDIR}/audio/xmp
+
+.if defined(WITH_MPG321)
+RUN_DEPENDS+= mpg321:${PORTSDIR}/audio/mpg321
+.else
+RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
+.endif
+
+USE_X_PREFIX= yes
+USE_GNOME= gdkpixbuf
+WANT_GNOME= yes
+USE_AUTOTOOLS= autoconf:213 libtool:15
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+
+MAN1= gqmpeg.1
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+USE_GNOME+= gnomeprefix gnomelibs
+PKGNAMESUFFIX= -gnome
+CONFIGURE_ENV+= USE_GNOME="yes"
+PLIST_SUB+= DATADIR="share/gnome"
+.else
+CONFIGURE_ENV+= USE_GNOME=""
+PLIST_SUB+= DATADIR="share"
+.endif
+
+.if !defined(WITH_MPG321)
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want to use mpg321 instead of mpg123,"
+ @${ECHO_MSG} "hit Ctrl-C right now and execute \"make WITH_MPG321=yes\""
+ @${ECHO_MSG}
+.endif
+
+.if defined(WITH_MPG321)
+post-patch:
+ @${REINPLACE_CMD} -E -e \
+ 's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \
+ ${WRKSRC}/src/io_mpg123.c
+.endif
+
+.include <bsd.port.post.mk>