Date: Sun, 16 Feb 2014 16:11:44 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344592 - head/emulators/fuse-utils Message-ID: <201402161611.s1GGBiBX013648@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Sun Feb 16 16:11:44 2014 New Revision: 344592 URL: http://svnweb.freebsd.org/changeset/ports/344592 QAT: https://qat.redports.org/buildarchive/r344592/ Log: emulators/fuse-utils: Use option helpers to reduce makefile inclusions. Modified: head/emulators/fuse-utils/Makefile Modified: head/emulators/fuse-utils/Makefile ============================================================================== --- head/emulators/fuse-utils/Makefile Sun Feb 16 16:07:48 2014 (r344591) +++ head/emulators/fuse-utils/Makefile Sun Feb 16 16:11:44 2014 (r344592) @@ -25,29 +25,17 @@ OPTIONS_DEFAULT= AUDIOTOOLS AUDIOTOOLS_DESC= Build audio <-> tape utilities -.include <bsd.port.options.mk> +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MAUDIOTOOLS} -CONFIGURE_ARGS+=--with-audiofile -LIB_DEPENDS+= libaudiofile.so:${PORTSDIR}/audio/libaudiofile -PLIST_SUB= AUDIOTOOLS="" -.else -CONFIGURE_ARGS+=--without-audiofile -PLIST_SUB= AUDIOTOOLS="@comment " -.endif +AUDIOTOOLS_CONFIGURE_WITH= audiofile +AUDIOTOOLS_LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile # FIXME no way to specify ffmpeg1 paths to configure script -#.if ${PORT_OPTIONS:MFFMPEG} -#LIB_DEPENDS+= libavformat1.so:${PORTSDIR}/multimedia/ffmpeg1 -#CONFIGURE_ARGS+=--with-ffmpeg -#.else -CONFIGURE_ARGS+=--without-ffmpeg -#.endif +#FFMPEG_LIB_DEPENDS= libavformat1.so:${PORTSDIR}/multimedia/ffmpeg1 +#FFMPEG_CONFIGURE_WITH= ffmpeg post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402161611.s1GGBiBX013648>