From owner-freebsd-ports Wed Jan 27 07:30:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27594 for freebsd-ports-outgoing; Wed, 27 Jan 1999 07:30:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27514 for ; Wed, 27 Jan 1999 07:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id HAA95429; Wed, 27 Jan 1999 07:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from swarm.ie.cycu.edu.tw (swarm.ie.cycu.edu.tw [140.135.139.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA26594 for ; Wed, 27 Jan 1999 07:21:41 -0800 (PST) (envelope-from horance@swarm.ie.cycu.edu.tw) Received: (from root@localhost) by swarm.ie.cycu.edu.tw (8.9.2/8.9.1) id XAA67526; Wed, 27 Jan 1999 23:21:24 +0800 (CST) (envelope-from horance) Message-Id: <199901271521.XAA67526@swarm.ie.cycu.edu.tw> Date: Wed, 27 Jan 1999 23:21:24 +0800 (CST) From: horance@swarm.ie.cycu.edu.tw Reply-To: horance@freedom.ie.cycu.edu.tw To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9725: new ports ( devel/swarm ) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9725 >Category: ports >Synopsis: new ports ( devel/swarm ) >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 27 07:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Horance Chou >Release: FreeBSD 4.0-CURRENT i386 >Organization: FreeBSD SWARM Server >Environment: FreeBSD 4.0-CURRENT >Description: A new ports for swarm simulation system ( from The Santa Fe Institute) >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: # # swarm # swarm/files # swarm/files/md5 # swarm/patches # swarm/patches/patch-aa # swarm/patches/patch-ab # swarm/patches/patch-ac # swarm/pkg # swarm/pkg/COMMENT # swarm/pkg/DESCR # swarm/pkg/PLIST # swarm/Makefile # echo c - swarm mkdir -p swarm > /dev/null 2>&1 echo c - swarm/files mkdir -p swarm/files > /dev/null 2>&1 echo x - swarm/files/md5 sed 's/^X//' >swarm/files/md5 << 'END-of-swarm/files/md5' XMD5 (swarm-1.3.1.tar.gz) = 2d315c7f3bdb492ac8ea56d79b7db84f END-of-swarm/files/md5 echo c - swarm/patches mkdir -p swarm/patches > /dev/null 2>&1 echo x - swarm/patches/patch-aa sed 's/^X//' >swarm/patches/patch-aa << 'END-of-swarm/patches/patch-aa' X--- ltconfig.orig Wed Jan 27 20:57:33 1999 X+++ ltconfig Wed Jan 27 20:58:19 1999 X@@ -818,7 +818,7 @@ X ;; X X # FreeBSD 3, at last, uses gcc -shared to do shared libraries. X- freebsd3*) X+ freebsd3* | freebsd4*) X archive_cmds='$CC -shared -o $lib$libobjs' X hardcode_libdir_flag_spec='-R$libdir' X hardcode_direct=yes X@@ -1155,7 +1155,7 @@ X finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' X ;; X X-freebsd2* | freebsd3*) X+freebsd2* | freebsd3* | freebsd4*) X version_type=sunos X library_names_spec='${libname}${release}.so.$versuffix $libname.so' X finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' END-of-swarm/patches/patch-aa echo x - swarm/patches/patch-ab sed 's/^X//' >swarm/patches/patch-ab << 'END-of-swarm/patches/patch-ab' X--- ltmain.sh.orig Wed Jan 27 21:06:51 1999 X+++ ltmain.sh Wed Jan 27 21:09:32 1999 X@@ -969,7 +969,11 @@ X sunos) X version_vars="$version_vars major versuffix" X major="$current" X- versuffix="$current.$revision" X+ if test `objformat` = "elf" ; then X+ versuffix="$current" X+ else X+ versuffix="$current.$revision" X+ fi X ;; X X *) END-of-swarm/patches/patch-ab echo x - swarm/patches/patch-ac sed 's/^X//' >swarm/patches/patch-ac << 'END-of-swarm/patches/patch-ac' X--- Makefile.in.orig Wed Jan 27 22:34:30 1999 X+++ Makefile.in Wed Jan 27 22:49:33 1999 X@@ -370,8 +370,8 @@ X install-data-local: X $(INSTALL_DATA) swarmconfig.h $(includedir) X $(mkinstalldirs) $(bindir) $(datadir)/swarm X- $(INSTALL_PROGRAM) $(top_builddir)/libtool $(bindir)/libtool-swarm X- if test $(SWARM_INSTALL) = install-sh; then $(INSTALL_PROGRAM) $(srcdir)/install-sh $(bindir); fi X+ $(INSTALL_SCRIPT) $(top_builddir)/libtool $(bindir)/libtool-swarm X+ if test $(SWARM_INSTALL) = install-sh; then $(INSTALL_SCRIPT) $(srcdir)/install-sh $(bindir); fi X X # Tell versions [3.59,3.63) of GNU make to not export all variables. X # Otherwise a system limit (for SysV at least) may be exceeded. END-of-swarm/patches/patch-ac echo c - swarm/pkg mkdir -p swarm/pkg > /dev/null 2>&1 echo x - swarm/pkg/COMMENT sed 's/^X//' >swarm/pkg/COMMENT << 'END-of-swarm/pkg/COMMENT' XThe Swarm Simulation System END-of-swarm/pkg/COMMENT echo x - swarm/pkg/DESCR sed 's/^X//' >swarm/pkg/DESCR << 'END-of-swarm/pkg/DESCR' XSwarm is a software package for multi-agent simulation of complex Xsystems being developed at The Santa Fe Institute. Swarm is intended Xto be a useful tool for researchers in a variety of disciplines, Xespecially artificial life. The basic architecture of Swarm is the Xsimulation of collections of concurrently interacting agents: with Xthis architecture, we can implement a large variety of agent based Xmodels. Our initial target is Unix machines running GNU Objective C Xand X windows: the source code is freely available under GNU Licensing Xterms. END-of-swarm/pkg/DESCR echo x - swarm/pkg/PLIST sed 's/^X//' >swarm/pkg/PLIST << 'END-of-swarm/pkg/PLIST' Xbin/libtool-swarm Xbin/m2h Xbin/make-h2x Xetc/swarm/Makefile.appl Xetc/swarm/Makefile.common Xetc/swarm/Makefile.lib Xetc/swarm/config.swarm Xinclude/activity.h Xinclude/activity/Action.h Xinclude/activity/ActionGroup.h Xinclude/activity/CompoundAction.h Xinclude/activity/Schedule.h Xinclude/activity/SwarmProcess.h Xinclude/activity/XActivity.h Xinclude/activity/classes.h Xinclude/activity/types.h Xinclude/analysis.h Xinclude/analysis/ActiveGraph.h Xinclude/analysis/ActiveOutFile.h Xinclude/analysis/Averager.h Xinclude/analysis/EZBin.h Xinclude/analysis/EZDistribution.h Xinclude/analysis/EZGraph.h Xinclude/analysis/Entropy.h Xinclude/analysis/FunctionGraph.h Xinclude/collections.h Xinclude/collections/Array.h Xinclude/collections/Collection.h Xinclude/collections/InputStream.h Xinclude/collections/List.h Xinclude/collections/List_GEN.h Xinclude/collections/List_linked.h Xinclude/collections/List_mlinks.h Xinclude/collections/Map.h Xinclude/collections/OrderedSet.h Xinclude/collections/OutputStream.h Xinclude/collections/Set.h Xinclude/collections/StringObject.h Xinclude/collections/classes.h Xinclude/collections/collections.h Xinclude/collections/predicates.h Xinclude/collections/types.h Xinclude/defobj.h Xinclude/defobj/Create.h Xinclude/defobj/Customize.h Xinclude/defobj/DefClass.h Xinclude/defobj/DefObject.h Xinclude/defobj/Program.h Xinclude/defobj/Symbol.h Xinclude/defobj/Zone.h Xinclude/defobj/classes.h Xinclude/defobj/defalloc.h Xinclude/defobj/deftype.h Xinclude/defobj/types.h Xinclude/gui.h Xinclude/misc.h Xinclude/misc/argp.h Xinclude/misc/getopt.h Xinclude/objectbase.h Xinclude/objectbase/ActivityControl.h Xinclude/objectbase/Arguments.h Xinclude/objectbase/CompleteProbeMap.h Xinclude/objectbase/CompleteVarMap.h Xinclude/objectbase/CustomProbeMap.h Xinclude/objectbase/DefaultProbeMap.h Xinclude/objectbase/EmptyProbeMap.h Xinclude/objectbase/MessageProbe.h Xinclude/objectbase/Probe.h Xinclude/objectbase/ProbeLibrary.h Xinclude/objectbase/ProbeMap.h Xinclude/objectbase/Swarm.h Xinclude/objectbase/SwarmObject.h Xinclude/objectbase/VarProbe.h Xinclude/objectbase/probing.h Xinclude/objectbase/swarm_rts_routines.h Xinclude/objectbase/version.h Xinclude/random.h Xinclude/random/ACGgen.h Xinclude/random/BernoulliDist.h Xinclude/random/C2LCGXgen.h Xinclude/random/C2MRG3gen.h Xinclude/random/C2TAUSgen.h Xinclude/random/C3MWCgen.h Xinclude/random/C4LCGXgen.h Xinclude/random/ExponentialDist.h Xinclude/random/GammaDist.h Xinclude/random/LCGgen.h Xinclude/random/LogNormalDist.h Xinclude/random/MRGgen.h Xinclude/random/MT19937gen.h Xinclude/random/MWCAgen.h Xinclude/random/MWCBgen.h Xinclude/random/NormalDist.h Xinclude/random/PMMLCGgen.h Xinclude/random/PSWBgen.h Xinclude/random/RWC2gen.h Xinclude/random/RWC8gen.h Xinclude/random/RandomBitDist.h Xinclude/random/RandomDefs.h Xinclude/random/RandomVars.h Xinclude/random/SCGgen.h Xinclude/random/SWBgen.h Xinclude/random/TGFSRgen.h Xinclude/random/UniformDoubleDist.h Xinclude/random/UniformIntegerDist.h Xinclude/random/UniformUnsignedDist.h Xinclude/random/distributions.h Xinclude/random/generators.h Xinclude/simtools.h Xinclude/simtools/AppendFile.h Xinclude/simtools/Archiver.h Xinclude/simtools/InFile.h Xinclude/simtools/ListShuffler.h Xinclude/simtools/NSelect.h Xinclude/simtools/ObjectLoader.h Xinclude/simtools/ObjectSaver.h Xinclude/simtools/OutFile.h Xinclude/simtools/QSort.h Xinclude/simtools/UName.h Xinclude/simtoolsgui.h Xinclude/simtoolsgui/ActionCache.h Xinclude/simtoolsgui/ActionHolder.h Xinclude/simtoolsgui/ClassDisplayWidget.h Xinclude/simtoolsgui/CommonProbeDisplay.h Xinclude/simtoolsgui/CompleteProbeDisplay.h Xinclude/simtoolsgui/ControlPanel.h Xinclude/simtoolsgui/GUIComposite.h Xinclude/simtoolsgui/GUISwarm.h Xinclude/simtoolsgui/MessageProbeWidget.h Xinclude/simtoolsgui/MultiVarProbeDisplay.h Xinclude/simtoolsgui/MultiVarProbeWidget.h Xinclude/simtoolsgui/ProbeDisplay.h Xinclude/simtoolsgui/ProbeDisplayManager.h Xinclude/simtoolsgui/SimpleProbeDisplay.h Xinclude/simtoolsgui/SingleProbeDisplay.h Xinclude/simtoolsgui/VarProbeWidget.h Xinclude/simtoolsgui/global.h Xinclude/space.h Xinclude/space/Ca2d.h Xinclude/space/ConwayLife2d.h Xinclude/space/DblBuffer2d.h Xinclude/space/Diffuse2d.h Xinclude/space/Discrete2d.h Xinclude/space/Grid2d.h Xinclude/space/Int2dFiler.h Xinclude/space/Object2dDisplay.h Xinclude/space/Value2dDisplay.h Xinclude/swarmconfig.h Xinclude/tclobjc/TclInterp.h Xinclude/tclobjc/TkInterp.h Xinclude/tclobjc/tclObjc.h Xinclude/tkobjc.h Xinclude/tkobjc/ArchivedGeometryWidget.h Xinclude/tkobjc/Button.h Xinclude/tkobjc/ButtonPanel.h Xinclude/tkobjc/Canvas.h Xinclude/tkobjc/CanvasAbstractItem.h Xinclude/tkobjc/CanvasItem.h Xinclude/tkobjc/CheckButton.h Xinclude/tkobjc/Circle.h Xinclude/tkobjc/ClassDisplayHideButton.h Xinclude/tkobjc/ClassDisplayLabel.h Xinclude/tkobjc/Colormap.h Xinclude/tkobjc/CompleteProbeDisplayLabel.h Xinclude/tkobjc/CompositeItem.h Xinclude/tkobjc/Entry.h Xinclude/tkobjc/Form.h Xinclude/tkobjc/Frame.h Xinclude/tkobjc/Graph.h Xinclude/tkobjc/Histogram.h Xinclude/tkobjc/InputWidget.h Xinclude/tkobjc/Label.h Xinclude/tkobjc/Line.h Xinclude/tkobjc/LinkItem.h Xinclude/tkobjc/MessageProbeEntry.h Xinclude/tkobjc/NodeItem.h Xinclude/tkobjc/OvalNodeItem.h Xinclude/tkobjc/Pixmap.h Xinclude/tkobjc/ProbeCanvas.h Xinclude/tkobjc/Raster.h Xinclude/tkobjc/Rectangle.h Xinclude/tkobjc/RectangleNodeItem.h Xinclude/tkobjc/ScheduleItem.h Xinclude/tkobjc/SimpleProbeDisplayHideButton.h Xinclude/tkobjc/SuperButton.h Xinclude/tkobjc/TextItem.h Xinclude/tkobjc/TkExtra.h Xinclude/tkobjc/VarProbeEntry.h Xinclude/tkobjc/VarProbeLabel.h Xinclude/tkobjc/Widget.h Xinclude/tkobjc/WindowGeometryRecord.h Xinclude/tkobjc/ZoomRaster.h Xinclude/tkobjc/common.h Xinclude/tkobjc/global.h Xinclude/tkobjc/internal.h Xinclude/tkobjc/win32dib.h Xlib/libactivity.a Xlib/libactivity.la Xlib/libactivity.so Xlib/libactivity.so.1 Xlib/libanalysis.a Xlib/libanalysis.la Xlib/libanalysis.so Xlib/libanalysis.so.2 Xlib/libcollections.a Xlib/libcollections.la Xlib/libcollections.so Xlib/libcollections.so.1 Xlib/libdefobj.a Xlib/libdefobj.la Xlib/libdefobj.so Xlib/libdefobj.so.0 Xlib/libmisc.a Xlib/libmisc.la Xlib/libmisc.so Xlib/libmisc.so.2 Xlib/libobjectbase.a Xlib/libobjectbase.la Xlib/libobjectbase.so Xlib/libobjectbase.so.2 Xlib/librandom.a Xlib/librandom.la Xlib/librandom.so Xlib/librandom.so.0 Xlib/libsimtools.a Xlib/libsimtools.la Xlib/libsimtools.so Xlib/libsimtools.so.2 Xlib/libsimtoolsgui.a Xlib/libsimtoolsgui.la Xlib/libsimtoolsgui.so Xlib/libsimtoolsgui.so.2 Xlib/libspace.a Xlib/libspace.la Xlib/libspace.so Xlib/libspace.so.2 Xlib/libtclobjc.a Xlib/libtclobjc.la Xlib/libtclobjc.so Xlib/libtclobjc.so.0 Xlib/libtkobjc.a Xlib/libtkobjc.la Xlib/libtkobjc.so Xlib/libtkobjc.so.2 X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B X@dirrm etc/swarm X@dirrm include/activity X@dirrm include/analysis X@dirrm include/collections X@dirrm include/defobj X@dirrm include/misc X@dirrm include/objectbase X@dirrm include/random X@dirrm include/simtools X@dirrm include/simtoolsgui X@dirrm include/space X@dirrm include/tclobjc X@dirrm include/tkobjc END-of-swarm/pkg/PLIST echo x - swarm/Makefile sed 's/^X//' >swarm/Makefile << 'END-of-swarm/Makefile' X# New ports collection makefile for: swarm X# Version required: 1.3.1 X# Date created: 26 June 1998 X# Whom: Horance C.H Chou X# X# $Id: Makefile,v 1.28 1999/01/23 07:05:23 vanilla Exp $ X# X XDISTNAME= swarm-1.3.1 XPKGNAME= swarm-1.3.1 XCATEGORIES= devel XMASTER_SITES= ftp://ftp.santafe.edu/pub/swarm \ X XMAINTAINER= horance@freedom.ie.cycu.edu.tw X XLIB_DEPENDS= ffi.2:${PORTSDIR}/devel/libffi \ X png.3:${PORTSDIR}/graphics/png \ X Xpm.4:${PORTSDIR}/graphics/xpm \ X tcl80.1:${PORTSDIR}/lang/tcl80 \ X tk80.1:${PORTSDIR}/x11-toolkits/tk80 \ X BLT.2:${PORTSDIR}/x11-toolkits/blt X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-defaultdir=/usr/local \ X --with-tclincludedir=/usr/local/include/tcl8.0/generic \ X --with-tkincludedir=/usr/local/include/tk8.0/generic \ X Xpost-install: X @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib X X.include END-of-swarm/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message