diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-16 15:45:29 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-16 15:45:29 +0800 |
commit | a717d932e0b689ac2d4b8d00f939cc460890287d (patch) | |
tree | 42d0d8c245d8f71a8192c745b7a42c6768f695ef /audio/xmms/Makefile | |
parent | 5600809f38f9851c85dfdf67859ed6df78800ba9 (diff) | |
download | freebsd-ports-gnome-a717d932e0b689ac2d4b8d00f939cc460890287d.tar.gz freebsd-ports-gnome-a717d932e0b689ac2d4b8d00f939cc460890287d.tar.zst freebsd-ports-gnome-a717d932e0b689ac2d4b8d00f939cc460890287d.zip |
Upgrade of XMMS from 1.0.1 to 1.2.0. The port may also be compiled with
WITH_GNOME (thanks to Ade Lovett), the PLIST is now sorted alphabetically.
PR: 19293
Submitted by: Espen Skoglund <esk@ira.uka.de>
Diffstat (limited to 'audio/xmms/Makefile')
-rw-r--r-- | audio/xmms/Makefile | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile index 60a6646fc87f..7e79560ddafb 100644 --- a/audio/xmms/Makefile +++ b/audio/xmms/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xmms -PORTVERSION= 1.0.1 +PORTVERSION= 1.2.0 CATEGORIES= audio MASTER_SITES= ftp://ftp.xmms.org/xmms/1.0/ \ ftp://ftp.uk.xmms.org/xmms/1.0/ \ @@ -20,24 +20,38 @@ MAINTAINER= esk@ira.uka.de LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ glib12.3:${PORTSDIR}/devel/glib12 \ - xml.5:${PORTSDIR}/textproc/libxml + xml.5:${PORTSDIR}/textproc/libxml \ + mikmod.2:${PORTSDIR}/audio/libmikmod \ + esd.2:${PORTSDIR}/audio/esound +USE_X_PREFIX= yes USE_LIBTOOL= yes -INSTALL_SHLIBS= yes +INSTALLS_SHLIBS= yes + +.if defined(WITH_GNOME) +CONFIGURE_ARGS= --with-gnome +.else CONFIGURE_ARGS= --without-gnome +.endif GTK_CONFIG?= ${X11BASE}/bin/gtk12-config GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" - -post-extract: - @(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \ - ${MV} getbits.s getbits.S && cd ${WRKSRC}/Visualization/blur_scope && \ - ${MV} blur_8.s blur_8.S); - @${PERL} -pi.bak -e 's:\.s :\.S :g' ${WRKSRC}/Input/mpg123/Makefile.in - @${PERL} -pi.bak -e 's:blur_8.s:blur_8.S:g' \ - ${WRKSRC}/Visualization/blur_scope/Makefile.in + GLIB_CONFIG="${GLIB_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.if !defined(WITH_GNOME) +pre-extract: + @${ECHO} "You can add support for GNOME by defining WITH_GNOME" +.endif + +.if defined(WITH_GNOME) +post-install: + @${ECHO} bin/gnomexmms >> ${TMPPLIST} + @${ECHO} etc/CORBA/servers/gnomexmms.gnorba >> ${TMPPLIST} + @${ECHO} share/gnome/applets/Multimedia/gnomexmms.desktop >> ${TMPPLIST} +.endif .include <bsd.port.mk> |