Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2018 08:33:55 +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: r468913 - head/math/mathomatic
Message-ID:  <201805030833.w438XtR4032497@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805030833.w438XtR4032497>