diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-24 11:10:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-24 11:10:53 +0800 |
commit | 3921d3456d5b0b6f4a5010cbd4d78298a714b0ac (patch) | |
tree | 3d589582b4c8e22e98ee018ed4d5a56a43029169 /math/matio | |
parent | f3537ee7e5dc48d299dbcf13d01144ec268bb6fc (diff) | |
download | freebsd-ports-gnome-3921d3456d5b0b6f4a5010cbd4d78298a714b0ac.tar.gz freebsd-ports-gnome-3921d3456d5b0b6f4a5010cbd4d78298a714b0ac.tar.zst freebsd-ports-gnome-3921d3456d5b0b6f4a5010cbd4d78298a714b0ac.zip |
- Support staging
- Fix FORTRAN option
Diffstat (limited to 'math/matio')
-rw-r--r-- | math/matio/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/math/matio/Makefile b/math/matio/Makefile index e800e5d33ff6..d345942e2735 100644 --- a/math/matio/Makefile +++ b/math/matio/Makefile @@ -17,7 +17,6 @@ CFLAGS+= -fPIC OPTIONS_DEFINE= FORTRAN FORTRAN_DESC= Build Fortran bindings -NO_STAGE= yes .include <bsd.port.options.mk> PLIST_FILES= include/matio.h \ @@ -36,6 +35,9 @@ CONFIGURE_ARGS+= --enable-fortran CONFIGURE_ENV+= FCFLAGS="${FFLAGS}" PLIST_FILES+= include/matio.mod + +USES+= gmake +MAKE_JOBS_UNSAFE=yes .endif post-build: @@ -49,14 +51,14 @@ post-build: .endif do-install: - ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.lai ${PREFIX}/lib/libmatio.la - ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/src/matio.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/src/matioConfig.h ${PREFIX}/include - ${INSTALL_PROGRAM} ${WRKSRC}/src/libmatio.so.1 ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/matio.pc ${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.lai ${STAGEDIR}${PREFIX}/lib/libmatio.la + ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/src/matio.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/src/matioConfig.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_PROGRAM} ${WRKSRC}/src/libmatio.so.1 ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/matio.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig .if ${PORT_OPTIONS:MFORTRAN} - ${INSTALL_DATA} ${WRKSRC}/src/matio.mod ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/src/matio.mod ${STAGEDIR}${PREFIX}/include .endif .include <bsd.port.mk> |