- Add LICENSE_FILE
- Switch to @sample
This commit is contained in:
parent
4f5cb7f5ab
commit
fc362b7d11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380240
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= rotorouter
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= # nada
|
||||
DISTFILES= # nil
|
||||
@ -26,9 +26,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/rotorouter.conf-example \
|
||||
${STAGEDIR}${PREFIX}/etc
|
||||
${INSTALL_DATA} ${FILESDIR}/rotorouter.conf-example \
|
||||
${STAGEDIR}${PREFIX}/etc/rotorouter.conf
|
||||
${STAGEDIR}${PREFIX}/etc/rotorouter.conf.sample
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/rotorouter ${STAGEDIR}${PREFIX}/sbin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,2 @@
|
||||
sbin/rotorouter
|
||||
@unexec if cmp -s %D/etc/rotorouter.conf %D/etc/rotorouter.conf-example ; then rm -f %D/etc/rotorouter.conf; fi
|
||||
etc/rotorouter.conf-example
|
||||
@exec if [ ! -f %D/etc/rotorouter.conf ]; then cp -p %D/%F %B/rotorouter.conf; fi
|
||||
@sample etc/rotorouter.conf.sample
|
||||
|
Loading…
Reference in New Issue
Block a user