summaryrefslogtreecommitdiff
path: root/audio/uade
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/uade
parentHand back to the maintainer, this time without a typo in the address. (diff)
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'audio/uade')
-rw-r--r--audio/uade/Makefile29
1 files changed, 8 insertions, 21 deletions
diff --git a/audio/uade/Makefile b/audio/uade/Makefile
index dc8032ef1780..cbb29f565925 100644
--- a/audio/uade/Makefile
+++ b/audio/uade/Makefile
@@ -35,31 +35,18 @@ PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \
play_loop_state_diagram.txt uade.html
OPTIONS_DEFINE= TEXTSCOPE FUSE XMMS DOCS
+OPTIONS_SUB= yes
TEXTSCOPE_DESC= Audio register debug mode
XMMS_DESC= XMMS plugin
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTEXTSCOPE}
-CONFIGURE_ARGS+=--with-text-scope
-.endif
-
-.if ${PORT_OPTIONS:MFUSE}
-USES+= fuse
-PLIST_SUB+= FUSE=""
-.else
-CONFIGURE_ARGS+=--without-uadefs
-PLIST_SUB+= FUSE="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MXMMS}
-LIB_DEPENDS+= libxmms.so:${PORTSDIR}/multimedia/xmms
-PLIST_SUB+= XMMS=""
-.else
-CONFIGURE_ARGS+=--without-xmms
-PLIST_SUB+= XMMS="@comment "
-.endif
+TEXTSCOPE_CONFIGURE_WITH= text-scope
+
+FUSE_USES= fuse
+FUSE_CONFIGURE_WITH= uadefs
+
+XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
+XMMS_CONFIGURE_WITH= xmms
post-extract:
@${RM} -rf ${WRKSRC}/players/S