svn commit: r364364 - head/audio/muse
Adam Weinberger
adamw at FreeBSD.org
Fri Aug 8 14:39:25 UTC 2014
Author: adamw
Date: Fri Aug 8 14:39:24 2014
New Revision: 364364
URL: http://svnweb.freebsd.org/changeset/ports/364364
QAT: https://qat.redports.org/buildarchive/r364364/
Log:
Fix MASTER_SITE and use OPTIONS helpers.
Modified:
head/audio/muse/Makefile
Modified: head/audio/muse/Makefile
==============================================================================
--- head/audio/muse/Makefile Fri Aug 8 14:09:13 2014 (r364363)
+++ head/audio/muse/Makefile Fri Aug 8 14:39:24 2014 (r364364)
@@ -5,7 +5,7 @@ PORTNAME= MuSE
PORTVERSION= 0.9.2
PORTREVISION= 14
CATEGORIES= audio
-MASTER_SITES= http://files.dyne.org/muse/releases/
+MASTER_SITES= http://files.dyne.org/.xsend.php?file=muse/releases/
MAINTAINER= ports at FreeBSD.org
COMMENT= Multiple Streaming Engine
@@ -31,23 +31,15 @@ PLIST_FILES= bin/muse man/man1/muse.1.gz
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo
.endfor
-.include <bsd.port.options.mk>
+X11_USE= GNOME=gtk20
+X11_CONFIGURE_OFF= --without-x --with-rubik
-.if ${PORT_OPTIONS:MX11}
-USE_GNOME+= gtk20
-.else
-CONFIGURE_ARGS+=--without-x --with-rubik
-.endif
+LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame
+LAME_CONFIGURE_ENV= ac_cv_header_lame_lame_h=no
-.if ${PORT_OPTIONS:MLAME}
-LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame
-.else
-CONFIGURE_ENV+= ac_cv_header_lame_lame_h=no
-.endif
+SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
-.if ${PORT_OPTIONS:MSNDFILE}
-LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
@@ -58,9 +50,7 @@ post-patch:
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list