svn commit: r344617 - head/math/mtrxmath

Danilo Egea Gondolfo danilo at FreeBSD.org
Sun Feb 16 18:32:49 UTC 2014


Author: danilo
Date: Sun Feb 16 18:32:48 2014
New Revision: 344617
URL: http://svnweb.freebsd.org/changeset/ports/344617
QAT: https://qat.redports.org/buildarchive/r344617/

Log:
  - Add stage support
  - Add DOCS option

Modified:
  head/math/mtrxmath/Makefile

Modified: head/math/mtrxmath/Makefile
==============================================================================
--- head/math/mtrxmath/Makefile	Sun Feb 16 18:16:04 2014	(r344616)
+++ head/math/mtrxmath/Makefile	Sun Feb 16 18:32:48 2014	(r344617)
@@ -9,15 +9,16 @@ MASTER_SITES=	http://www.angelfire.com/l
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Small tool for matrix mathematics
 
+LICENSE=	GPLv2
+
 PORTDOCS=	README
 PLIST_FILES=	bin/mtrxmath
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list