From c395165f3bf62963bfe4e7020d17e625f36fccfa Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 8 Aug 2014 14:39:24 +0000 Subject: [PATCH] Fix MASTER_SITE and use OPTIONS helpers. --- audio/muse/Makefile | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/audio/muse/Makefile b/audio/muse/Makefile index 0cd90a301610..63dba010c569 100644 --- a/audio/muse/Makefile +++ b/audio/muse/Makefile @@ -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@FreeBSD.org COMMENT= Multiple Streaming Engine @@ -31,24 +31,16 @@ PLIST_FILES= bin/muse man/man1/muse.1.gz PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo .endfor +X11_USE= GNOME=gtk20 +X11_CONFIGURE_OFF= --without-x --with-rubik + +LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame +LAME_CONFIGURE_ENV= ac_cv_header_lame_lame_h=no + +SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile + .include -.if ${PORT_OPTIONS:MX11} -USE_GNOME+= gtk20 -.else -CONFIGURE_ARGS+=--without-x --with-rubik -.endif - -.if ${PORT_OPTIONS:MLAME} -LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame -.else -CONFIGURE_ENV+= ac_cv_header_lame_lame_h=no -.endif - -.if ${PORT_OPTIONS:MSNDFILE} -LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile -.endif - post-patch: @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \ ${WRKSRC}/src/portaudio/pa_unix_oss.c @@ -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