svn commit: r398299 - head/science/cdo
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Oct 1 15:56:01 UTC 2015
Author: sunpoet
Date: Thu Oct 1 15:56:00 2015
New Revision: 398299
URL: https://svnweb.freebsd.org/changeset/ports/398299
Log:
- Convert to new test framework
- Convert to new options target helper
Modified:
head/science/cdo/Makefile
Modified: head/science/cdo/Makefile
==============================================================================
--- head/science/cdo/Makefile Thu Oct 1 15:55:56 2015 (r398298)
+++ head/science/cdo/Makefile Thu Oct 1 15:56:00 2015 (r398299)
@@ -32,6 +32,7 @@ CONFIGURE_ARGS= --disable-cgribex \
--with-zlib=/usr
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+TEST_TARGET= check
USE_LDCONFIG= yes
USES= gmake libtool pathfix
@@ -67,10 +68,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/\($$$$pkgconfigfile\)|${PREFIX}/libdata/\1|' ${WRKSRC}/libcdi/src/Makefile.in
@${REINPLACE_CMD} -e 's|unsigned32 |uint32_t |' ${WRKSRC}/libcdi/src/cdilib.c ${WRKSRC}/libcdi/src/util.c
-regression-test test: build
-.if ${PORT_OPTIONS:MNETCDF}
+test-NETCDF-on:
@cd ${WRKSRC}/ && ${SETENV} CDO_PATH=src/cdo src/cdotest
-.endif
- cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list