diff options
author | marcus <marcus@FreeBSD.org> | 2002-08-21 16:47:55 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-08-21 16:47:55 +0000 |
commit | 4a638217e32e7fef9be7e4876663b67d4bf00a8a (patch) | |
tree | 7067f9699eceaf870e498554c11ddeec7b8e8268 /multimedia/xmms/Makefile | |
parent | ad991b489a44e076b4c1d1c721d3a96c702b4a3d (diff) | |
download | FreeBSD-ports-4a638217e32e7fef9be7e4876663b67d4bf00a8a.zip FreeBSD-ports-4a638217e32e7fef9be7e4876663b67d4bf00a8a.tar.gz |
Use USE_GNOMENG.
Approved by: timeout from maintainer
Diffstat (limited to 'multimedia/xmms/Makefile')
-rw-r--r-- | multimedia/xmms/Makefile | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile index 8be002e..024c51a 100644 --- a/multimedia/xmms/Makefile +++ b/multimedia/xmms/Makefile @@ -15,12 +15,11 @@ MASTER_SITES= ftp://ftp.xmms.org/xmms/1.2.x/ \ MAINTAINER?= esk@ira.uka.de -LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml - USE_BZIP2= yes USE_X_PREFIX= yes -USE_GTK= yes -WANT_ESOUND= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 gnomehack libxml +USE_REINPLACE= yes WANT_GNOME= yes USE_GMAKE= yes INSTALLS_SHLIB= yes @@ -54,20 +53,32 @@ PLIST_SUB+= VORBISPLUGIN:="" PLIST_SUB+= VORBISPLUGIN:="@comment " .endif -.if defined(HAVE_GNOME) -USE_GNOME= yes -.else -CONFIGURE_ARGS= --without-gnome -.endif - -.if defined(HAVE_ESOUND) -USE_ESOUND= yes +.if ${HAVE_GNOME:Mesound}!="" +USE_GNOME+= esound OUTPUT_PLUGINS+= esd PLIST_SUB+= ESDPLUGIN:="" +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound +.else +PKGNAMESUFFIX= -esound +.endif .else PLIST_SUB+= ESDPLUGIN:="@comment " .endif +.if ${HAVE_GNOME:Mlibpanel}!="" +USE_GNOME+= libpanel gnomeprefix +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gnome +.else +PKGNAMESUFFIX= -gnome +.endif +PLIST_SUB+= DATADIR="share/gnome" +.else +CONFIGURE_ARGS= --without-gnome +PLIST_SUB+= DATADIR="share" +.endif + .if ${MACHINE_ARCH} != "i386" WITHOUT_3DNOW= yes .endif @@ -80,8 +91,8 @@ CONFIGURE_ARGS+= --enable-3dnow post-extract: (cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.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' \ + ${REINPLACE_CMD} -e 's:\.s :\.S :g' ${WRKSRC}/Input/mpg123/Makefile.in + ${REINPLACE_CMD} -e 's:blur_8.s:blur_8.S:g' \ ${WRKSRC}/Visualization/blur_scope/Makefile.in .endif @@ -100,11 +111,9 @@ pre-extract: @${ECHO_MSG} .endif -pre-patch: - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/aclocal|\$\(prefix\)/share/aclocal|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' +post-patch: + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|\(datadir\)/aclocal|(prefix)/share/aclocal|g' post-install: @${MKDIR} ${PREFIX}/share/xmms/Skins |