mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +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:
parent
bc41cbc985
commit
f59493eb93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34421
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user