Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 09:03:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424818 - in head/sysutils/rdiff-backup-devel: . files
Message-ID:  <201610280903.u9S93wrk046360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 28 09:03:58 2016
New Revision: 424818
URL: https://svnweb.freebsd.org/changeset/ports/424818

Log:
  - Switch to options helpers
  - Don't install COPYING with docs
  - Regenerate patches

Modified:
  head/sysutils/rdiff-backup-devel/Makefile
  head/sysutils/rdiff-backup-devel/files/patch-setup.py
  head/sysutils/rdiff-backup-devel/pkg-plist

Modified: head/sysutils/rdiff-backup-devel/Makefile
==============================================================================
--- head/sysutils/rdiff-backup-devel/Makefile	Fri Oct 28 08:59:37 2016	(r424817)
+++ head/sysutils/rdiff-backup-devel/Makefile	Fri Oct 28 09:03:58 2016	(r424818)
@@ -23,13 +23,15 @@ USES=		python
 USE_PYTHON=	distutils
 
 MAN1S=		rdiff-backup.1 rdiff-backup-statistics.1
-DOCS=		CHANGELOG README COPYING FAQ.html
+DOCS=		CHANGELOG README FAQ.html
 
 OPTIONS_DEFINE=	DOCS
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rdiff_backup/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rdiff_backup/*.so
 	${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/man/man1
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 

Modified: head/sysutils/rdiff-backup-devel/files/patch-setup.py
==============================================================================
--- head/sysutils/rdiff-backup-devel/files/patch-setup.py	Fri Oct 28 08:59:37 2016	(r424817)
+++ head/sysutils/rdiff-backup-devel/files/patch-setup.py	Fri Oct 28 09:03:58 2016	(r424818)
@@ -1,6 +1,6 @@
---- setup.py.orig	2008-08-06 21:24:28.756047734 +0200
-+++ setup.py	2008-08-06 21:24:18.122056264 +0200
-@@ -58,6 +58,10 @@
+--- setup.py.orig	2009-03-16 14:45:54 UTC
++++ setup.py
+@@ -58,6 +58,10 @@ if os.name == 'nt':
  				'zipfile': None
  			})
  
@@ -11,7 +11,7 @@
  setup(name="rdiff-backup",
  	  version=version_string,
  	  description="Local/remote mirroring+incremental backup",
-@@ -68,14 +72,8 @@
+@@ -68,14 +72,8 @@ setup(name="rdiff-backup",
  	  ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
  					 Extension("rdiff_backup._librsync",
  							   ["_librsyncmodule.c"],

Modified: head/sysutils/rdiff-backup-devel/pkg-plist
==============================================================================
--- head/sysutils/rdiff-backup-devel/pkg-plist	Fri Oct 28 08:59:37 2016	(r424817)
+++ head/sysutils/rdiff-backup-devel/pkg-plist	Fri Oct 28 09:03:58 2016	(r424818)
@@ -107,6 +107,5 @@ bin/rdiff-backup-statistics
 man/man1/rdiff-backup-statistics.1.gz
 man/man1/rdiff-backup.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/FAQ.html
 %%PORTDOCS%%%%DOCSDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610280903.u9S93wrk046360>