mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Switch to @sample
Approved by: portmgr blanket
This commit is contained in:
parent
0d04547591
commit
c13c1f7401
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397075
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= trafshow
|
||||
PORTVERSION= 3.1
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= LOCAL/sem
|
||||
@ -31,9 +31,6 @@ post-patch:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.dist
|
||||
if [ ! -f ${STAGEDIR}${PREFIX}/etc/trafshow ]; then \
|
||||
${CP} ${STAGEDIR}${PREFIX}/etc/trafshow.dist ${STAGEDIR}${PREFIX}/etc/trafshow; \
|
||||
fi
|
||||
${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,3 @@
|
||||
bin/trafshow
|
||||
man/man1/trafshow.1.gz
|
||||
@unexec if cmp -s %D/etc/trafshow %D/etc/trafshow.dist; then rm -f %D/etc/trafshow; fi
|
||||
etc/trafshow.dist
|
||||
@exec if [ ! -f %D/etc/trafshow ]; then cp -p %D/%F %B/trafshow; fi
|
||||
@sample etc/trafshow.sample
|
||||
|
Loading…
Reference in New Issue
Block a user