From c6a5c5f3244eb5b6376600774961ae4e38f072d7 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 16 Feb 2014 18:32:48 +0000 Subject: [PATCH] - Add stage support - Add DOCS option --- math/mtrxmath/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/math/mtrxmath/Makefile b/math/mtrxmath/Makefile index bcde19e063ea..eb24633df9a9 100644 --- a/math/mtrxmath/Makefile +++ b/math/mtrxmath/Makefile @@ -9,15 +9,16 @@ MASTER_SITES= http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/ MAINTAINER= ports@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