aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-17 01:14:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-17 01:14:44 +0000
commit73aa15534fedab2c0f3f33af6e743b1869d6d1ad (patch)
tree33e85a1d6407c10aff62bdf75238e9766aea6285
parentc3c373cc28ef944ebcc882a3f54d9a01092e11cd (diff)
downloadports-73aa15534fedab2c0f3f33af6e743b1869d6d1ad.tar.gz
ports-73aa15534fedab2c0f3f33af6e743b1869d6d1ad.zip
Notes
-rw-r--r--devel/tokamak/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/devel/tokamak/Makefile b/devel/tokamak/Makefile
index 75e8f827d4b6..d903a2482574 100644
--- a/devel/tokamak/Makefile
+++ b/devel/tokamak/Makefile
@@ -11,18 +11,20 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= High performance real-time physics library
USE_ZIP= yes
-USE_GMAKE= yes
+USES= gmake
USE_DOS2UNIX= *
MAKEFILE= tokamak.make
-ALL_TARGET=
+ALL_TARGET= # empty
WRKSRC= ${WRKDIR}/tokamak_release
BUILD_WRKSRC= ${WRKSRC}/build/gnu
PORTDOCS= *
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
.include <bsd.port.options.mk>
.if !defined(WITH_DEBUG)
@@ -36,14 +38,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/tokamak.h
do-install:
- ${MKDIR} ${PREFIX}/include/math/
- ${INSTALL_DATA} ${WRKSRC}/include/tokamak.h ${PREFIX}/include/
- ${INSTALL_DATA} ${WRKSRC}/include/math/*.h ${PREFIX}/include/math/
- ${INSTALL_DATA} ${WRKSRC}/lib/libtokamak_m.a ${PREFIX}/lib/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/license.txt ${WRKSRC}/readme.txt ${DOCSDIR}
- cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/math/
+ ${INSTALL_DATA} ${WRKSRC}/include/tokamak.h ${STAGEDIR}${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/include/math/*.h ${STAGEDIR}${PREFIX}/include/math/
+ ${INSTALL_DATA} ${WRKSRC}/lib/libtokamak_m.a ${STAGEDIR}${PREFIX}/lib/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/license.txt ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>