aboutsummaryrefslogtreecommitdiff
path: root/security/ca_root_nss/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-02-02 21:56:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-02-02 21:56:43 +0000
commite7c1a5f880da5a1c9b3aef2d33d98085f749bd41 (patch)
treecc8fdea4e0b591a2f8a63c38c66335d2649c9e8d /security/ca_root_nss/Makefile
parentef80a88ed65a1fcf114a378ebb5bf633e79ffbb2 (diff)
downloadports-e7c1a5f880da5a1c9b3aef2d33d98085f749bd41.tar.gz
ports-e7c1a5f880da5a1c9b3aef2d33d98085f749bd41.zip
Notes
Diffstat (limited to 'security/ca_root_nss/Makefile')
-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>