summaryrefslogtreecommitdiff
path: root/math/odepack/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-11-30 00:51:16 +0000
committerjtb <jtb@pkgsrc.org>2000-11-30 00:51:16 +0000
commit79b7da8d0e1668cb4bdebd21656b20c56fe477f4 (patch)
treeebb443285bf281c83b8c0b934127ad558a1645d9 /math/odepack/Makefile
parent3b70b17021893317f8a3b3f9e21f09c10d9c53bb (diff)
downloadpkgsrc-79b7da8d0e1668cb4bdebd21656b20c56fe477f4.tar.gz
Initial import of new "odepack" package.
Systematized Collection of ODE Solvers
Diffstat (limited to 'math/odepack/Makefile')
-rw-r--r--math/odepack/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/math/odepack/Makefile b/math/odepack/Makefile
new file mode 100644
index 00000000000..07325e18854
--- /dev/null
+++ b/math/odepack/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/30 00:51:16 jtb Exp $
+
+DISTNAME= odepack-20001129
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= jtb@netbsd.org
+
+WRKSRC= ${WRKDIR}/odepack
+USE_LIBTOOL= YES
+USE_FORTRAN= YES
+
+FOPTS?= =-O3
+
+.include "../../mk/bsd.prefs.mk"
+
+pre-build:
+ @${SED} -e 's:%%FORTRAN%%:'${FC}':g;s:%%FOPTS%%:'${FOPTS}':g' \
+ < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/odepack
+ ${INSTALL_DATA} ${WRKSRC}/doc ${PREFIX}/share/doc/odepack
+ ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/odepack
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/odepack
+ ${INSTALL_DATA} ${WRKSRC}/demo.f ${PREFIX}/share/examples/odepack
+
+.include "../../mk/bsd.pkg.mk"