aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-08-29 20:26:42 +0800
committerwg <wg@FreeBSD.org>2014-08-29 20:26:42 +0800
commit0e9e0fa93fafa25dddf25b3efeb82570a4f3ba2b (patch)
treef5dbd04c18f932ea607d83443395c960beb57f9b /sysutils
parent3f1d5c9b7ac5aba2ffe319e82fd0d8765274013b (diff)
downloadfreebsd-ports-gnome-0e9e0fa93fafa25dddf25b3efeb82570a4f3ba2b.tar.gz
freebsd-ports-gnome-0e9e0fa93fafa25dddf25b3efeb82570a4f3ba2b.tar.zst
freebsd-ports-gnome-0e9e0fa93fafa25dddf25b3efeb82570a4f3ba2b.zip
sysutils/backuppc: revert a couple of changes
- Main doc html is used by the application - sample files are actually templates for the configuration script PR: 193059 Submitted by: maintainer
Diffstat (limited to 'sysutils')
-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