Bug 5771 - New port: Stuttgart Neural Network Simulator
Summary: New port: Stuttgart Neural Network Simulator
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-02-17 16:00 UTC by reg
Modified: 1999-04-03 02:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reg 1998-02-17 16:00:01 UTC
	Stuttgart Neural Network Simulator v4.1. A fully featured neural
	network environment, with many different kinds of networks and
	a 2D and 3D display of the network.

Fix: 

This is my first port, please be gentle :) Please tell me if I have
	done anything wrong. I have tried to e-mail the contact, but got no
	response, so I hope I have fulfilled the lincense terms. Should I
	have included x11 in the categories if it needs X?
How-To-Repeat: 
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./files/snns
#	./scripts
#	./scripts/configure
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./pkg/MESSAGE
#	./patches
#	./patches/patch-00
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	snns
X# Version required:	4.1
X# Date created:		2 Febuary 1997
X# Whom:			reg@shale.csir.co.za
X#
X# $Id$
X#
X
XDISTNAME=	SNNSv4.1
XPKGNAME=	snns-4.1
XCATEGORIES=	ai math
XMASTER_SITES=	ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	reg@shale.csir.co.za
X
Xpost-configure:
X	@(cd ${WRKSRC} && ./configure < options.FreeBSD)
X	@(sed -e "s#%prefix%#${PREFIX}#g" < ${FILESDIR}/snns > ${WRKSRC}/snns)
X
Xdo-build:
X	@(cd ${WRKSRC} && ./build all)
X
Xdo-install:
X	@if [ ! -d ${PREFIX}/snns ]; then \
X		${MKDIR} ${PREFIX}/snns; \
X	fi
X	@if [ ! -d ${PREFIX}/snns/bin ]; then \
X		${MKDIR} ${PREFIX}/snns/bin; \
X	fi
X	@if [ ! -d ${PREFIX}/snns/examples ]; then \
X		${MKDIR} ${PREFIX}/snns/examples; \
X	fi
X	${INSTALL_PROGRAM} ${WRKSRC}/xgui/bin/other/xgui ${PREFIX}/snns/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/tools/bin/other/* ${PREFIX}/snns/bin
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/snns/examples
X	${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/snns
X	${INSTALL_DATA} ${WRKSRC}/Readme.license ${PREFIX}/snns
X	${INSTALL_DATA} ${WRKSRC}/default.cfg ${PREFIX}/snns
X	${INSTALL_DATA} ${WRKSRC}/help.hdoc ${PREFIX}/snns
X	${INSTALL_SCRIPT} ${WRKSRC}/snns ${PREFIX}/bin
X	@${CAT} ${PKGDIR}/MESSAGE
X	
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (SNNSv4.1.tar.Z) = 61f27335ea88b66c48adc9b321f3ac1d
END-of-./files/md5
echo x - ./files/snns
sed 's/^X//' >./files/snns << 'END-of-./files/snns'
X#! /bin/sh
X
XXGUILOADPATH=%prefix%/snns
Xexport XGUILOADPATH
XPATH=${PATH}:%prefix%/snns/bin
Xexport PATH
X
X%prefix%/snns/bin/xgui
END-of-./files/snns
echo c - ./scripts
mkdir -p ./scripts > /dev/null 2>&1
echo x - ./scripts/configure
sed 's/^X//' >./scripts/configure << 'END-of-./scripts/configure'
X#!/bin/sh
X# Make a fake options file to drive the setup script
X
X#recreate Makefiles?
Xecho "y" > ${WRKSRC}/options.FreeBSD
X#Correct source path?
Xecho "y" >> ${WRKSRC}/options.FreeBSD
X#Change install path?
Xecho "n" >> ${WRKSRC}/options.FreeBSD
X#X version
Xecho "2" >> ${WRKSRC}/options.FreeBSD
X#Machine type
Xecho "0" >> ${WRKSRC}/options.FreeBSD
X#Use gcc?
Xecho "y" >> ${WRKSRC}/options.FreeBSD
X
X#Paths for X11R6
Xecho "${X11BASE}/lib" >> ${WRKSRC}/options.FreeBSD
Xecho "${X11BASE}/include" >> ${WRKSRC}/options.FreeBSD
X
X#All OK?
Xecho "y" >> ${WRKSRC}/options.FreeBSD
END-of-./scripts/configure
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XFully featured neural network simulator
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XSNNS (Stuttgart Neural Network Simulator) is a software simulator for neural
Xnetworks on Unix workstations developed at the Institute for Parallel and
XDistributed High Performance Systems (IPVR) at the University of Stuttgart. 
XThe goal of the SNNS project is to create an efficient and flexible
Xsimulation environment for research on and application of neural nets.
X
XThe SNNS simulator consists of two main components:
X
X1) simultor kernel written in C
X2) graphical user interface under X
X
XThe simulator kernel operates on the internal network data structures of the
Xneural nets and performs all operations of learning and recall. It can also
Xbe used without the other parts as a C program embedded in custom
Xapplications. It supports arbitrary network topologies and the concept of
Xsites. SNNS can be extended by the user with user defined activation
Xfunctions, output functions, site functions and learning procedures, which
Xare written as simple C programs and linked to the simulator kernel.
X
XThe graphical user interface XGUI (X Graphical User Interface), built on top
Xof the kernel, gives a 2D and a 3D graphical representation of the neural
Xnetworks and controls the kernel during the simulation run. In addition, the
X2D user interface has an integrated network editor which can be used to
Xdirectly create, manipulate and visualize neural nets in various ways.
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/snns
Xsnns/Readme
Xsnns/Readme.license
Xsnns/default.cfg
Xsnns/help.hdoc
Xsnns/bin/analyze
Xsnns/bin/batchman
Xsnns/bin/bignet
Xsnns/bin/convert2snns
Xsnns/bin/feedback-gennet
Xsnns/bin/isnns
Xsnns/bin/mkhead
Xsnns/bin/mkout
Xsnns/bin/mkpat
Xsnns/bin/netlearn
Xsnns/bin/netperf
Xsnns/bin/pat_sel
Xsnns/bin/snns2c
Xsnns/bin/snnsbat
Xsnns/bin/xgui
Xsnns/examples/README.all
Xsnns/examples/art1_letters.README
Xsnns/examples/art1_letters.cfg
Xsnns/examples/art1_letters.net
Xsnns/examples/art1_letters.pat
Xsnns/examples/art1_letters3D.cfg
Xsnns/examples/art2_tetra.README
Xsnns/examples/art2_tetra.cfg
Xsnns/examples/art2_tetra.net
Xsnns/examples/art2_tetra.pat
Xsnns/examples/art2_tetra_high.pat
Xsnns/examples/art2_tetra_low.pat
Xsnns/examples/art2_tetra_med.pat
Xsnns/examples/artmap.README
Xsnns/examples/artmap.cfg
Xsnns/examples/artmap.net
Xsnns/examples/artmap_test.pat
Xsnns/examples/artmap_train.pat
Xsnns/examples/bdg_TDNN.README
Xsnns/examples/bdg_TDNN.cfg
Xsnns/examples/bdg_TDNN.chk
Xsnns/examples/bdg_TDNN.net
Xsnns/examples/bdg_TDNN.pat
Xsnns/examples/bdg_TDNN_untrained.net
Xsnns/examples/bdg_variable.pat
Xsnns/examples/default.cfg
Xsnns/examples/dlvq_ziff.README
Xsnns/examples/dlvq_ziff.cfg
Xsnns/examples/dlvq_ziff.chk
Xsnns/examples/dlvq_ziff.net
Xsnns/examples/dlvq_ziff_100.pat
Xsnns/examples/dlvq_ziff_trained.net
Xsnns/examples/dlvq_ziff_untrained.net
Xsnns/examples/eight_016.pat
Xsnns/examples/eight_160.pat
Xsnns/examples/eight_elman.README
Xsnns/examples/eight_elman.cfg
Xsnns/examples/eight_elman.chk
Xsnns/examples/eight_elman.net
Xsnns/examples/eight_elman_untrained.net
Xsnns/examples/eight_jordan.README
Xsnns/examples/eight_jordan.cfg
Xsnns/examples/eight_jordan.chk
Xsnns/examples/eight_jordan.net
Xsnns/examples/eight_jordan_untrained.net
Xsnns/examples/encoder.README
Xsnns/examples/encoder.cfg
Xsnns/examples/encoder.chk
Xsnns/examples/encoder.net
Xsnns/examples/encoder.pat
Xsnns/examples/encoder_untrained.net
Xsnns/examples/font.README
Xsnns/examples/font.cfg
Xsnns/examples/font.chk
Xsnns/examples/font.net
Xsnns/examples/font.pat
Xsnns/examples/font_untrained.net
Xsnns/examples/laser.README
Xsnns/examples/laser.cfg
Xsnns/examples/laser.chk
Xsnns/examples/laser.net
Xsnns/examples/laser_1000.pat
Xsnns/examples/laser_999.pat
Xsnns/examples/laser_untrained.net
Xsnns/examples/letseq.README
Xsnns/examples/letseq.chk
Xsnns/examples/letseq_elman.cfg
Xsnns/examples/letseq_elman.net
Xsnns/examples/letseq_elman_untrained.net
Xsnns/examples/letseq_h_elm.cfg
Xsnns/examples/letseq_h_elm.net
Xsnns/examples/letseq_test.pat
Xsnns/examples/letseq_train.pat
Xsnns/examples/letters.README
Xsnns/examples/letters.cfg
Xsnns/examples/letters.chk
Xsnns/examples/letters.net
Xsnns/examples/letters.pat
Xsnns/examples/letters.res
Xsnns/examples/letters3D.cfg
Xsnns/examples/letters3D.net
Xsnns/examples/letters_test.net
Xsnns/examples/letters_untrained.net
Xsnns/examples/nettalk.README
Xsnns/examples/nettalk.cfg
Xsnns/examples/nettalk.net
Xsnns/examples/nettalk.pat
Xsnns/examples/patmat.README
Xsnns/examples/patmat.cfg
Xsnns/examples/patmat.chk
Xsnns/examples/patmat.net
Xsnns/examples/patmat.pat
Xsnns/examples/patmat_untrained.net
Xsnns/examples/snnsbat1.cfb
Xsnns/examples/snnsbat2.cfb
Xsnns/examples/som_cube.README
Xsnns/examples/som_cube.cfg
Xsnns/examples/som_cube.cont
Xsnns/examples/som_cube.net
Xsnns/examples/som_cube.pat
Xsnns/examples/som_cube_norm.pat
Xsnns/examples/spirals.pat
Xsnns/examples/spirals_dda.README
Xsnns/examples/spirals_dda.cfg
Xsnns/examples/spirals_dda.net
Xsnns/examples/watch.README
Xsnns/examples/watch.cfg
Xsnns/examples/watch.net
Xsnns/examples/watch.pat
Xsnns/examples/watch_2out.README
Xsnns/examples/watch_2out.cfg
Xsnns/examples/watch_2out.net
Xsnns/examples/watch_2out.pat
Xsnns/examples/watch_edge.pgm
Xsnns/examples/watch_edge_invert.pgm
Xsnns/examples/watch_orig.pgm
Xsnns/examples/xor.README
Xsnns/examples/xor.chk
Xsnns/examples/xor.net
Xsnns/examples/xor.pat
Xsnns/examples/xor_rec.cfg
Xsnns/examples/xor_rec.net
Xsnns/examples/xor_rec1.pat
Xsnns/examples/xor_rec2.pat
Xsnns/examples/xor_untrained.net
X@dirrm snns/bin
X@dirrm snns/examples
X@dirrm snns
END-of-./pkg/PLIST
echo x - ./pkg/MESSAGE
sed 's/^X//' >./pkg/MESSAGE << 'END-of-./pkg/MESSAGE'
X
X         ************************************************
X         Please read the licensing terms described in the
X         Readme.license file.  In particular, please note
X         that this software is not public domain and that
X         it comes with NO WARRANTY OF ANY KIND.
X         ************************************************
X
END-of-./pkg/MESSAGE
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-00
sed 's/^X//' >./patches/patch-00 << 'END-of-./patches/patch-00'
X*** configure.old	Sat Feb  7 17:12:06 1998
X--- configure	Sat Feb  7 17:12:24 1998
X***************
X*** 1,4 ****
X! #!/bin/tcsh
X  
X  # ****************************************************************************
X  #  FILE     : configure
X--- 1,4 ----
X! #!/bin/csh
X  
X  # ****************************************************************************
X  #  FILE     : configure
END-of-./patches/patch-00
exit
Comment 1 TAOKA Satoshi 1999-03-17 14:52:55 UTC
Now,  SNNSv4.2 is available in
ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/.
Please update port of this.

S. TAOKA
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-04-03 02:01:58 UTC
State Changed
From-To: open->closed

New port finally, committed.  Thanks.