diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2014-10-06 15:02:40 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2014-10-06 15:02:40 +0000 |
commit | d2b4e25d47cf81ec58444cfaec27e191b7a6f031 (patch) | |
tree | f8c23a6dc13e7c9e337b85b27921b728b612ee16 /converters/py-iconv | |
parent | d31aa69393f4b1631fe62bb1f86b7961a0242adf (diff) |
- Convert to USES=python, limit to 2.x
- Simplify MASTER_SITES
- Strip binaries
Notes
Notes:
svn path=/head/; revision=370185
Diffstat (limited to 'converters/py-iconv')
-rw-r--r-- | converters/py-iconv/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/converters/py-iconv/Makefile b/converters/py-iconv/Makefile index af77107991e7..f65c76cabe1d 100644 --- a/converters/py-iconv/Makefile +++ b/converters/py-iconv/Makefile @@ -5,18 +5,15 @@ PORTNAME= iconv PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= converters python -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= perky +MASTER_SITES= LOCAL/perky PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= python MAINTAINER= ports@FreeBSD.org COMMENT= Iconv wrapper with Unicode codec for Python -USES= iconv -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= iconv python:2 +USE_PYTHON= autoplist distutils .if empty(ICONV_LIB) SETUPINFO= ,library_dirs=["${LOCALBASE}/lib"],\ @@ -30,4 +27,7 @@ post-patch: ${REINPLACE_CMD} 's!^\(.*ext_mod.*\)\()]\)$$!\1${SETUPINFO}\2!g'\ ${WRKSRC}/setup.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/iconv.so + .include <bsd.port.mk> |