aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/Makefile
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2015-12-27 17:40:15 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2015-12-27 17:40:15 +0000
commitee955dc4f8a9df0b1f005631a7eaa747d361e466 (patch)
treeffef14dad47251519a39a6d1b19c418777340f56 /devel/ice/Makefile
parentd05e4290c025e181f76dd8663ab283f9b35e909c (diff)
downloadports-ee955dc4f8a9df0b1f005631a7eaa747d361e466.tar.gz
ports-ee955dc4f8a9df0b1f005631a7eaa747d361e466.zip
Update ice ports to 3.6.1 and switch to new unit test framework.
Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=404582
Diffstat (limited to 'devel/ice/Makefile')
-rw-r--r--devel/ice/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index 71a8c8d5043d..72c267178e1a 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Ice
-PORTVERSION= 3.6.0
-PORTREVISION= 1
+PORTVERSION= 3.6.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -24,15 +23,13 @@ LIB_DEPENDS+= libIce.so.${LIB_VRS}:${PORTSDIR}/devel/ice
PLIST_SUB+= LIB_VERSION="${PORTVERSION}" LIB_VRS="${LIB_VRS}"
.endif
-OPTIONS_DEFINE?= DEBUG TESTS
-OPTIONS_DEFAULT?= TESTS
-TESTS_DESC?= Build and run tests (requires lang/python)
+OPTIONS_DEFINE?= DEBUG TEST
.include <bsd.port.options.mk>
USES+= iconv gmake
-.if ${PORT_OPTIONS:MTESTS} && ${SLAVE_PORT} == "no"
+.if ${PORT_OPTIONS:MTEST} && ${SLAVE_PORT} == "no"
USES+= python:build
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}passlib>0:${PORTSDIR}/security/py-passlib
.endif
@@ -62,7 +59,7 @@ BROKEN_sparc64= Does not compile on ${ARCH}
MAKE_ENV+= LP64=yes
.endif
-.if !${PORT_OPTIONS:MTESTS}
+.if !${PORT_OPTIONS:MTEST}
MAKE_ENV+= NOTESTS=yes
.endif
@@ -135,13 +132,8 @@ post-patch:
s|%%PREFIX%%|${PREFIX}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/php/config/Make.rules.php
-.if ${PORT_OPTIONS:MTESTS}
-TEST_CMD= @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py
-check regression-test test: build
- ${TEST_CMD}
-
-pre-install: regression-test
-.endif
+do-test-TEST-on:
+ @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py
.if ${SLAVE_PORT} == "no"
post-install: