aboutsummaryrefslogtreecommitdiff
path: root/audio/xmp
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-05-02 08:05:06 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-05-02 08:05:06 +0000
commitf9d78354ffd80dc64d30edae99f616d0e9d00cbf (patch)
tree96cc984f2ce812307b4282e536dbadad236ec487 /audio/xmp
parent40e46c09ce23006f96737e396755f62e4e6fb561 (diff)
downloadports-f9d78354ffd80dc64d30edae99f616d0e9d00cbf.tar.gz
ports-f9d78354ffd80dc64d30edae99f616d0e9d00cbf.zip
Notes
Diffstat (limited to 'audio/xmp')
-rw-r--r--audio/xmp/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 962c543a26cd..a7117d56470d 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -17,37 +17,25 @@ COMMENT= A player for many different Amiga and PC module formats
USE_BZIP2= yes
USE_X_PREFIX= yes
-WANT_GNOME= yes
+USE_GNOME= esound
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-alsa
+CONFIGURE_ARGS= --disable-alsa --disable-oss --enable-esd
-CFLAGS+= -fPIC
-
-.include <bsd.port.pre.mk>
+MAN1= xmp.1
+MLINKS= xmp.1 xxmp.1
-.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha"
-USE_GNOME+= esound
-CONFIGURE_ARGS+= --disable-oss --enable-esd
-PKGNAMESUFFIX= -esound
-.elif ${HAVE_GNOME:Mesound}!=""
-USE_GNOME+= esound
-CONFIGURE_ARGS+= --enable-esd
-PKGNAMESUFFIX= -esound
-.endif
+CFLAGS+= -fPIC
.if !defined(WITHOUT_XMMS)
- LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
.else
- CONFIGURE_ARGS+= --disable-xmms
+CONFIGURE_ARGS+=--disable-xmms
.endif
-MAN1= xmp.1
-MLINKS= xmp.1 xxmp.1
-
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>