Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2007 11:27:18 -0500 (CDT)
From:      Jason Bacon <bacon@smithers.neuro.mcw.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112577: New port: math/lensnns Light, Efficient Neural-Network Simulator
Message-ID:  <200705101627.l4AGRIlr057465@smithers.neuro.mcw.edu>
Resent-Message-ID: <200705101630.l4AGU5Nj014665@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112577
>Category:       ports
>Synopsis:       New port: math/lensnns Light, Efficient Neural-Network Simulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 10 16:30:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005 bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone i386
>Description:
	Lens is an efficient, yet flexible, neural network simulator that 
	runs on a variety of platforms, is able to handle large, complex 
	simulations.
>How-To-Repeat:
>Fix:

# 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:
#
#	math/lensnns
#	math/lensnns/Makefile
#	math/lensnns/distinfo
#	math/lensnns/files
#	math/lensnns/files/pkg-message.in
#	math/lensnns/files/Patched
#	math/lensnns/files/Patched/Makefile
#	math/lensnns/files/Patched/Makefile.Src
#	math/lensnns/files/Patched/sysext.h
#	math/lensnns/files/lens_browser
#	math/lensnns/files/lensnns.1.in
#	math/lensnns/files/patch-Makefile
#	math/lensnns/files/patch-Src-Makefile
#	math/lensnns/files/patch-Src-sysext.h
#	math/lensnns/pkg-descr
#	math/lensnns/pkg-plist
#
echo c - math/lensnns
mkdir -p math/lensnns > /dev/null 2>&1
echo x - math/lensnns/Makefile
sed 's/^X//' >math/lensnns/Makefile << 'END-of-math/lensnns/Makefile'
X# New ports collection makefile for:	lensnns
X# Date created:		9 jan 2007
X# Whom:			Jason W. Bacon <bacon@smithers.neuro.mcw.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lensnns
XPORTVERSION=	2.63
XCATEGORIES=	math science
XMASTER_SITES=	http://tedlab.mit.edu/~dr/Lens/Dist/ \
X		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
XDISTNAME=	lens
X
XMAINTAINER=	bacon@smithers.neuro.mcw.edu
XCOMMENT=	Light Efficient Neural Network Simulator
X
XLIB_DEPENDS=	tcl83.1:${PORTSDIR}/lang/tcl83 \
X		tk83.1:${PORTSDIR}/x11-toolkits/tk83
X
XUSE_GMAKE=	yes
X
XMAN1=		lensnns.1
X
XSUB_FILES=	pkg-message lensnns.1
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
Xpost-extract:
X	${MKDIR} ${WRKDIR}/lens
X	${MV} ${WRKDIR}/[A-Z]* ${WRKDIR}/lens
X	${REINPLACE_CMD} 's|netscape|firefox|g' ${WRKSRC}/Src/lensrc.tcl
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/Bin/FreeBSD/alens-2.63 ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/Bin/FreeBSD/lens-2.63 ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${FILESDIR}/lens_browser ${PREFIX}/bin
X	${LN} -s ${PREFIX}/bin/alens-2.63 ${PREFIX}/bin/alensnns
X	${LN} -s ${PREFIX}/bin/lens-2.63 ${PREFIX}/bin/lensnns
X	${INSTALL_MAN} ${WRKDIR}/lensnns.1 ${PREFIX}/man/man1
X	${MKDIR} ${PREFIX}/share/${PORTNAME}/Src/Images
X	${MKDIR} ${PREFIX}/share/${PORTNAME}/Examples
X	${MKDIR} ${PREFIX}/share/${PORTNAME}/Commands
X	${INSTALL_DATA} ${WRKSRC}/Src/*.tcl \
X		${PREFIX}/share/${PORTNAME}/Src
X	${INSTALL_DATA} ${WRKSRC}/Src/Images/* \
X		${PREFIX}/share/${PORTNAME}/Src/Images
X	${INSTALL_DATA} ${WRKSRC}/Examples/* \
X		${PREFIX}/share/${PORTNAME}/Examples
X	${INSTALL_DATA} ${WRKSRC}/Commands/* \
X		${PREFIX}/share/${PORTNAME}/Commands
X
Xpost-install:
X	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
X
X.include <bsd.port.mk>
END-of-math/lensnns/Makefile
echo x - math/lensnns/distinfo
sed 's/^X//' >math/lensnns/distinfo << 'END-of-math/lensnns/distinfo'
XMD5 (lens.tar.gz) = de9a61b851dbf16ea596d5adac315f86
XSHA256 (lens.tar.gz) = e884cf7e64fd1be7389b484cc899eb611d631149f68d3d185a32e855026b1933
XSIZE (lens.tar.gz) = 7678205
END-of-math/lensnns/distinfo
echo c - math/lensnns/files
mkdir -p math/lensnns/files > /dev/null 2>&1
echo x - math/lensnns/files/pkg-message.in
sed 's/^X//' >math/lensnns/files/pkg-message.in << 'END-of-math/lensnns/files/pkg-message.in'
X===========================================================================
X
XFor quick instructions, type
X
X	man lensnns
X
XTo use the default configuration, set the environment variable LENSDIR to
X
X        %%DATADIR%%
X
XIf you want to customize your environment, make a complete copy of
X
X        %%DATADIR%%
X
Xand set LENSDIR to the full pathname of your copy.
X
X===========================================================================
END-of-math/lensnns/files/pkg-message.in
echo c - math/lensnns/files/Patched
mkdir -p math/lensnns/files/Patched > /dev/null 2>&1
echo x - math/lensnns/files/Patched/Makefile
sed 's/^X//' >math/lensnns/files/Patched/Makefile << 'END-of-math/lensnns/files/Patched/Makefile'
X# Defaults flags:
XCC        = gcc
XCFLAGS    = -Wall -O4 -march=i486
XMACHINE   = LINUX
X#CC        = icc
X#CFLAGS    = -w1 -O3 -march=pentiumiii -mcpu=pentiumpro -DAVOID_NAN_TEST
X#MACHINE   = INTEL
XMAKE      = /usr/bin/make
XSYSLIB    = -export-dynamic -ldl -L/usr/X11R6/lib
X
X# Windows 95/98/NT using Cygwin:
Xifeq ($(HOSTTYPE),i686)
X  MACHINE   = WINDOWS
X  CFLAGS    = -Wall -O4 -march=i486
X  MAKE      = make
X  EXT       = .exe
X  SYSLIB    =
Xendif
X# FreeBSD
Xifeq ($(HOSTTYPE),FreeBSD)
X  MACHINE   = FREEBSD
X  MAKE      = gmake
X  CC        = cc
X  CFLAGS    = -pipe -O -DAVOID_NAN_TEST -DHAVE_LIMITS_H -DHAVE_UNISTD_H
X  EXT       = 
X  SYSLIB    =
Xendif
X# Macintosh X:
Xifeq ($(HOSTTYPE),macintosh)
X  MACHINE   = MACINTOSH
X  MAKE      = make
X  CC        = cc
X  CFLAGS    = -pipe -O3 -Wall -fno-common -arch ppc
X  EXT       = 
X  SYSLIB    =
Xendif
X# Older Linux machines:
Xifeq ($(HOSTTYPE),i386_linux2)
X  SYSLIB    = -export-dynamic -ldl
Xendif
X# New condor
Xifeq ($(HOSTTYPE),i386)
X  MACHINE   = CONDOR
Xendif
X# Eagle:
Xifeq ($(HOSTTYPE),hp9000s800)
X  MACHINE   = EAGLE
X  CC        = cc
X  CFLAGS    = -Ae +Oall -w
X  MAKE      = /usr/local/bin/make
X  SYSLIB    = /usr/lib/X11R5/libX11.sl -ldld
Xendif
X# SP2:
Xifeq ($(HOSTTYPE),rs6000)
X  MACHINE   = SP
X  CFLAGS    = -O4 -I/usr/include
X  MAKE      = /usr/local/bin/make
X  SYSLIB    = -lld
Xendif
X# Alpha 21264s
Xifeq ($(HOSTTYPE),alpha)
X  MACHINE   = ALPHA
X  CC        = cc
X  CFLAGS    = -arch ev6 -fast -O4
X  MAKE      = /usr/home/dr/bin/make
X  SYSLIB    = -non_shared -ldnet_stub
Xendif
X
XDEF= CC="$(CC)" CFLAGS="$(CFLAGS)" MACHINE=$(MACHINE) SYSLIB="$(SYSLIB)" \
X	TOP=$(shell pwd) EXT=$(EXT)
X
XMAKE_LENS  = $(MAKE) -C Src lens$(EXT) $(DEF) EXEC=lens PKGS=
XMAKE_ALENS = $(MAKE) -C Src alens$(EXT) $(DEF) EXEC=alens PKGS="-DADVANCED"
XMAKE_LIBLENS  = $(MAKE) -C Src liblens $(DEF) EXEC=lens PKGS=
XMAKE_LIBALENS = $(MAKE) -C Src libalens $(DEF) EXEC=alens PKGS="-DADVANCED"
XMAKE_CLEAN = $(MAKE) -C Src $(DEF) clean
X
Xlens:: dirs
X	$(MAKE_LENS)
Xliblens:: dirs
X	$(MAKE_LIBLENS)
Xalens:: dirs
X	$(MAKE_ALENS)
Xlibalens:: dirs
X	$(MAKE_LIBALENS)
Xclean::
X	$(MAKE_CLEAN)
X
Xall:: dirs
X	rm -f lens$(EXT) alens$(EXT)
X	$(MAKE_CLEAN)
X	$(MAKE_ALENS)
X	$(MAKE_CLEAN)
X	$(MAKE_LENS)
X
X# This builds the necessary system-dependent subdirectories on unix machines
Xifeq ($(MACHINE),WINDOWS)
Xdirs::
Xelse
Xdirs:: Obj/$(HOSTTYPE) Bin/$(HOSTTYPE)
XObj/$(HOSTTYPE)::
X	if test ! -d Obj/$(HOSTTYPE); \
X	then mkdir Obj/$(HOSTTYPE); fi
XBin/$(HOSTTYPE)::
X	if test ! -d Bin/$(HOSTTYPE); \
X	then mkdir Bin/$(HOSTTYPE); fi
Xendif
END-of-math/lensnns/files/Patched/Makefile
echo x - math/lensnns/files/Patched/Makefile.Src
sed 's/^X//' >math/lensnns/files/Patched/Makefile.Src << 'END-of-math/lensnns/files/Patched/Makefile.Src'
XVERSION= 2.63
XSRCS= type util network connect example act train object command control \
X	display graph parallel networkCom connectCom exampleCom trainCom \
X	objectCom displayCom graphCom parallelCom canvRect extension \
X	tkConsole
X
Xifeq ($(MACHINE),WINDOWS)
X  O=      ../Obj
X  TCLDIR= ../TclTk
X  BINDIR= $(TOP)/Bin
X  INCL=   -I$(TCLDIR)/include
X  LIBS=   -L$(TCLDIR)/lib -ltk83 -ltcl83 -lm $(SYSLIB)
Xelse
Xifeq ($(MACHINE),FREEBSD)
X  O=      ../Obj/$(HOSTTYPE)
X  TCLVER= 8.3
X  TCLDIR= /usr/local/include
X  BINDIR= $(TOP)/Bin/$(HOSTTYPE)
X  INCL=   -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic -I/usr/X11R6/include
X  LIBS=   -L$(BINDIR) -L/usr/local/lib -L/usr/X11R6/lib -ltk83 -ltcl83 -lm -lX11 $(SYSLIB)
Xelse
X  O=      ../Obj/$(HOSTTYPE)
X  TCLVER= 8.3.4
X  TCLDIR= ../TclTk
X  BINDIR= $(TOP)/Bin/$(HOSTTYPE)
X  ifeq ($(MACHINE),MACINTOSH)
X    INCL=   -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic \
X	-I/usr/X11R6/include
X    LIBS=   -L/usr/X11R6/lib -lX11 $(BINDIR)/libtk8.3.a $(BINDIR)/libtcl8.3.a \
X	$(SYSLIB)
X  else
X    INCL=   -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic
X    LIBS=   -L$(BINDIR) -ltk8.3 -ltcl8.3 -lm -lX11 $(SYSLIB)
X  endif
Xendif
Xendif
XEXEC_OBJS= $(O)/main.o $(patsubst %,$(O)/%.o,$(SRCS))
XLIB_OBJS= $(O)/library.o $(patsubst %,$(O)/%.o,$(SRCS))
XOBJS= $(O)/main.o $(O)/library.o $(patsubst %,$(O)/%.o,$(SRCS))
X
Xdefault:
X	@echo "You shouldn't be calling this Makefile directly"
X
X$(EXEC)$(EXT): ../$(EXEC)$(EXT)
X../$(EXEC)$(EXT): $(EXEC_OBJS) Makefile
X	$(CC) -o $(BINDIR)/$(EXEC)-$(VERSION)$(EXT) $(EXEC_OBJS) $(LIBS)
X	ln -s -f $(BINDIR)/$(EXEC)-$(VERSION)$(EXT) $(BINDIR)/$(EXEC)$(EXT)
X	ln -s -f $(BINDIR)/$(EXEC)-$(VERSION)$(EXT) ../$(EXEC)$(EXT)
X
Xlib$(EXEC): $(BINDIR)/lib$(EXEC)$(VERSION).a
X$(BINDIR)/lib$(EXEC)$(VERSION).a:	$(LIB_OBJS) Makefile
X	ar cr $(BINDIR)/lib$(EXEC)$(VERSION).a $(LIB_OBJS)
X
X$O/main.o      :main.c system.h util.h network.h type.h connect.h command.h \
X		control.h display.h canvRect.h train.h extension.h Makefile
X$O/library.o   :library.c system.h util.h type.h extension.h command.h \
X		control.h train.h lens.h
X$O/type.o      :type.c system.h util.h network.h connect.h type.h train.h act.h
X
X$O/util.o      :util.c util.h type.h parallel.h defaults.h
X
X$O/network.o   :network.c system.h util.h type.h network.h connect.h act.h \
X		control.h display.h train.h
X$O/connect.o   :connect.c system.h util.h type.h network.h connect.h
X
X$O/example.o   :example.c system.h util.h type.h network.h example.h \
X		control.h object.h
X$O/act.o       :act.c system.h util.h type.h network.h act.h control.h \
X		display.h graph.h train.h connect.h
X$O/train.o     :train.c system.h util.h type.h network.h act.h train.h \
X		control.h display.h graph.h
X$O/object.o    :object.c system.h util.h type.h network.h connect.h example.h \
X		object.h graph.h
X$O/command.o   :command.c util.h type.h command.h control.h
X
X$O/control.o   :control.c system.h util.h type.h network.h connect.h \
X		example.h display.h graph.h control.h parallel.h canvRect.h
X$O/display.o   :display.c system.h util.h type.h network.h connect.h \
X		control.h example.h display.h parallel.h graph.h
X$O/graph.o     :graph.c system.h util.h type.h network.h object.h graph.h \
X		parallel.h
X$O/parallel.o  :parallel.c util.h type.h network.h train.h act.h display.h \
X		graph.h control.h parallel.h
X$O/networkCom.o:networkCom.c system.h util.h type.h network.h connect.h \
X		command.h control.h act.h display.h
X$O/connectCom.o:connectCom.c system.h util.h type.h network.h connect.h \
X		command.h control.h act.h display.h object.h
X$O/exampleCom.o:exampleCom.c system.h util.h type.h example.h network.h \
X		command.h control.h display.h act.h defaults.h
X$O/trainCom.o  :trainCom.c system.h util.h type.h network.h train.h act.h \
X		command.h control.h display.h graph.h
X$O/objectCom.o :objectCom.c system.h util.h type.h network.h object.h \
X		command.h control.h
X$O/displayCom.o:displayCom.c system.h util.h type.h network.h connect.h act.h \
X		command.h control.h display.h graph.h
X$O/graphCom.o  :graphCom.c system.h util.h network.h command.h control.h \
X		graph.h
X$O/parallelCom.o:parallelCom.c system.h util.h type.h network.h command.h \
X		control.h train.h parallel.h
X$O/canvRect.o  :canvRect.c system.h util.h type.h network.h connect.h \
X		display.h
X$O/extension.o :extension.c system.h util.h type.h network.h connect.h \
X		example.h train.h act.h command.h control.h object.h
X$O/tkConsole.o :tkConsole.c
X
X$(OBJS):
X	$(CC) $(CFLAGS) -DMACHINE_$(MACHINE) -DVERSION=\"$(VERSION)\" \
X	-DTCLVER=\"$(TCLVER)\" $(INCL) $(PKGS) -c -o $@ \
X	$(*F).c
X
Xclean:
X	rm -f $(OBJS)
END-of-math/lensnns/files/Patched/Makefile.Src
echo x - math/lensnns/files/Patched/sysext.h
sed 's/^X//' >math/lensnns/files/Patched/sysext.h << 'END-of-math/lensnns/files/Patched/sysext.h'
X/* Any customizations you want to make to system.h should be placed in here */
X
X#ifndef SYSEXT_H
X#define SYSEXT_H
X
X#if BYTE_ORDER == LITTLE_ENDIAN
X#    define LITTLE_END
X#endif /* LITTLE_END */
X
X#endif /* SYSEXT_H */
END-of-math/lensnns/files/Patched/sysext.h
echo x - math/lensnns/files/lens_browser
sed 's/^X//' >math/lensnns/files/lens_browser << 'END-of-math/lensnns/files/lens_browser'
X#!/bin/csh
X
Xif ( $?LENS_BROWSER ) then
X    ${LENS_BROWSER} $argv
Xelse if ( -e `which firefox` ) then
X    firefox $argv
Xelse if ( -e `which konqueror` ) then
X    konqueror $argv
Xendif
X
END-of-math/lensnns/files/lens_browser
echo x - math/lensnns/files/lensnns.1.in
sed 's/^X//' >math/lensnns/files/lensnns.1.in << 'END-of-math/lensnns/files/lensnns.1.in'
X.TH LENS 1
X.SH NAME    \" Section header
X.PP
X 
XLENS \- Light Efficient (Neural) Network Simulator
X
X.SH "DESCRIPTION"
X
XTo use the default installation, set LENSDIR to %%DATADIR%%.
X
XIf you want to customize anything in this directory, make a personal
Xcopy of %%DATADIR%%, and set LENSDIR to the full pathname of your
Xown copy.
X
XFor information on using LENS, please see the online documentation at 
Xhttp://tedlab.mit.edu/~dr/Lens/.
X
X.SH "PORT MAINTAINER"
X.nf
X.na
XJason W. Bacon
END-of-math/lensnns/files/lensnns.1.in
echo x - math/lensnns/files/patch-Makefile
sed 's/^X//' >math/lensnns/files/patch-Makefile << 'END-of-math/lensnns/files/patch-Makefile'
X--- Makefile.orig	Tue Dec  9 13:13:54 2003
X+++ Makefile	Thu May 10 11:19:20 2007
X@@ -6,7 +6,7 @@
X #CFLAGS    = -w1 -O3 -march=pentiumiii -mcpu=pentiumpro -DAVOID_NAN_TEST
X #MACHINE   = INTEL
X MAKE      = /usr/bin/make
X-SYSLIB    = -export-dynamic -ldl -L/usr/X11R6/lib
X+SYSLIB    = -export-dynamic -ldl -L${X11BASE}/lib
X 
X # Windows 95/98/NT using Cygwin:
X ifeq ($(HOSTTYPE),i686)
X@@ -14,6 +14,15 @@
X   CFLAGS    = -Wall -O4 -march=i486
X   MAKE      = make
X   EXT       = .exe
X+  SYSLIB    =
X+endif
X+# FreeBSD
X+ifeq ($(HOSTTYPE),FreeBSD)
X+  MACHINE   = FREEBSD
X+  MAKE      = gmake
X+  CC        = cc
X+  CFLAGS    = -pipe -O -DAVOID_NAN_TEST -DHAVE_LIMITS_H -DHAVE_UNISTD_H
X+  EXT       = 
X   SYSLIB    =
X endif
X # Macintosh X:
END-of-math/lensnns/files/patch-Makefile
echo x - math/lensnns/files/patch-Src-Makefile
sed 's/^X//' >math/lensnns/files/patch-Src-Makefile << 'END-of-math/lensnns/files/patch-Src-Makefile'
X--- Src/Makefile.orig	Tue Dec  9 13:13:53 2003
X+++ Src/Makefile	Thu May 10 11:20:40 2007
X@@ -11,6 +11,14 @@
X   INCL=   -I$(TCLDIR)/include
X   LIBS=   -L$(TCLDIR)/lib -ltk83 -ltcl83 -lm $(SYSLIB)
X else
X+ifeq ($(MACHINE),FREEBSD)
X+  O=      ../Obj/$(HOSTTYPE)
X+  TCLVER= 8.3
X+  TCLDIR= /usr/local/include
X+  BINDIR= $(TOP)/Bin/$(HOSTTYPE)
X+  INCL=   -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic -I${X11BASE}/include
X+  LIBS=   -L$(BINDIR) -L/usr/local/lib -L${X11BASE}/lib -ltk83 -ltcl83 -lm -lX11 $(SYSLIB)
X+else
X   O=      ../Obj/$(HOSTTYPE)
X   TCLVER= 8.3.4
X   TCLDIR= ../TclTk
X@@ -24,6 +32,7 @@
X     INCL=   -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic
X     LIBS=   -L$(BINDIR) -ltk8.3 -ltcl8.3 -lm -lX11 $(SYSLIB)
X   endif
X+endif
X endif
X EXEC_OBJS= $(O)/main.o $(patsubst %,$(O)/%.o,$(SRCS))
X LIB_OBJS= $(O)/library.o $(patsubst %,$(O)/%.o,$(SRCS))
END-of-math/lensnns/files/patch-Src-Makefile
echo x - math/lensnns/files/patch-Src-sysext.h
sed 's/^X//' >math/lensnns/files/patch-Src-sysext.h << 'END-of-math/lensnns/files/patch-Src-sysext.h'
X--- Src/sysext.h.orig	Tue Dec  9 13:13:53 2003
X+++ Src/sysext.h	Thu May 10 10:59:36 2007
X@@ -3,10 +3,8 @@
X #ifndef SYSEXT_H
X #define SYSEXT_H
X 
X-/*
X-#ifdef MACHINE_YOURMACHINE
X-  include headers or define macros as necessary
X-#endif
X-*/
X+#if BYTE_ORDER == LITTLE_ENDIAN
X+#    define LITTLE_END
X+#endif /* LITTLE_END */
X 
X #endif /* SYSEXT_H */
END-of-math/lensnns/files/patch-Src-sysext.h
echo x - math/lensnns/pkg-descr
sed 's/^X//' >math/lensnns/pkg-descr << 'END-of-math/lensnns/pkg-descr'
XLens is an efficient, yet flexible, neural network simulator that runs on
Xa variety of platforms, is able to handle large, complex simulations, but
Xis also reasonably easy for novices to operate.
END-of-math/lensnns/pkg-descr
echo x - math/lensnns/pkg-plist
sed 's/^X//' >math/lensnns/pkg-plist << 'END-of-math/lensnns/pkg-plist'
Xbin/alensnns
Xbin/alens-2.63
Xbin/lensnns
Xbin/lens-2.63
Xbin/lens_browser
X%%DATADIR%%/Commands/addGroup.txt
X%%DATADIR%%/Commands/addLinkType.txt
X%%DATADIR%%/Commands/addNet.txt
X%%DATADIR%%/Commands/alias.txt
X%%DATADIR%%/Commands/autoPlot.txt
X%%DATADIR%%/Commands/cd.txt
X%%DATADIR%%/Commands/changeGroupType.txt
X%%DATADIR%%/Commands/clientInfo.txt
X%%DATADIR%%/Commands/close.txt
X%%DATADIR%%/Commands/closeNetOutputFile.txt
X%%DATADIR%%/Commands/connectGroupToUnits.txt
X%%DATADIR%%/Commands/connectGroups.txt
X%%DATADIR%%/Commands/connectUnits.txt
X%%DATADIR%%/Commands/copyConnect.txt
X%%DATADIR%%/Commands/copyUnitValues.txt
X%%DATADIR%%/Commands/deleteExampleSets.txt
X%%DATADIR%%/Commands/deleteGroupInputs.txt
X%%DATADIR%%/Commands/deleteGroupOutputs.txt
X%%DATADIR%%/Commands/deleteGroups.txt
X%%DATADIR%%/Commands/deleteLinkType.txt
X%%DATADIR%%/Commands/deleteLinks.txt
X%%DATADIR%%/Commands/deleteNets.txt
X%%DATADIR%%/Commands/deleteUnitInputs.txt
X%%DATADIR%%/Commands/deleteUnitOutputs.txt
X%%DATADIR%%/Commands/deltaBarDelta.txt
X%%DATADIR%%/Commands/disconnectGroupUnit.txt
X%%DATADIR%%/Commands/disconnectGroups.txt
X%%DATADIR%%/Commands/disconnectUnits.txt
X%%DATADIR%%/Commands/doExample.txt
X%%DATADIR%%/Commands/dougsMomentum.txt
X%%DATADIR%%/Commands/drawUnits.txt
X%%DATADIR%%/Commands/elmanConnect.txt
X%%DATADIR%%/Commands/eval.txt
X%%DATADIR%%/Commands/exampleSetMode.txt
X%%DATADIR%%/Commands/exec.txt
X%%DATADIR%%/Commands/exit.txt
X%%DATADIR%%/Commands/exportGraph.txt
X%%DATADIR%%/Commands/expr.txt
X%%DATADIR%%/Commands/for.txt
X%%DATADIR%%/Commands/foreach.txt
X%%DATADIR%%/Commands/freezeWeights.txt
X%%DATADIR%%/Commands/getObject.txt
X%%DATADIR%%/Commands/getSeed.txt
X%%DATADIR%%/Commands/glob.txt
X%%DATADIR%%/Commands/graph.txt
X%%DATADIR%%/Commands/graphObject.txt
X%%DATADIR%%/Commands/groupType.txt
X%%DATADIR%%/Commands/healUnits.txt
X%%DATADIR%%/Commands/help.txt
X%%DATADIR%%/Commands/history.txt
X%%DATADIR%%/Commands/if.txt
X%%DATADIR%%/Commands/index.txt
X%%DATADIR%%/Commands/lesionLinks.txt
X%%DATADIR%%/Commands/lesionUnits.txt
X%%DATADIR%%/Commands/loadExamples.txt
X%%DATADIR%%/Commands/loadWeights.txt
X%%DATADIR%%/Commands/loadXerionWeights.txt
X%%DATADIR%%/Commands/ls.txt
X%%DATADIR%%/Commands/manual.txt
X%%DATADIR%%/Commands/momentum.txt
X%%DATADIR%%/Commands/moveExamples.txt
X%%DATADIR%%/Commands/nice.txt
X%%DATADIR%%/Commands/noiseType.txt
X%%DATADIR%%/Commands/open.txt
X%%DATADIR%%/Commands/openNetOutputFile.txt
X%%DATADIR%%/Commands/orderGroups.txt
X%%DATADIR%%/Commands/path.txt
X%%DATADIR%%/Commands/pid.txt
X%%DATADIR%%/Commands/plotAll.txt
X%%DATADIR%%/Commands/plotRow.txt
X%%DATADIR%%/Commands/polarity.txt
X%%DATADIR%%/Commands/printLinkValues.txt
X%%DATADIR%%/Commands/printUnitValues.txt
X%%DATADIR%%/Commands/puts.txt
X%%DATADIR%%/Commands/pwd.txt
X%%DATADIR%%/Commands/rand.txt
X%%DATADIR%%/Commands/randInt.txt
X%%DATADIR%%/Commands/randWeights.txt
X%%DATADIR%%/Commands/repeat.txt
X%%DATADIR%%/Commands/resetDerivs.txt
X%%DATADIR%%/Commands/resetExampleSets.txt
X%%DATADIR%%/Commands/resetNet.txt
X%%DATADIR%%/Commands/resetPlot.txt
X%%DATADIR%%/Commands/resetUnitValues.txt
X%%DATADIR%%/Commands/return.txt
X%%DATADIR%%/Commands/saveExamples.txt
X%%DATADIR%%/Commands/saveParameters.txt
X%%DATADIR%%/Commands/saveWeights.txt
X%%DATADIR%%/Commands/seed.txt
X%%DATADIR%%/Commands/sendEval.txt
X%%DATADIR%%/Commands/sendObject.txt
X%%DATADIR%%/Commands/set.txt
X%%DATADIR%%/Commands/setLinkValues.txt
X%%DATADIR%%/Commands/setObject.txt
X%%DATADIR%%/Commands/setTime.txt
X%%DATADIR%%/Commands/signal.txt
X%%DATADIR%%/Commands/source.txt
X%%DATADIR%%/Commands/startClient.txt
X%%DATADIR%%/Commands/startServer.txt
X%%DATADIR%%/Commands/steepest.txt
X%%DATADIR%%/Commands/stopClient.txt
X%%DATADIR%%/Commands/stopServer.txt
X%%DATADIR%%/Commands/switch.txt
X%%DATADIR%%/Commands/test.txt
X%%DATADIR%%/Commands/thawWeights.txt
X%%DATADIR%%/Commands/time.txt
X%%DATADIR%%/Commands/trace.txt
X%%DATADIR%%/Commands/train.txt
X%%DATADIR%%/Commands/trainParallel.txt
X%%DATADIR%%/Commands/unalias.txt
X%%DATADIR%%/Commands/unset.txt
X%%DATADIR%%/Commands/updateGraphs.txt
X%%DATADIR%%/Commands/updateWeights.txt
X%%DATADIR%%/Commands/useNet.txt
X%%DATADIR%%/Commands/useTestingSet.txt
X%%DATADIR%%/Commands/useTrainingSet.txt
X%%DATADIR%%/Commands/verbosity.txt
X%%DATADIR%%/Commands/view.txt
X%%DATADIR%%/Commands/viewConsole.txt
X%%DATADIR%%/Commands/viewLinks.txt
X%%DATADIR%%/Commands/viewObject.txt
X%%DATADIR%%/Commands/viewUnits.txt
X%%DATADIR%%/Commands/wait.txt
X%%DATADIR%%/Commands/waitForClients.txt
X%%DATADIR%%/Commands/while.txt
X%%DATADIR%%/Examples/adder10.ex.gz
X%%DATADIR%%/Examples/adder10.gen
X%%DATADIR%%/Examples/adder10.in
X%%DATADIR%%/Examples/adder2.ex.gz
X%%DATADIR%%/Examples/adder2.gen
X%%DATADIR%%/Examples/adder2.in
X%%DATADIR%%/Examples/bench.ex
X%%DATADIR%%/Examples/bench.in
X%%DATADIR%%/Examples/boltz-complete.in
X%%DATADIR%%/Examples/boltz.ex
X%%DATADIR%%/Examples/boltz.in
X%%DATADIR%%/Examples/client.tcl
X%%DATADIR%%/Examples/crazyxor.ex
X%%DATADIR%%/Examples/digits.ex
X%%DATADIR%%/Examples/digits.in
X%%DATADIR%%/Examples/digits2.ex
X%%DATADIR%%/Examples/encoder.dense.ex
X%%DATADIR%%/Examples/encoder.in
X%%DATADIR%%/Examples/encoder.sparse.ex
X%%DATADIR%%/Examples/filler-srbptt.in
X%%DATADIR%%/Examples/filler.ex.gz
X%%DATADIR%%/Examples/filler.gen
X%%DATADIR%%/Examples/filler.in
X%%DATADIR%%/Examples/formatSentence
X%%DATADIR%%/Examples/hand-digits.in
X%%DATADIR%%/Examples/hand-digits.trn.bex.gz
X%%DATADIR%%/Examples/hand-digits.tst.bex.gz
X%%DATADIR%%/Examples/integrate.in
X%%DATADIR%%/Examples/jets-n-sharks.ex
X%%DATADIR%%/Examples/jets-n-sharks.in
X%%DATADIR%%/Examples/kohonen.ex
X%%DATADIR%%/Examples/kohonen.in
X%%DATADIR%%/Examples/kohonen.tcl
X%%DATADIR%%/Examples/logic.ex.gz
X%%DATADIR%%/Examples/logic.gen
X%%DATADIR%%/Examples/logic.in
X%%DATADIR%%/Examples/logic2.gen
X%%DATADIR%%/Examples/logic2.in
X%%DATADIR%%/Examples/logic2.trn.ex.gz
X%%DATADIR%%/Examples/logic2.tst.ex.gz
X%%DATADIR%%/Examples/negation.ex
X%%DATADIR%%/Examples/negation.in
X%%DATADIR%%/Examples/on-off.ex
X%%DATADIR%%/Examples/on-off.in
X%%DATADIR%%/Examples/on-off2.ex
X%%DATADIR%%/Examples/output
X%%DATADIR%%/Examples/pick-one.ex.gz
X%%DATADIR%%/Examples/pick-one.in
X%%DATADIR%%/Examples/rand10x40.ex
X%%DATADIR%%/Examples/rand10x40.in
X%%DATADIR%%/Examples/rand10x40b.ex
X%%DATADIR%%/Examples/recoder.ex
X%%DATADIR%%/Examples/recoder.gen
X%%DATADIR%%/Examples/recoder.in
X%%DATADIR%%/Examples/rhw-sequence.gen
X%%DATADIR%%/Examples/rhw-sequence.in
X%%DATADIR%%/Examples/rhw-sequence.trn.ex
X%%DATADIR%%/Examples/rhw-sequence.tst.ex
X%%DATADIR%%/Examples/sequence
X%%DATADIR%%/Examples/sequence.ex
X%%DATADIR%%/Examples/sequence.gen
X%%DATADIR%%/Examples/sequence.in
X%%DATADIR%%/Examples/server.tcl
X%%DATADIR%%/Examples/t-c.ex.gz
X%%DATADIR%%/Examples/t-c.gen
X%%DATADIR%%/Examples/t-c.in
X%%DATADIR%%/Examples/task.ex
X%%DATADIR%%/Examples/task.gen
X%%DATADIR%%/Examples/task.in
X%%DATADIR%%/Examples/xor.chooseEx
X%%DATADIR%%/Examples/xor.ex
X%%DATADIR%%/Examples/xor.in
X%%DATADIR%%/Src/Images/down.xbm
X%%DATADIR%%/Src/Images/left.xbm
X%%DATADIR%%/Src/Images/left0.xbm
X%%DATADIR%%/Src/Images/left2.xbm
X%%DATADIR%%/Src/Images/left3.xbm
X%%DATADIR%%/Src/Images/lens.medium.gif
X%%DATADIR%%/Src/Images/lensIcon.gif
X%%DATADIR%%/Src/Images/reload.xbm
X%%DATADIR%%/Src/Images/right.xbm
X%%DATADIR%%/Src/Images/right0.xbm
X%%DATADIR%%/Src/Images/right2.xbm
X%%DATADIR%%/Src/Images/right2b.xbm
X%%DATADIR%%/Src/Images/right3.xbm
X%%DATADIR%%/Src/Images/right3b.xbm
X%%DATADIR%%/Src/Images/up.xbm
X%%DATADIR%%/Src/Images/up2.xbm
X%%DATADIR%%/Src/Images/up3.xbm
X%%DATADIR%%/Src/auto.tcl
X%%DATADIR%%/Src/console.tcl
X%%DATADIR%%/Src/display.tcl
X%%DATADIR%%/Src/file.tcl
X%%DATADIR%%/Src/fileselect.tcl
X%%DATADIR%%/Src/graph.tcl
X%%DATADIR%%/Src/init.tcl
X%%DATADIR%%/Src/interface.tcl
X%%DATADIR%%/Src/lensrc.tcl
X%%DATADIR%%/Src/object.tcl
X%%DATADIR%%/Src/shell.tcl
X@dirrm %%DATADIR%%/Src/Images
X@dirrm %%DATADIR%%/Src
X@dirrm %%DATADIR%%/Examples
X@dirrm %%DATADIR%%/Commands
X@dirrm %%DATADIR%%
END-of-math/lensnns/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705101627.l4AGRIlr057465>