aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-02-03 05:56:43 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-02-03 05:56:43 +0800
commitc720f7c0a8573c250cc2000f86695315120c418f (patch)
treecc8fdea4e0b591a2f8a63c38c66335d2649c9e8d /security
parent8c4d46e4adc9f3d2d30fc92e443af508ab9e0e91 (diff)
downloadfreebsd-ports-gnome-c720f7c0a8573c250cc2000f86695315120c418f.tar.gz
freebsd-ports-gnome-c720f7c0a8573c250cc2000f86695315120c418f.tar.zst
freebsd-ports-gnome-c720f7c0a8573c250cc2000f86695315120c418f.zip
Convert to options target helper
Approved by: portmgr (blanket)
Diffstat (limited to 'security')
-rw-r--r--security/ca_root_nss/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile
index 696adb1f4f85..7c24249ef8cb 100644
--- a/security/ca_root_nss/Makefile
+++ b/security/ca_root_nss/Makefile
@@ -40,8 +40,6 @@ BUNDLE_PROCESSOR= MAca-bundle.pl
SUB_FILES= MAca-bundle.pl pkg-message
SUB_LIST= VERSION_NSS=${VERSION_NSS}
-.include <bsd.port.options.mk>
-
do-extract:
@${MKDIR} ${WRKDIR}
@${TAR} -C ${WRKDIR} -xf ${DISTDIR}/nss-${VERSION_NSS}${NSS_SUFFIX}${EXTRACT_SUFX} \
@@ -58,13 +56,13 @@ do-build: apply-slist
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
-.if ${PORT_OPTIONS:METCSYMLINK}
- ${MKDIR} ${STAGEDIR}/etc/ssl
- ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
-.endif
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl
${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/etc/ssl/cert.pem.sample
${MKDIR} ${STAGEDIR}${PREFIX}/openssl
${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/openssl/cert.pem.sample
+do-install-ETCSYMLINK-on:
+ ${MKDIR} ${STAGEDIR}/etc/ssl
+ ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
+
.include <bsd.port.mk>