1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Keep seperate ${PREFIX}/etc/trafshow and ${PREFIX}/etc/trafshow.dist files.

No response from the MAINTAINER in a month.

PR:		21288
Submitted by:	James E. Housley <jim@thehousleys.net> (me)
This commit is contained in:
James E. Housley 2000-10-29 22:27:34 +00:00
parent bc41cbc985
commit f59493eb93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34421
6 changed files with 15 additions and 6 deletions

View File

@ -31,6 +31,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow.dist
${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow
.include <bsd.port.post.mk>

View File

@ -1,2 +1,4 @@
bin/trafshow
etc/trafshow
@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.dist ]; then cp -p %D/%F %B/trafshow.dist; fi

View File

@ -31,6 +31,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow.dist
${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow
.include <bsd.port.post.mk>

View File

@ -1,2 +1,4 @@
bin/trafshow
etc/trafshow
@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.dist ]; then cp -p %D/%F %B/trafshow.dist; fi

View File

@ -31,6 +31,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow.dist
${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow
.include <bsd.port.post.mk>

View File

@ -1,2 +1,4 @@
bin/trafshow
etc/trafshow
@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.dist ]; then cp -p %D/%F %B/trafshow.dist; fi