blob: 37803a59c44b255c407d2f31f6d5581c59dda068 (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
|
# $FreeBSD$
PORTNAME= acme.sh
PORTVERSION= 2.6.9
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= dvl@FreeBSD.org
COMMENT= ACME protocol client written in shell
LICENSE= GPLv3+
USE_GITHUB= yes
GH_ACCOUNT= Neilpang
USERS= acme
GROUPS= acme
OPTIONS_DEFINE= DOCS BINDTOOLS
OPTIONS_SINGLE= HTTP
OPTIONS_SINGLE_HTTP= CURL WGET
OPTIONS_DEFAULT= CURL
BINDTOOLS_DESC= Depend on bind-tools for nsupdate
BINDTOOLS_RUN_DEPENDS= ${LOCALBASE}/bin/nsupdate:dns/bind-tools
CURL_DESC= Depend on cURL for HTTP(S) queries
WGET_DESC= Depend on Wget for HTTP(S) queries
NO_ARCH= yes
NO_BUILD= yes
CURL_RUN_DEPENDS= curl:ftp/curl
WGET_RUN_DEPENDS= wget:ftp/wget
PORTDOCS= README.md
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/deploy ${STAGEDIR}${EXAMPLESDIR}/dnsapi
( cd ${WRKSRC} && ${COPYTREE_BIN} deploy ${STAGEDIR}${EXAMPLESDIR} )
( cd ${WRKSRC} && ${COPYTREE_BIN} dnsapi ${STAGEDIR}${EXAMPLESDIR} )
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|