- Convert to USES=python, limit to 2.x
- Simplify MASTER_SITES - Strip binaries
This commit is contained in:
parent
d31aa69393
commit
d2b4e25d47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370185
1 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue