diff options
Diffstat (limited to 'net-mgmt/netustad')
-rw-r--r-- | net-mgmt/netustad/Makefile | 17 |
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 |