summaryrefslogtreecommitdiff
path: root/math/snns/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-04-03 01:04:47 +0000
committerSteve Price <steve@FreeBSD.org>1999-04-03 01:04:47 +0000
commit32db6a078ae2faf7569869234c8cd5bf92672e5d (patch)
treea33d4bec85fdf74a6d50c9b2eb39407bfe6c5986 /math/snns/Makefile
parentUpdate to version 2.6. (diff)
Import of SNNS version 4.1.
Fully featured neural network simulator PR: 5771 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Notes
Notes: svn path=/head/; revision=17571
Diffstat (limited to 'math/snns/Makefile')
-rw-r--r--math/snns/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/math/snns/Makefile b/math/snns/Makefile
new file mode 100644
index 000000000000..ef23c734c8cb
--- /dev/null
+++ b/math/snns/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: snns
+# Version required: 4.1
+# Date created: 2 Febuary 1997
+# Whom: reg@shale.csir.co.za
+#
+# $Id$
+#
+
+DISTNAME= SNNSv4.1
+PKGNAME= snns-4.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/
+
+MAINTAINER= reg@shale.csir.co.za
+
+post-configure:
+ @(cd ${WRKSRC} && ./configure < options.FreeBSD)
+ @(sed -e "s#%prefix%#${PREFIX}#g" < ${FILESDIR}/snns > ${WRKSRC}/snns)
+
+do-build:
+ @(cd ${WRKSRC} && ./build all)
+
+do-install:
+ ${MKDIR} ${PREFIX}/snns/bin ${PREFIX}/snns/examples
+ ${INSTALL_PROGRAM} ${WRKSRC}/xgui/bin/other/xgui ${PREFIX}/snns/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/bin/other/* ${PREFIX}/snns/bin
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/snns/examples
+ ${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/snns
+ ${INSTALL_DATA} ${WRKSRC}/Readme.license ${PREFIX}/snns
+ ${INSTALL_DATA} ${WRKSRC}/default.cfg ${PREFIX}/snns
+ ${INSTALL_DATA} ${WRKSRC}/help.hdoc ${PREFIX}/snns
+ ${INSTALL_SCRIPT} ${WRKSRC}/snns ${PREFIX}/bin
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>