aboutsummaryrefslogtreecommitdiff
path: root/sysutils/backuppc
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-29 12:26:42 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-29 12:26:42 +0000
commit1ab88a2deb9aa235f028300c6bc7e366927f56c3 (patch)
treef5dbd04c18f932ea607d83443395c960beb57f9b /sysutils/backuppc
parent1d9d5209a2b90ce41825615b2c9f214d63cafdd9 (diff)
downloadports-1ab88a2deb9aa235f028300c6bc7e366927f56c3.tar.gz
ports-1ab88a2deb9aa235f028300c6bc7e366927f56c3.zip
Notes
Diffstat (limited to 'sysutils/backuppc')
-rw-r--r--sysutils/backuppc/Makefile4
-rw-r--r--sysutils/backuppc/pkg-plist10
2 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile
index a4f1501051c1..721118f98041 100644
--- a/sysutils/backuppc/Makefile
+++ b/sysutils/backuppc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= backuppc
PORTVERSION= 3.3.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -127,6 +127,8 @@ do-install:
${WRKSRC}/doc/BackupPC.pod ${WRKSRC}/${PORTNAME}.1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ ${RM} ${STAGEDIR}${ETCDIR}/config.pl
+ ${RM} ${STAGEDIR}${ETCDIR}/hosts
${CP} ${WRKSRC}/conf/config.pl ${STAGEDIR}${ETCDIR}/config.pl.sample
${CP} ${WRKSRC}/conf/hosts ${STAGEDIR}${ETCDIR}/hosts.sample
${CP} ${WRKDIR}/update.sh ${STAGEDIR}${ETCDIR}/update.sh
diff --git a/sysutils/backuppc/pkg-plist b/sysutils/backuppc/pkg-plist
index 0624037b9454..9eaf11a1e584 100644
--- a/sysutils/backuppc/pkg-plist
+++ b/sysutils/backuppc/pkg-plist
@@ -76,7 +76,9 @@ lib/BackupPC/Zip/FileMember.pm
lib/Net/FTP/AutoReconnect.pm
lib/Net/FTP/RetrHandle.pm
man/man1/backuppc.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/BackupPC.html
+@comment Main html doc should be unconditionally installed.
+@comment CGI uses the BackupPC.html as a documentation page.
+%%DOCSDIR%%/BackupPC.html
%%PORTDOCS%%%%DOCSDIR%%/BackupPC.pod
%%WWWDIR%%/0000000.gif
%%WWWDIR%%/0000011.gif
@@ -156,10 +158,12 @@ man/man1/backuppc.1.gz
@owner backuppc
@group backuppc
@dirrmtry %%ETCDIR%%
+@comment .sample files actually are templates for the configuration script
+@comment and should not be installed as working configuration files.
@mode 0640
-@sample %%ETCDIR%%/config.pl.sample
+%%ETCDIR%%/config.pl.sample
@mode 0644
-@sample %%ETCDIR%%/hosts.sample
+%%ETCDIR%%/hosts.sample
@owner
@group
@mode 0544