Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 19:38:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443462 - head/devel/py-twisted
Message-ID:  <201706121938.v5CJcH8n054885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jun 12 19:38:17 2017
New Revision: 443462
URL: https://svnweb.freebsd.org/changeset/ports/443462

Log:
  Simplify Makefile
  
  - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk

Modified:
  head/devel/py-twisted/Makefile

Modified: head/devel/py-twisted/Makefile
==============================================================================
--- head/devel/py-twisted/Makefile	Mon Jun 12 19:20:27 2017	(r443461)
+++ head/devel/py-twisted/Makefile	Mon Jun 12 19:38:17 2017	(r443462)
@@ -21,19 +21,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zope.interface>=3.
 		${PYTHON_PKGNAMEPREFIX}incremental>=16.10.1:devel/py-incremental \
 		${PYTHON_PKGNAMEPREFIX}Automat>=0.3.0:devel/py-Automat
 
-# Actually 2.7,3.3+
 USES=		python tar:bzip2
 USE_PYTHON=	autoplist concurrent distutils
 
-.include <bsd.port.pre.mk>
-
 post-install:
-.if ${PYTHON_REL} < 3000
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/twisted/python/_sendmsg.so
-.endif
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/twisted/test/raiser.so
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} +
 
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m twisted.trial -e twisted
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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