aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-26 16:46:05 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-26 16:46:05 +0800
commit1a1f74660e320ac2aa2b38ede2716957a627d6c2 (patch)
treeaff2f4ede3873df38fd15be62a8782b196e51a8c
parent931774858dde894ef70f38bfd646da8059476180 (diff)
downloadfreebsd-ports-gnome-1a1f74660e320ac2aa2b38ede2716957a627d6c2.tar.gz
freebsd-ports-gnome-1a1f74660e320ac2aa2b38ede2716957a627d6c2.tar.zst
freebsd-ports-gnome-1a1f74660e320ac2aa2b38ede2716957a627d6c2.zip
- Strip shared library
- Add regression-test: - Support STAGEDIR - Bump PORTREVISION for package change
-rw-r--r--devel/py-greenlet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-greenlet/Makefile b/devel/py-greenlet/Makefile
index fc338dbbafa7..163faf411d0e 100644
--- a/devel/py-greenlet/Makefile
+++ b/devel/py-greenlet/Makefile
@@ -3,6 +3,7 @@
PORTNAME= greenlet
PORTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,5 +18,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_ZIP= yes
-NO_STAGE= yes
+post-build:
+ @${STRIP_CMD} ${WRKSRC}/greenlet.so
+
+regression-test test: build
+ cd ${WRKSRC}/ && ${PYTHON_CMD} run-tests.py
+
.include <bsd.port.mk>