diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:14:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:14:44 +0800 |
commit | 2815705e0b449d31a62c8716d766e06664efc527 (patch) | |
tree | 33e85a1d6407c10aff62bdf75238e9766aea6285 /devel | |
parent | b9e40f2174246fe6350fd43082e41d634dca0216 (diff) | |
download | freebsd-ports-gnome-2815705e0b449d31a62c8716d766e06664efc527.tar.gz freebsd-ports-gnome-2815705e0b449d31a62c8716d766e06664efc527.tar.zst freebsd-ports-gnome-2815705e0b449d31a62c8716d766e06664efc527.zip |
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'devel')
-rw-r--r-- | devel/tokamak/Makefile | 24 |
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> |