Date: Thu, 1 Oct 2015 15:56:01 +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: r398299 - head/science/cdo Message-ID: <201510011556.t91Fu1PA061386@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510011556.t91Fu1PA061386>