Changeset View
Changeset View
Standalone View
Standalone View
security/acme.sh/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= acme.sh | PORTNAME= acme.sh | ||||
PORTVERSION= 2.6.9 | PORTVERSION= 2.6.9 | ||||
PORTREVISION= 2 | |||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
PORTREVISION= 4 | |||||
CATEGORIES= security | CATEGORIES= security | ||||
MAINTAINER= dvl@FreeBSD.org | MAINTAINER= dvl@FreeBSD.org | ||||
COMMENT= ACME protocol client written in shell | COMMENT= ACME protocol client written in shell | ||||
LICENSE= GPLv3+ | LICENSE= GPLv3+ | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
Show All 14 Lines | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
CURL_RUN_DEPENDS= curl:ftp/curl | CURL_RUN_DEPENDS= curl:ftp/curl | ||||
WGET_RUN_DEPENDS= wget:ftp/wget | WGET_RUN_DEPENDS= wget:ftp/wget | ||||
PORTDOCS= README.md | PORTDOCS= README.md | ||||
SUB_FILES= pkg-install | |||||
do-install: | do-install: | ||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} | ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} | ||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/deploy ${STAGEDIR}${EXAMPLESDIR}/dnsapi | ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/deploy ${STAGEDIR}${EXAMPLESDIR}/dnsapi | ||||
( cd ${WRKSRC} && ${COPYTREE_BIN} deploy ${STAGEDIR}${EXAMPLESDIR} ) | ( cd ${WRKSRC} && ${COPYTREE_BIN} deploy ${STAGEDIR}${EXAMPLESDIR} ) | ||||
( cd ${WRKSRC} && ${COPYTREE_BIN} dnsapi ${STAGEDIR}${EXAMPLESDIR} ) | ( cd ${WRKSRC} && ${COPYTREE_BIN} dnsapi ${STAGEDIR}${EXAMPLESDIR} ) | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d | |||||
${INSTALL_DATA} ${FILESDIR}/acme.sh.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d | |||||
mat: You cannot put sample files in there. You have to move them somewhere else, like EXAMPLESDIR. | |||||
do-install-DOCS-on: | do-install-DOCS-on: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} | ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
You cannot put sample files in there. You have to move them somewhere else, like EXAMPLESDIR.
newsyslog.conf has:
So all the files in there are always used. If you put a .sample file, it will be used.
Also, the file should probably be named acme.sh, and not the very long name you have now.