diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-08-14 00:27:34 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-08-14 00:27:34 +0000 |
commit | f348c4980294aa086df90bd1adec89088311949e (patch) | |
tree | 5dc9ec7ca101efd081a0a6eb331588f1f75f11b8 | |
parent | f1816ad1056ffbe27e2cf7843f1594b52438c41a (diff) | |
download | ports-f348c4980294aa086df90bd1adec89088311949e.tar.gz ports-f348c4980294aa086df90bd1adec89088311949e.zip |
Notes
-rw-r--r-- | sysutils/bsdsar/Makefile | 5 | ||||
-rw-r--r-- | sysutils/bsdsar/pkg-plist | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/bsdsar/Makefile b/sysutils/bsdsar/Makefile index e527853d8068..5d8f5a8b19b6 100644 --- a/sysutils/bsdsar/Makefile +++ b/sysutils/bsdsar/Makefile @@ -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} diff --git a/sysutils/bsdsar/pkg-plist b/sysutils/bsdsar/pkg-plist index 624ccada7ad6..653d314fd354 100644 --- a/sysutils/bsdsar/pkg-plist +++ b/sysutils/bsdsar/pkg-plist @@ -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%% |