1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Convert to USES=python, limit to 2.x

- Simplify MASTER_SITES
- Strip binaries
This commit is contained in:
Jason E. Hale 2014-10-06 15:02:40 +00:00
parent d31aa69393
commit d2b4e25d47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370185

View File

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