svn commit: r370548 - head/archivers/py-librtfcomp

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Oct 9 15:24:40 UTC 2014


Author: sunpoet
Date: Thu Oct  9 15:24:39 2014
New Revision: 370548
URL: https://svnweb.freebsd.org/changeset/ports/370548
QAT: https://qat.redports.org/buildarchive/r370548/

Log:
  - Convert from slave port to normal port

Added:
  head/archivers/py-librtfcomp/distinfo
     - copied unchanged from r370327, head/archivers/librtfcomp/distinfo
Modified:
  head/archivers/py-librtfcomp/Makefile

Modified: head/archivers/py-librtfcomp/Makefile
==============================================================================
--- head/archivers/py-librtfcomp/Makefile	Thu Oct  9 15:24:35 2014	(r370547)
+++ head/archivers/py-librtfcomp/Makefile	Thu Oct  9 15:24:39 2014	(r370548)
@@ -1,7 +1,11 @@
 # Created by: Alexander Logvinov <ports at logvinov.com>
 # $FreeBSD$
 
-PORTREVISION=	2
+PORTNAME=	librtfcomp
+PORTVERSION=	1.3
+PORTREVISION=	3
+CATEGORIES=	archivers python
+MASTER_SITES=	SF/synce/SynCE/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet at FreeBSD.org
@@ -12,16 +16,22 @@ LICENSE=	LGPL21
 BUILD_DEPENDS=	${LOCALBASE}/bin/pyrexc:${PORTSDIR}/devel/pyrex
 LIB_DEPENDS=	librtfcomp.so:${PORTSDIR}/archivers/librtfcomp
 
-USES=		python:2
+CONFIGURE_ARGS=	--enable-python-bindings
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+USES=		libtool python:2
 
 BUILD_WRKSRC=	${WRKSRC}/python
 INSTALL_WRKSRC=	${WRKSRC}/python
-PLIST=		${NONEXISTENT}
 
 PLIST_FILES=	%%PYTHON_SITELIBDIR%%/pyrtfcomp.a \
 		%%PYTHON_SITELIBDIR%%/pyrtfcomp.so
 
-MASTERDIR=	${.CURDIR}/../librtfcomp
-SLAVEPORT=	py
+post-patch:
+	@${REINPLACE_CMD} -e '/VISIBILITY=/ s| -fvisibility=hidden||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|[^ ]*/src/librtfcomp\.la||' ${WRKSRC}/python/Makefile.in
 
-.include "${MASTERDIR}/Makefile"
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyrtfcomp.so
+
+.include <bsd.port.mk>

Copied: head/archivers/py-librtfcomp/distinfo (from r370327, head/archivers/librtfcomp/distinfo)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-librtfcomp/distinfo	Thu Oct  9 15:24:39 2014	(r370548, copy of r370327, head/archivers/librtfcomp/distinfo)
@@ -0,0 +1,2 @@
+SHA256 (librtfcomp-1.3.tar.gz) = 5ade6031956e2bdc3b6b2024bf658459d4d381e33bb5e59264f30eefc8a5f3b4
+SIZE (librtfcomp-1.3.tar.gz) = 328891


More information about the svn-ports-all mailing list