summaryrefslogtreecommitdiff
path: root/security/py-acme-tiny/Makefile
blob: 26dc8662d425932081f49dbbb0aa0b374eef1e2b (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
31
32
33
34
35
36
37

PORTNAME=	acme-tiny
DISTVERSION=	4.1.0
CATEGORIES=	security python

MAINTAINER=	mat@FreeBSD.org
COMMENT=	Tiny script to issue and renew TLS certs from Let's Encrypt

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		python shebangfix ssl

USE_GITHUB=	yes
GH_ACCOUNT=	diafygi

SHEBANG_FILES=	acme_tiny.py

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/acme_tiny

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

DOCS_SUB_FILES=	pkg-message

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/acme_tiny.py ${STAGEDIR}${PREFIX}/bin/acme_tiny

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>