svn commit: r366504 - head/sysutils/backuppc

William Grzybowski wg at FreeBSD.org
Fri Aug 29 12:26:43 UTC 2014


Author: wg
Date: Fri Aug 29 12:26:42 2014
New Revision: 366504
URL: http://svnweb.freebsd.org/changeset/ports/366504
QAT: https://qat.redports.org/buildarchive/r366504/

Log:
  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

Modified:
  head/sysutils/backuppc/Makefile
  head/sysutils/backuppc/pkg-plist

Modified: head/sysutils/backuppc/Makefile
==============================================================================
--- head/sysutils/backuppc/Makefile	Fri Aug 29 12:14:57 2014	(r366503)
+++ head/sysutils/backuppc/Makefile	Fri Aug 29 12:26:42 2014	(r366504)
@@ -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

Modified: head/sysutils/backuppc/pkg-plist
==============================================================================
--- head/sysutils/backuppc/pkg-plist	Fri Aug 29 12:14:57 2014	(r366503)
+++ head/sysutils/backuppc/pkg-plist	Fri Aug 29 12:26:42 2014	(r366504)
@@ -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
+ at comment Main html doc should be unconditionally installed.
+ at 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%%
+ at comment .sample files actually are templates for the configuration script
+ at comment and should not be installed as working configuration files.
 @mode 0640
- at sample %%ETCDIR%%/config.pl.sample
+%%ETCDIR%%/config.pl.sample
 @mode 0644
- at sample %%ETCDIR%%/hosts.sample
+%%ETCDIR%%/hosts.sample
 @owner
 @group
 @mode 0544


More information about the svn-ports-head mailing list