aboutsummaryrefslogtreecommitdiff
path: root/sysutils/backuppc
diff options
context:
space:
mode:
authorJonathan Chu <milki@FreeBSD.org>2014-07-15 05:15:23 +0000
committerJonathan Chu <milki@FreeBSD.org>2014-07-15 05:15:23 +0000
commit9745a04b095d02651a4e163e8815dd7d93ac24b1 (patch)
tree9f802d4b244bd6ab4791a79a1738fddff4e1a9ae /sysutils/backuppc
parent599364ddddacba1de5a30ce8a64b96021c7a7e6d (diff)
downloadports-9745a04b095d02651a4e163e8815dd7d93ac24b1.tar.gz
ports-9745a04b095d02651a4e163e8815dd7d93ac24b1.zip
Notes
Diffstat (limited to 'sysutils/backuppc')
-rw-r--r--sysutils/backuppc/Makefile4
-rw-r--r--sysutils/backuppc/pkg-plist12
2 files changed, 5 insertions, 11 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile
index 039d3fe513ff..cfabeb3f91aa 100644
--- a/sysutils/backuppc/Makefile
+++ b/sysutils/backuppc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= backuppc
PORTVERSION= 3.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -37,7 +37,7 @@ PLIST_SUB+= CGIDIR=${CGIDIR:S,^${PREFIX}/,,} \
PORTDOCS= ChangeLog LICENSE README
OPTIONS_DEFINE= ARCHIVE_ZIP COMPRESS_ZLIB DOCS FILE_RSYNCP NMBLOOKUP \
- RRDTOOL SMBCLIENT XML_RSS DOCS
+ RRDTOOL SMBCLIENT XML_RSS
OPTIONS_DEFAULT= ARCHIVE_ZIP COMPRESS_ZLIB
ARCHIVE_ZIP_DESC= Perl module for Zip archive files
diff --git a/sysutils/backuppc/pkg-plist b/sysutils/backuppc/pkg-plist
index b9a83a03e515..57d3894cb9b8 100644
--- a/sysutils/backuppc/pkg-plist
+++ b/sysutils/backuppc/pkg-plist
@@ -4,12 +4,6 @@
@rmtry %%ETCDIR%%/config.pl.sample
@rmtry %%ETCDIR%%/hosts.sample
@mode 0555
-@stopdaemon backuppc
-@unexec if cmp -s %D/%%ETCDIR%%/config.pl %D/%%ETCDIR%%/config.pl.sample; then rm -f %D/%%ETCDIR%%/config.pl; fi
-@unexec if cmp -s %D/%%ETCDIR%%/hosts %D/%%ETCDIR%%/hosts.sample; then rm -f %D/%%ETCDIR%%/hosts; fi
-@rmtry %%ETCDIR%%/config.pl.sample
-@rmtry %%ETCDIR%%/hosts.sample
-@mode 0555
bin/BackupPC
bin/BackupPC_archive
bin/BackupPC_archiveHost
@@ -86,9 +80,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
+%%DOCSDIR%%/BackupPC.html
%%PORTDOCS%%%%DOCSDIR%%/BackupPC.pod
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DOCSDIR%%
%%WWWDIR%%/0000000.gif
%%WWWDIR%%/0000011.gif
%%WWWDIR%%/0001000.gif
@@ -158,7 +152,7 @@ man/man1/backuppc.1.gz
@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pc
@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pool
@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/trash
-@dirrmtry /var/log/BackupPC
+@dirrmtry /var/log/BackupPC
@dirrmtry /var/db/BackupPC/cpool
@dirrmtry /var/db/BackupPC/pc
@dirrmtry /var/db/BackupPC/pool