pkgsrc/security/py-acme-tiny/Makefile

29 lines
891 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/01/18 21:50:45 jperkin Exp $
DISTNAME= acme-tiny-4.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=diafygi/}
MAINTAINER= khorben@defora.org
HOMEPAGE= https://github.com/diafygi/acme-tiny/
COMMENT= Tiny script to issue and renew TLS certs from Let's Encrypt
LICENSE= mit
GITHUB_PROJECT= acme-tiny
GITHUB_TAG= ${PKGVERSION_NOREV}
NO_BUILD= yes
INSTALLATION_DIRS= bin share/doc/${PYPKGPREFIX}-acme-tiny
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
REPLACE_PYTHON= acme_tiny.py
do-install:
${INSTALL} -m 0755 ${WRKSRC}/acme_tiny.py ${DESTDIR}${PREFIX}/bin/acme_tiny
${INSTALL} -m 0644 ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-acme-tiny/README.md
.include "../../lang/python/application.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"