Changeset View
Changeset View
Standalone View
Standalone View
sysutils/anvil/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= anvil | PORTNAME= anvil | ||||
PORTVERSION= 0.0.11 | PORTVERSION= 0.0.11 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MAINTAINER= dvl@FreeBSD.org | MAINTAINER= dvl@FreeBSD.org | ||||
COMMENT= Tools for distributing ssl certificates | COMMENT= Tools for distributing ssl certificates | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= dlangille | GH_ACCOUNT= dlangille | ||||
USERS= anvil | USERS= anvil | ||||
GROUPS= anvil | GROUPS= anvil | ||||
SUB_FILES+= cert-shifter.conf.sample cert-puller.conf.sample pkg-install pkg-message | SUB_FILES+= cert-shifter.conf.sample cert-puller.conf.sample pkg-install pkg-message | ||||
SUB_LIST= FETCH_TOOL=${FETCH_TOOL} | |||||
dvl: FETCH_TOOL is used in files/cert-puller.conf.sample.in | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
OPTIONS_SINGLE= SG1 | OPTIONS_SINGLE= FETCH_TOOL | ||||
OPTIONS_SINGLE_SG1= FETCH CURL WGET | OPTIONS_SINGLE_FETCH_TOOL= FETCH CURL WGET | ||||
dvlAuthorUnsubmitted Not Done Inline ActionsThe goal: let the use choose their fetching tool of choice. fetch is default. Only one of the choices is permitted. dvl: The goal: let the use choose their fetching tool of choice. fetch is default.
Only one of the… | |||||
OPTIONS_DEFAULT= FETCH | |||||
FETCH_DESC= Use fetch | FETCH_DESC= Use fetch | ||||
CURL_DESC= Use curl, not fetch | CURL_DESC= Use curl, not fetch | ||||
WGET_DESC= Use wget, not fetch | WGET_DESC= Use wget, not fetch | ||||
OPTIONS_DEFAULT= FETCH | |||||
CURL_RUN_DEPENDS= curl:ftp/curl | CURL_RUN_DEPENDS= curl:ftp/curl | ||||
WGET_RUN_DEPENDS= wget:ftp/wget | WGET_RUN_DEPENDS= wget:ftp/wget | ||||
dvlAuthorUnsubmitted Not Done Inline ActionsDepending on choices, set the correct RUN_DEPENDS. dvl: Depending on choices, set the correct RUN_DEPENDS. | |||||
FETCH_FETCH_TOOL= fetch | FETCH_VARS= FETCH_TOOL=fetch | ||||
CURL_FETCH_TOOL= curl | CURL_VARS= FETCH_TOOL=curl | ||||
WGET_FETCH_TOOL= wget | WGET_VARS= FETCH_TOOL=wget | ||||
dvlAuthorUnsubmitted Not Done Inline ActionsThe above three lines define FETCH_TOOL for use in the sample configuration file dvl: The above three lines define FETCH_TOOL for use in the sample configuration file | |||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${ETCDIR} | ${MKDIR} ${STAGEDIR}${ETCDIR} | ||||
${MKDIR} ${STAGEDIR}/var/db/anvil | ${MKDIR} ${STAGEDIR}/var/db/anvil | ||||
${INSTALL_DATA} ${WRKDIR}/cert-shifter.conf.sample ${STAGEDIR}${ETCDIR} | ${INSTALL_DATA} ${WRKDIR}/cert-shifter.conf.sample ${STAGEDIR}${ETCDIR} | ||||
${INSTALL_DATA} ${WRKDIR}/cert-puller.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-shifter ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_SCRIPT} ${WRKSRC}/cert-puller ${STAGEDIR}${PREFIX}/bin | ${INSTALL_SCRIPT} ${WRKSRC}/cert-puller ${STAGEDIR}${PREFIX}/bin | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
FETCH_TOOL is used in files/cert-puller.conf.sample.in