diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
commit | 240eed442d1f97f7d7dd9430673499ef25dd1f36 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /x11/xpns | |
parent | 652e2956ee0721786181dcf43d7559a17c9b93f9 (diff) | |
download | pkgsrc-240eed442d1f97f7d7dd9430673499ef25dd1f36.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'x11/xpns')
-rw-r--r-- | x11/xpns/Makefile | 35 | ||||
-rw-r--r-- | x11/xpns/files/md5 | 1 | ||||
-rw-r--r-- | x11/xpns/patches/patch-aa | 28 | ||||
-rw-r--r-- | x11/xpns/patches/patch-ab | 13 | ||||
-rw-r--r-- | x11/xpns/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xpns/pkg/DESCR | 29 | ||||
-rw-r--r-- | x11/xpns/pkg/PLIST | 14 |
7 files changed, 121 insertions, 0 deletions
diff --git a/x11/xpns/Makefile b/x11/xpns/Makefile new file mode 100644 index 00000000000..51855d12dbe --- /dev/null +++ b/x11/xpns/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: xpns +# Version required: 1.0 +# Date created: 6 Apr 97 +# Whom: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:15 hubertf Exp $ +# + +DISTNAME= pns_source +PKGNAME= xpns-1.0 +CATEGORIES= misc cad +MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/petri-nets/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= pgiffuni@fps.biblos.unal.edu.co + +USE_X11= yes +NO_WRKSUBDIR= yes +MAKEFILE= makefile +ALL_TARGET= pns + +do-install: + ${MKDIR} ${PREFIX}/lib/xpns + ${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/ + ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/xpns + ${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/ +.endif + +.include <bsd.port.mk> diff --git a/x11/xpns/files/md5 b/x11/xpns/files/md5 new file mode 100644 index 00000000000..7604b7e6d21 --- /dev/null +++ b/x11/xpns/files/md5 @@ -0,0 +1 @@ +MD5 (pns_source.tar.Z) = 156e5971dc27e9580c68a9947eeb327c diff --git a/x11/xpns/patches/patch-aa b/x11/xpns/patches/patch-aa new file mode 100644 index 00000000000..aa8b025d4e2 --- /dev/null +++ b/x11/xpns/patches/patch-aa @@ -0,0 +1,28 @@ +--- makefile.orig Wed Jul 14 06:05:14 1993 ++++ makefile Tue Apr 8 11:49:27 1997 +@@ -7,19 +7,19 @@ + #I = -I/usr/include + + #------------------------------------------ +-# OPTIONEN SUN ++# OPTIONEN FreeBSD + #------------------------------------------ +-O = -O +-I = -I/usr/local/X11R5/include ++O = -O2 -m486 ++I = -I/usr/X11R6/include + +-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm ++L = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lX11 -lm + + + #------------------------------------------ + # COMPILER UND LINKER + #------------------------------------------ +-B = gcc-2.3.3 $O -o +-CC = gcc-2.3.3 $O $I ++B = gcc $O -o ++CC = gcc $O $I + + #------------------------------------------ + # FUNKTIONEN DIR diff --git a/x11/xpns/patches/patch-ab b/x11/xpns/patches/patch-ab new file mode 100644 index 00000000000..6f224dbc0bd --- /dev/null +++ b/x11/xpns/patches/patch-ab @@ -0,0 +1,13 @@ +--- xpns.orig Tue Apr 8 11:27:14 1997 ++++ xpns Tue Apr 8 11:29:05 1997 +@@ -1,6 +1,7 @@ +-#!/bin/tcsh +-setenv XAPPLRESDIR $PWD/ +-pns ++#!/bin/csh ++setenv XAPPLRESDIR /usr/X11R6/lib/xpns/ ++# Note pns will dump core if environment is not correct ++/usr/X11R6/lib/xpns/pns + + + diff --git a/x11/xpns/pkg/COMMENT b/x11/xpns/pkg/COMMENT new file mode 100644 index 00000000000..c6ba332b84b --- /dev/null +++ b/x11/xpns/pkg/COMMENT @@ -0,0 +1 @@ +Petri-Net Simulator for Xwindows diff --git a/x11/xpns/pkg/DESCR b/x11/xpns/pkg/DESCR new file mode 100644 index 00000000000..f81cee25a9d --- /dev/null +++ b/x11/xpns/pkg/DESCR @@ -0,0 +1,29 @@ +PNS +--- +Is a public domain Petri net simulation tool +for Unix systems. +PNS is a graphics tool and requires the X window system. +see also www-page: +http://www.informatik.uni-stuttgart.de/ipvr/bv/pns/pns.html + +Examples: +--------- +- simple.net + 3-2 Reduction + +- add.net + x = x + y + +- sub1.net + x >= y : x = x - y + x < y : y = y - x + +- sub2.net + x = x - y + NEGATIVE = 1 <=> x-y < 0 + +- mult.net + z = x * y + +- phil.net + Dining Philosophers Problem diff --git a/x11/xpns/pkg/PLIST b/x11/xpns/pkg/PLIST new file mode 100644 index 00000000000..e9f476cc6b9 --- /dev/null +++ b/x11/xpns/pkg/PLIST @@ -0,0 +1,14 @@ +lib/xpns/pns +lib/xpns/pns.hlp +lib/xpns/pns.shell +bin/xpns +share/doc/xpns/a.net +share/doc/xpns/a1.net +share/doc/xpns/add.net +share/doc/xpns/mult.net +share/doc/xpns/phil.net +share/doc/xpns/rw.net +share/doc/xpns/sub.net +share/doc/xpns/sub2.net +@dirrm share/doc/xpns +@dirrm lib/xpns |