Date: Thu, 27 Dec 2018 12:49:21 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488535 - head/math/blocksolve95 Message-ID: <201812271249.wBRCnLje074700@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Dec 27 12:49:20 2018 New Revision: 488535 URL: https://svnweb.freebsd.org/changeset/ports/488535 Log: - Switch to options helpers - Switch to new test framework Modified: head/math/blocksolve95/Makefile Modified: head/math/blocksolve95/Makefile ============================================================================== --- head/math/blocksolve95/Makefile Thu Dec 27 12:34:42 2018 (r488534) +++ head/math/blocksolve95/Makefile Thu Dec 27 12:49:20 2018 (r488535) @@ -47,25 +47,23 @@ FFLAGS+= -O2 INCLUDES= BMmsg.h BSdepend.h BSlog.h BSmy_blas.h BSprivate.h BSsparse.h PORTDOCS= manual.ps -.include <bsd.port.options.mk> - do-install: ${INSTALL_DATA} ${WRKSRC}/lib/lib${BOPT}/${PETSC_ARCH}/libBS95.a \ ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/include/|} ${STAGEDIR}${PREFIX}/include ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/* ${STAGEDIR}${MANPREFIX}/man/man3 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/manual/|} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @${RM} ${STAGEDIR}${EXAMPLESDIR}/makefile.orig -.endif .if defined(MAINTAINER_MODE) -regression-test: build +do-test: . if !exists(${HOME}/.mpd.conf) @${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${HOME}/.mpd.conf ${CHMOD} go-r ${HOME}/.mpd.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812271249.wBRCnLje074700>