1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: use @sample
This commit is contained in:
Vanilla I. Shu 2014-06-11 15:33:53 +00:00
parent 5ec13ba350
commit 8a87ecc99f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357495
2 changed files with 4 additions and 12 deletions

View File

@ -16,13 +16,4 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
MAN5= ${PORTNAME}.conf.5
MAN7= ${PORTNAME}.quick.7
MAN8= ${PORTNAME}.8
NO_STAGE= yes
post-install:
@[ -f ${PREFIX}/etc/ffproxy.conf ] || \
${CP} ${PREFIX}/etc/ffproxy.conf.sample ${PREFIX}/etc/ffproxy.conf
.include <bsd.port.mk>

View File

@ -1,7 +1,8 @@
bin/ffproxy
@unexec if cmp -s %D/etc/ffproxy.conf.sample %D/etc/ffproxy.conf; then rm -f %D/etc/ffproxy.conf; fi
etc/ffproxy.conf.sample
@exec [ -f %B/ffproxy.conf ] || cp %B/%f %B/ffproxy.conf
@sample etc/ffproxy.conf.sample
man/man5/ffproxy.conf.5.gz
man/man7/ffproxy.quick.7.gz
man/man8/ffproxy.8.gz
%%DATADIR%%/db/access.dyndns
%%DATADIR%%/db/access.host
%%DATADIR%%/db/access.ip