install configuration file.
bump PORTREVISION. PR: 55396 Reviewed by: Eric Anderson <eric@trinitel.com>
This commit is contained in:
parent
f1816ad105
commit
f348c49802
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86907
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= bsdsar
|
||||
PORTVERSION= 1.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.googlebit.com/bsdsar/
|
||||
|
||||
@ -19,6 +20,10 @@ do-install:
|
||||
.for file in bsdsar bsdsar_gather
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/bsdsar.conf ${PREFIX}/etc/bsdsar.conf.sample
|
||||
.if !exists(${PREFIX}/etc/bsdsar.conf)
|
||||
${CP} ${PREFIX}/etc/bsdsar.conf.sample ${PREFIX}/etc/bsdsar.conf
|
||||
.endif
|
||||
${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
|
@ -1,5 +1,7 @@
|
||||
bin/bsdsar
|
||||
bin/bsdsar_gather
|
||||
%%PORTDOCS%%share/doc/bsdsar/CHANGELOG
|
||||
%%PORTDOCS%%share/doc/bsdsar/README
|
||||
%%PORTDOCS%%@dirrm share/doc/bsdsar
|
||||
@unexec if cmp -s %D/etc/bsdsar.conf %D/etc/bsdsar.conf.sample; then rm -f %D/etc/bsdsar.conf; fi
|
||||
etc/bsdsar.conf.sample
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user