svn commit: r340448 - head/converters/py-iconv
Antoine Brodin
antoine at FreeBSD.org
Mon Jan 20 18:53:03 UTC 2014
Author: antoine
Date: Mon Jan 20 18:53:03 2014
New Revision: 340448
URL: http://svnweb.freebsd.org/changeset/ports/340448
QAT: https://qat.redports.org/buildarchive/r340448/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
Deleted:
head/converters/py-iconv/pkg-plist
Modified:
head/converters/py-iconv/Makefile
Modified: head/converters/py-iconv/Makefile
==============================================================================
--- head/converters/py-iconv/Makefile Mon Jan 20 18:40:57 2014 (r340447)
+++ head/converters/py-iconv/Makefile Mon Jan 20 18:53:03 2014 (r340448)
@@ -16,7 +16,7 @@ COMMENT= Iconv wrapper with Unicode code
USES= iconv
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
+PYDISTUTILS_AUTOPLIST= yes
.if empty(ICONV_LIB)
SETUPINFO= ,library_dirs=["${LOCALBASE}/lib"],\
@@ -26,9 +26,8 @@ SETUPINFO= ,libraries=["iconv"],library_
include_dirs=["${LOCALBASE}/include"]
.endif
-NO_STAGE= yes
post-patch:
- cd ${WRKSRC} && ${SED} 's!^\(.*ext_mod.*\)\()]\)$$!\1${SETUPINFO}\2!g'\
- setup.py > setup.py.tmp && ${CAT} setup.py.tmp > setup.py
+ ${REINPLACE_CMD} 's!^\(.*ext_mod.*\)\()]\)$$!\1${SETUPINFO}\2!g'\
+ ${WRKSRC}/setup.py
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list