1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Convert from slave port to normal port

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-10-09 15:24:39 +00:00
parent bee3ac845a
commit 7c38a96ed8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370548
2 changed files with 18 additions and 6 deletions

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (librtfcomp-1.3.tar.gz) = 5ade6031956e2bdc3b6b2024bf658459d4d381e33bb5e59264f30eefc8a5f3b4
SIZE (librtfcomp-1.3.tar.gz) = 328891