aboutsummaryrefslogtreecommitdiff
path: root/audio/swhplugins/Makefile
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/swhplugins/Makefile
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Notes
Diffstat (limited to 'audio/swhplugins/Makefile')
-rw-r--r--audio/swhplugins/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/audio/swhplugins/Makefile b/audio/swhplugins/Makefile
index ffb1035a7717..7ca8cc11f4d4 100644
--- a/audio/swhplugins/Makefile
+++ b/audio/swhplugins/Makefile
@@ -27,26 +27,17 @@ USE_LDCONFIG= yes
CFLAGS+= -fPIC -DPIC
OPTIONS_DEFINE= NLS 3DNOW SSE
+OPTIONS_SUB= yes
3DNOW_DESC= use 3DNow! instructions
SSE_DESC= use SSE instructions
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-LDFLAGS+= -lintl
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:M3DNOW}
-CONFIGURE_ARGS+= --enable-3dnow
-.endif
-
-.if ${PORT_OPTIONS:MSSE}
-CONFIGURE_ARGS+= --enable-sse
-.endif
+NLS_USES= gettext
+NLS_LDFLAGS= -lintl
+NLS_CONFIGURE_ENABLE= nls
+
+3DNOW_CONFIGURE_ENABLE= 3dnow
+
+SSE_CONFIGURE_ENABLE= sse
post-patch:
@${REINPLACE_CMD} -e \