Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2014 15:02:40 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370185 - head/converters/py-iconv
Message-ID:  <201410061502.s96F2e24032670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Mon Oct  6 15:02:40 2014
New Revision: 370185
URL: https://svnweb.freebsd.org/changeset/ports/370185
QAT: https://qat.redports.org/buildarchive/r370185/

Log:
  - Convert to USES=python, limit to 2.x
  - Simplify MASTER_SITES
  - Strip binaries

Modified:
  head/converters/py-iconv/Makefile

Modified: head/converters/py-iconv/Makefile
==============================================================================
--- head/converters/py-iconv/Makefile	Mon Oct  6 14:58:49 2014	(r370184)
+++ head/converters/py-iconv/Makefile	Mon Oct  6 15:02:40 2014	(r370185)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410061502.s96F2e24032670>