- Switch to USES=tar

- Strip library
This commit is contained in:
Dmitry Marakasov 2015-03-28 11:38:26 +00:00
parent 3ce84e9871
commit 2a154f20fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382462

View File

@ -3,18 +3,17 @@
PORTNAME= rxp
PORTVERSION= 0.9
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= http://www.reportlab.com/ftp/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyRXP-${PORTVERSION:S/./-/}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast validating XML parser for Python
NO_WRKSUBDIR= yes
USES= python
USES= python tar:tgz
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-rxp
@ -23,6 +22,7 @@ PORTDOCS= *
PORTEXAMPLES= *
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyRXP.so
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}