freebsd-ports/sysutils/anvil/Makefile
Dan Langille 42b0ecebe2 Update to 0.0.18
Allow user to specify which services need to be restarted or reloaded.
Provide settings to allow options to be used with fetch, curl, wget. e.g. -4

re: https://github.com/dlangille/anvil/releases/tag/0.0.18
2020-11-10 14:04:39 +00:00

44 lines
1,022 B
Makefile

# $FreeBSD$
PORTNAME= anvil
PORTVERSION= 0.0.18
CATEGORIES= sysutils
MAINTAINER= dvl@FreeBSD.org
COMMENT= Tools for distributing ssl certificates
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= dlangille
USERS= anvil
GROUPS= anvil
SUB_FILES+= cert-shifter.conf.sample cert-puller.conf.sample pkg-install pkg-message
NO_BUILD= yes
OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= FETCH CURL WGET
OPTIONS_DEFAULT= FETCH
FETCH_DESC= Use fetch
CURL_DESC= Use curl, not fetch
WGET_DESC= Use wget, not fetch
CURL_RUN_DEPENDS= curl:ftp/curl
WGET_RUN_DEPENDS= wget:ftp/wget
FETCH_FETCH_TOOL= fetch
CURL_FETCH_TOOL= curl
WGET_FETCH_TOOL= wget
do-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}/var/db/anvil
${INSTALL_DATA} ${WRKDIR}/cert-shifter.conf.sample ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/cert-puller.conf.sample ${STAGEDIR}${ETCDIR}
${INSTALL_SCRIPT} ${WRKSRC}/cert-shifter ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cert-puller ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>