diff options
author | triaxx <triaxx@pkgsrc.org> | 2018-04-07 10:53:34 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2018-04-07 10:53:34 +0000 |
commit | 4f2dddfb165324741ba90c86a895d583af59188e (patch) | |
tree | bb550af3d7d2e68adef604f542f35d3795a8243a /security/CSP/Makefile | |
parent | 669822abf5fab465426f8ea4b90fd0bd15ea6206 (diff) | |
download | pkgsrc-4f2dddfb165324741ba90c86a895d583af59188e.tar.gz |
Fix broken package due to invalid INSTALLATION_DIRS
Diffstat (limited to 'security/CSP/Makefile')
-rw-r--r-- | security/CSP/Makefile | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/security/CSP/Makefile b/security/CSP/Makefile index 131c3f68c7e..22424c34b0a 100644 --- a/security/CSP/Makefile +++ b/security/CSP/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2018/02/26 12:32:41 triaxx Exp $ +# $NetBSD: Makefile,v 1.26 2018/04/07 10:53:34 triaxx Exp $ DISTNAME= CSP-0.34 CATEGORIES= security @@ -7,27 +7,54 @@ EXTRACT_ONLY= ${DISTFILES:N*.pdf} MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Simple PKI Toolkit +LICENSE= unlicense DEPENDS+= p5-Date-Calc>=5.4:../../devel/p5-Date-Calc DEPENDS+= p5-IPC-Run>=0.79:../../devel/p5-IPC-Run DEPENDS+= p5-Term-Prompt>=1.03:../../devel/p5-Term-Prompt -USE_TOOLS+= pax BUILD_DEFS+= VARBASE -OWN_DIRS= ${VARBASE}/csp +EGDIR= ${PREFIX}/share/examples + +INSTALLATION_DIRS= ${PREFIX}/bin ${EGDIR}/csp/public_html/certs share/doc/csp + +OWN_DIRS+= ${PKG_SYSCONFDIR}/csp/public_html/certs +REQD_FILES+= ${EGDIR}/csp/aliases.txt ${PKG_SYSCONFDIR}/csp/aliases.txt +REQD_FILES+= ${EGDIR}/csp/crl_extensions.conf ${PKG_SYSCONFDIR}/csp/crl_extensions.conf +REQD_FILES+= ${EGDIR}/csp/extensions.conf ${PKG_SYSCONFDIR}/csp/extensions.conf +REQD_FILES+= ${EGDIR}/csp/oids.conf ${PKG_SYSCONFDIR}/csp/oids.conf +REQD_FILES+= ${EGDIR}/csp/types.txt ${PKG_SYSCONFDIR}/csp/types.txt +REQD_FILES+= ${EGDIR}/csp/public_html/index.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/index.html.mpp +REQD_FILES+= ${EGDIR}/csp/public_html/certs/cert.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/certs/cert.html.mpp +REQD_FILES+= ${EGDIR}/csp/public_html/certs/expired.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/certs/expired.html.mpp +REQD_FILES+= ${EGDIR}/csp/public_html/certs/index.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/certs/index.html.mpp +REQD_FILES+= ${EGDIR}/csp/public_html/certs/revoked.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/certs/revoked.html.mpp +REQD_FILES+= ${EGDIR}/csp/public_html/certs/valid.html.mpp ${PKG_SYSCONFDIR}/csp/public_html/certs/valid.html.mpp -INSTALLATION_DIRS= ${VARBASE}/csp share/doc/csp SUBST_CLASSES+= csp SUBST_FILES.csp= csp -SUBST_SED.csp= -e s,@CSPHOME@,${VARBASE}/csp, +SUBST_SED.csp= -e s,@CSPHOME@,${PKG_SYSCONFDIR}/csp, SUBST_SED.csp+= -e s,@OPENSSL@,${BUILDLINK_PREFIX.openssl}/bin/openssl, -SUBST_STAGE.csp= pre-install +SUBST_STAGE.csp= pre-configure -post-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${CSPHOME} - cd ${WRKSRC}/ca && ${FIND} . -type f | pax -rw ${DESTDIR}${VARBASE}/csp +pre-install: ${INSTALL_DATA} ${DISTDIR}/cspguide.pdf ${DESTDIR}${PREFIX}/share/doc/csp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/aliases.txt ${DESTDIR}${EGDIR}/csp/aliases.txt + ${INSTALL_DATA} ${WRKSRC}/ca/etc/crl_extensions.conf ${DESTDIR}${EGDIR}/csp/crl_extensions.conf + ${INSTALL_DATA} ${WRKSRC}/ca/etc/extensions.conf ${DESTDIR}${EGDIR}/csp/extensions.conf + ${INSTALL_DATA} ${WRKSRC}/ca/etc/oids.conf ${DESTDIR}${EGDIR}/csp/oids.conf + ${INSTALL_DATA} ${WRKSRC}/ca/etc/types.txt ${DESTDIR}${EGDIR}/csp/types.txt + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/index.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/index.html.mpp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/certs/cert.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/certs/cert.html.mpp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/certs/expired.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/certs/expired.html.mpp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/certs/index.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/certs/index.html.mpp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/certs/revoked.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/certs/revoked.html.mpp + ${INSTALL_DATA} ${WRKSRC}/ca/etc/public_html/certs/valid.html.mpp ${DESTDIR}${EGDIR}/csp/public_html/certs/valid.html.mpp + +post-install: + ${LN} -sf ${DESTDIR}${PREFIX}/${PERL5_SUB_INSTALLVENDORBIN}/csp ${DESTDIR}${PREFIX}/bin/csp + ${RM} ${DESTDIR}${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/perllocal.pod .include "../../lang/perl5/module.mk" .include "../../security/openssl/buildlink3.mk" |