Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 15:24:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370548 - head/archivers/py-librtfcomp
Message-ID:  <201410091524.s99FOdvC042031@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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



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