diff options
Diffstat (limited to 'security/acmesh/Makefile')
-rw-r--r-- | security/acmesh/Makefile | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/security/acmesh/Makefile b/security/acmesh/Makefile index cb63896b66a..ced1d18590f 100644 --- a/security/acmesh/Makefile +++ b/security/acmesh/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2021/06/12 07:04:46 nia Exp $ +# $NetBSD: Makefile,v 1.11 2021/07/22 19:05:14 tm Exp $ DISTNAME= acme.sh-2.9.0 +PKGREVISION= 1 PKGNAME= ${DISTNAME:S/acme.sh/acmesh/} CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GITHUB:=acmesh-official/} @@ -22,13 +23,33 @@ NO_BUILD= yes REPLACE_SH+= acme.sh -INSTALLATION_DIRS= sbin +DOCDIR= share/doc/acmesh +INSTALLATION_DIRS= sbin \ + ${DOCDIR} \ + share/acmesh/deploy \ + share/acmesh/dnsapi \ + share/acmesh/notify do-configure: - # empty for REPLACE_SH + ${MV} ${WRKSRC}/deploy/README.md \ + ${WRKSRC}/README-deploy.md + ${MV} ${WRKSRC}/dnsapi/README.md \ + ${WRKSRC}/README-dnsapi.md do-install: ${INSTALL_SCRIPT} ${WRKSRC}/acme.sh \ + ${DESTDIR}${PREFIX}/share/acmesh/acme.sh + ${LN} -s ${DESTDIR}${PREFIX}/share/acmesh/acme.sh \ ${DESTDIR}${PREFIX}/sbin/acme.sh + ${INSTALL_DATA} ${WRKSRC}/deploy/* \ + ${DESTDIR}${PREFIX}/share/acmesh/deploy + ${INSTALL_DATA} ${WRKSRC}/dnsapi/* \ + ${DESTDIR}${PREFIX}/share/acmesh/dnsapi + ${INSTALL_DATA} ${WRKSRC}/notify/* \ + ${DESTDIR}${PREFIX}/share/acmesh/notify + + ${INSTALL_DATA} ${WRKSRC}/README*.md \ + ${DESTDIR}${PREFIX}/${DOCDIR} + .include "../../mk/bsd.pkg.mk" |