aboutsummaryrefslogtreecommitdiffstats
path: root/www/webfs
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-02 05:35:11 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-02 05:35:11 +0800
commitccfb9b741b7e9308846533014a6d74ddc8d56100 (patch)
treed3d1be8c9755137138a52f8ad9d1efd25b642efe /www/webfs
parentf6b1ba12927c623a10706a191939ec494fb2ef19 (diff)
downloadfreebsd-ports-gnome-ccfb9b741b7e9308846533014a6d74ddc8d56100.tar.gz
freebsd-ports-gnome-ccfb9b741b7e9308846533014a6d74ddc8d56100.tar.zst
freebsd-ports-gnome-ccfb9b741b7e9308846533014a6d74ddc8d56100.zip
- Switch to options helpers
Diffstat (limited to 'www/webfs')
-rw-r--r--www/webfs/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile
index fb34ad1110e1..fe6c7f01da3b 100644
--- a/www/webfs/Makefile
+++ b/www/webfs/Makefile
@@ -25,14 +25,12 @@ MIMEFILE?= ${LOCALBASE}/etc/mime.types
USE_RC_SUBR= webfsd
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/GNUmakefile
@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
-.if empty(PORT_OPTIONS:MOPENSSL)
+
+post-patch-OPENSSL-off:
@${REINPLACE_CMD} -e '/^USE_SSL.*:=/s/:=.*/:= no/' ${WRKSRC}/GNUmakefile
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${STAGEDIR}${PREFIX}/sbin