aboutsummaryrefslogtreecommitdiffstats
path: root/audio/muse
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-08 22:39:24 +0800
committeradamw <adamw@FreeBSD.org>2014-08-08 22:39:24 +0800
commit99137e6b5de2defbea7af96b7a0d5b80bdff8fcc (patch)
tree41042775f15d6884077bcee22ebee8b5f0515aef /audio/muse
parented0c2f7e0b24cb54070c2229e020184bd4f25d3a (diff)
downloadfreebsd-ports-gnome-99137e6b5de2defbea7af96b7a0d5b80bdff8fcc.tar.gz
freebsd-ports-gnome-99137e6b5de2defbea7af96b7a0d5b80bdff8fcc.tar.zst
freebsd-ports-gnome-99137e6b5de2defbea7af96b7a0d5b80bdff8fcc.zip
Fix MASTER_SITE and use OPTIONS helpers.
Diffstat (limited to 'audio/muse')
-rw-r--r--audio/muse/Makefile24
1 files changed, 7 insertions, 17 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,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>