aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netustad
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:53:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:53:52 +0000
commitde3a3bb13b2646c0f73e49630cd3b8f046553770 (patch)
tree8a1a922343cd8227b33057cb5027da284a6f29ad /net-mgmt/netustad
parentb3d46c21d92e10386e83ad748d0f00305dd6c6d7 (diff)
downloadports-de3a3bb13b2646c0f73e49630cd3b8f046553770.tar.gz
ports-de3a3bb13b2646c0f73e49630cd3b8f046553770.zip
Notes
Diffstat (limited to 'net-mgmt/netustad')
-rw-r--r--net-mgmt/netustad/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/net-mgmt/netustad/Makefile b/net-mgmt/netustad/Makefile
index e3f5bc4803bf..fc63b72b3318 100644
--- a/net-mgmt/netustad/Makefile
+++ b/net-mgmt/netustad/Makefile
@@ -15,25 +15,20 @@ USES= gettext
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
-OPTIONS_DEFINE= SSL NLS
+OPTIONS_DEFINE= SSL NLS DOCS
OPTIONS_DEFAULT=SSL
SSL_DESC= Use netUstad with SSL support
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
-.include <bsd.port.options.mk>
+SSL_USE= OPENSSL=yes
+SSL_CONFIGURE_WITH= ssl
-.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
-.else
-CONFIGURE_ARGS+= --without-ssl
-.endif
+NLS_CONFIGURE_WITH= nls
-.if empty(PORT_OPTIONS:MNLS)
-CONFIGURE_ARGS+= --without-nls
-.endif
+.include <bsd.port.options.mk>
-.if defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-patch:
${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in
.endif