Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2014 16:39:20 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365960 - head/sysutils/rdiff-backup
Message-ID:  <201408241639.s7OGdKOV002008@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sun Aug 24 16:39:20 2014
New Revision: 365960
URL: http://svnweb.freebsd.org/changeset/ports/365960
QAT: https://qat.redports.org/buildarchive/r365960/

Log:
  - replace USE_PYTHON and USE_PYDISTUTILS to USES=python and USE_PYTHON=distutils
  - strip the generated libraries
  - pass maintainership to submitter
  
  PR:		192785
  Submitted by:	Zsolt Udvari

Modified:
  head/sysutils/rdiff-backup/Makefile

Modified: head/sysutils/rdiff-backup/Makefile
==============================================================================
--- head/sysutils/rdiff-backup/Makefile	Sun Aug 24 16:39:14 2014	(r365959)
+++ head/sysutils/rdiff-backup/Makefile	Sun Aug 24 16:39:20 2014	(r365960)
@@ -12,7 +12,7 @@ MASTER_SITE_SUBDIR=	${PORTNAME}/:savanna
 		vd/${PORTNAME}${PKGNAMESUFFIX}/:local
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:savannah,local
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	udvzsolt@gmail.com
 COMMENT=	Local/remote mirroring+incremental backup
 
 LICENSE=	GPLv2
@@ -21,8 +21,9 @@ LIB_DEPENDS=	librsync.so:${PORTSDIR}/net
 
 CONFLICTS=	rdiff-backup-devel-[0-9]* rdiff-backup-1.0*
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
+USES=		python
+USE_PYTHON=	distutils
+USE_LDCONFIG=	yes
 
 MAN1S=		rdiff-backup.1 rdiff-backup-statistics.1
 DOCS=		CHANGELOG README COPYING FAQ.html
@@ -33,5 +34,8 @@ post-install:
 	${INSTALL_MAN} ${MAN1S:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+.for lib in C.so _librsync.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:S,-,_,}/${lib}
+.endfor
 
 .include <bsd.port.mk>



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