svn commit: r443462 - head/devel/py-twisted

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jun 12 19:38:19 UTC 2017


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>


More information about the svn-ports-all mailing list