1: Stagify.

2: use @sample on pkg-plist.
This commit is contained in:
Vanilla I. Shu 2014-06-09 14:41:40 +00:00
parent 8d5c3a1427
commit 1cc784d7f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357158
2 changed files with 5 additions and 10 deletions

View File

@ -9,14 +9,9 @@ MASTER_SITES= http://www.nazgul.ch/dev/
MAINTAINER= ports@FreeBSD.org
COMMENT= Ssh through https proxy tunnel
MAN8= gotthard.8
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gotthard ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gotthard.8 ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${PREFIX}/etc/gotthard.conf.sample
[ -f ${PREFIX}/etc/gotthard.conf ] || \
${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${PREFIX}/etc
${INSTALL_PROGRAM} ${WRKSRC}/gotthard ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gotthard.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${STAGEDIR}${PREFIX}/etc/gotthard.conf.sample
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
bin/gotthard
@unexec if cmp -s %D/etc/gotthard.conf %D/etc/gotthard.conf.sample; then rm -f %D/etc/gotthard.conf; fi
etc/gotthard.conf.sample
@sample etc/gotthard.conf.sample
man/man8/gotthard.8.gz