Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 14:39:24 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364364 - head/audio/muse
Message-ID:  <53e4e11c.2c64.617ee8af@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e4e11c.2c64.617ee8af>