aboutsummaryrefslogtreecommitdiff
path: root/chinese/xmms
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-09-20 03:48:32 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-09-20 03:48:32 +0000
commitb69d5b5e929225a3b9ccc0e6719ac05968b18b00 (patch)
treefbcef35aaeff2cd76ecc631335b87ad0bf4d77f9 /chinese/xmms
parentc9b4da9692dee44e7d7c390d467516b03cad5b1a (diff)
downloadports-b69d5b5e929225a3b9ccc0e6719ac05968b18b00.tar.gz
ports-b69d5b5e929225a3b9ccc0e6719ac05968b18b00.zip
Change this port to a slave port of audio/xmms.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=32886
Diffstat (limited to 'chinese/xmms')
-rw-r--r--chinese/xmms/Makefile98
1 files changed, 3 insertions, 95 deletions
diff --git a/chinese/xmms/Makefile b/chinese/xmms/Makefile
index abb6eb11c178..048249007df8 100644
--- a/chinese/xmms/Makefile
+++ b/chinese/xmms/Makefile
@@ -5,109 +5,17 @@
# $FreeBSD$
#
-PORTNAME= xmms
-PORTVERSION= 1.2.2
-CATEGORIES= chinese
-MASTER_SITES= ftp://ftp.xmms.org/xmms/1.2.x/ \
- ftp://ftp.uk.xmms.org/xmms/1.2.x/ \
- ftp://ftp.us.xmms.org/xmms/1.2.x/ \
- ftp://ftp.ca.us.xmms.org/xmms/1.2.x/ \
- ftp://ftp.md.us.xmms.org/xmms/1.2.x/ \
- ftp://ftp.nl.xmms.org/xmms/1.2.x/ \
- ftp://ftp.de.xmms.org/xmms/1.2.x/
+MASTERDIR= ${.CURDIR}/../../audio/xmms
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= sobomax
MAINTAINER= clive@CirX.ORG
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- glib12.3:${PORTSDIR}/devel/glib12 \
- xml.5:${PORTSDIR}/textproc/libxml
-
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
-USE_X_PREFIX= yes
-USE_LIBTOOL= yes
-LIBTOOLFILES= configure libxmms/configure
-INSTALLS_SHLIB= yes
-
-.if !defined(WITHOUT_MIKMOD)
-LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
-HAVE_MIKMOD_OVERRIDE=
-PLIST_SUB+= MIKMODPLUGIN:=""
-.else
-HAVE_MIKMOD_OVERRIDE= yes
-PLIST_SUB+= MIKMODPLUGIN:="@comment "
-.endif
-
-.if !defined(WITHOUT_ESD)
-LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
-HAVE_ESD_OVERRIDE=
-PLIST_SUB+= ESDPLUGIN:=""
-.else
-HAVE_ESD_OVERRIDE= yes
-PLIST_SUB+= ESDPLUGIN:="@comment "
-.endif
-
-.if defined(WITH_GNOME)
-LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs \
- panel_applet.4:${PORTSDIR}/x11/gnomecore
-CONFIGURE_ARGS+= --with-gnome
-PLIST_SUB+= GNOME:=""
-.else
-CONFIGURE_ARGS+= --without-gnome
-PLIST_SUB+= GNOME:="@comment "
-.endif
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-
-CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- HAVE_ESD_OVERRIDE="${HAVE_ESD_OVERRIDE}" \
- HAVE_MIKMOD_OVERRIDE="${HAVE_MIKMOD_OVERRIDE}"
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
-PATCHFILES= xmms-1.2.1-3dnow-20000620.patch.gz
-CONFIGURE_ARGS+= --enable-3dnow
-.endif
-
pre-patch:
@( cd ${WRKSRC}; \
- ${PATCH} -sp1 < ${PATCHDIR}/xmms-1.2.x-xfont.diff ; )
-
-pre-extract:
-.if !defined(WITH_GNOME) || !defined(WITHOUT_ESD) || !defined(WITHOUT_MIKMOD) || \
- ( !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021 )
- @${ECHO_MSG}
-.if !defined(WITH_GNOME)
- @${ECHO_MSG} "You can add support for GNOME by defining WITH_GNOME."
-.endif
-.if !defined(WITHOUT_ESD)
- @${ECHO_MSG} "You can disable support for ESD sound daemon by defining WITHOUT_ESD."
-.endif
-.if !defined(WITHOUT_MIKMOD)
- @${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
-.endif
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
- @${ECHO_MSG} "You can disable 3DNOW optimized decoding routines by defining WITHOUT_3DNOW."
-.endif
- @${ECHO_MSG}
-.endif
-
-.if defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021
-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
-.endif
+ ${PATCH} -sp1 < ${.CURDIR}/patches/xmms-1.2.x-xfont.diff ; )
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"