summaryrefslogtreecommitdiff
path: root/security/py-certbot-dns-cpanel/Makefile
blob: acdbeeb123b03532c53fc80da55e3bc92e84f8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	certbot-dns-cpanel
DISTVERSION=	0.2.2
CATEGORIES=	security python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	h.freshports@skarnell.se
COMMENT=	CPanel DNS Authenticator plugin for Certbot

LICENSE=	APACHE20

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} \
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

SUB_FILES=	pkg-message

PLIST_FILES=	"${PREFIX}/etc/certbot-dns-cpanel/credentials.ini.sample"

NO_ARCH=	yes

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel
	${INSTALL_DATA} ${FILESDIR}/credentials.ini.sample \
		${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel

.include <bsd.port.mk>