svn commit: r468913 - head/math/mathomatic

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 3 08:33:56 UTC 2018


Author: amdmi3
Date: Thu May  3 08:33:55 2018
New Revision: 468913
URL: https://svnweb.freebsd.org/changeset/ports/468913

Log:
  - Switch to new test framework
  - Use MANPREFIX
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/math/mathomatic/Makefile

Modified: head/math/mathomatic/Makefile
==============================================================================
--- head/math/mathomatic/Makefile	Thu May  3 04:46:05 2018	(r468912)
+++ head/math/mathomatic/Makefile	Thu May  3 08:33:55 2018	(r468913)
@@ -19,6 +19,7 @@ GH_ACCOUNT=	mfillpot
 GH_TAGNAME=	ceb0861
 
 MAKEFILE=	makefile
+TEST_TARGET=	check  # test fails
 
 PORTDOCS=	*
 PLIST_FILES=	bin/mathomatic man/man1/mathomatic.1.gz \
@@ -29,15 +30,14 @@ MAKE_ARGS=	READLINE=1
 
 OPTIONS_DEFINE=	DOCS
 
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 	${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.desktop \
 		${STAGEDIR}${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.png ${STAGEDIR}${PREFIX}/share/pixmaps
+
+do-install-DOCS-on:
 .for d in m4 tests
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}
 	${INSTALL_DATA} ${WRKSRC}/${d}/* ${STAGEDIR}${DOCSDIR}/${d}


More information about the svn-ports-head mailing list