aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdsar/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-08-14 00:27:34 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-08-14 00:27:34 +0000
commitf348c4980294aa086df90bd1adec89088311949e (patch)
tree5dc9ec7ca101efd081a0a6eb331588f1f75f11b8 /sysutils/bsdsar/Makefile
parentf1816ad1056ffbe27e2cf7843f1594b52438c41a (diff)
downloadports-f348c4980294aa086df90bd1adec89088311949e.tar.gz
ports-f348c4980294aa086df90bd1adec89088311949e.zip
Notes
Diffstat (limited to 'sysutils/bsdsar/Makefile')
-rw-r--r--sysutils/bsdsar/Makefile5
1 files changed, 5 insertions, 0 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}