summaryrefslogtreecommitdiff
path: root/cad/spice/files
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-06-11 14:39:01 +0000
committerhubertf <hubertf@pkgsrc.org>1998-06-11 14:39:01 +0000
commit9bc476a12c1cceb9254ff05ee3ad16ec0ace589d (patch)
tree4241ada6e2427b783f89ada0174a35075c4aab31 /cad/spice/files
parent3510abfc45162439b2d21e4e8e317541a5fc709e (diff)
downloadpkgsrc-9bc476a12c1cceb9254ff05ee3ad16ec0ace589d.tar.gz
spice: A general-purpose circuit simulation program
Diffstat (limited to 'cad/spice/files')
-rw-r--r--cad/spice/files/FreeBSD10
-rw-r--r--cad/spice/files/Makefile18
-rw-r--r--cad/spice/files/md51
3 files changed, 29 insertions, 0 deletions
diff --git a/cad/spice/files/FreeBSD b/cad/spice/files/FreeBSD
new file mode 100644
index 00000000000..9639ab93fd9
--- /dev/null
+++ b/cad/spice/files/FreeBSD
@@ -0,0 +1,10 @@
+# FreeBSD config exception file
+
+MAKE = /usr/bin/make
+INTERFACE_OPTS = -DWANT_X11
+CC = gcc
+CC_OPT = -O2 -pipe
+CC_OPT_SAFE = -O2 -fno-strength-reduce -pipe
+LDFLAGS = -L$(X11BASE)/lib -lm -ltermcap
+ASM_HACK = < /dev/null
+SYS_CFLAGS = -Dbsd
diff --git a/cad/spice/files/Makefile b/cad/spice/files/Makefile
new file mode 100644
index 00000000000..6ca93e2439f
--- /dev/null
+++ b/cad/spice/files/Makefile
@@ -0,0 +1,18 @@
+
+all:
+ util/build FreeBSD default
+
+install:
+ util/build FreeBSD install
+ chmod a+rx ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \
+ ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \
+ ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec
+ strip ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \
+ ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \
+ ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec
+ chmod -R a+rX ${PREFIX}/share/spice3
+ install -c -m 644 -o bin -g bin man/man5/mfbcap.5 ${PREFIX}/man/man5/mfbcap.5
+ install -c -m 644 -o bin -g bin man/man1/sconvert.1 ${PREFIX}/man/man1/sconvert.1
+ install -c -m 644 -o bin -g bin man/man1/nutmeg.1 ${PREFIX}/man/man1/nutmeg.1
+ install -c -m 644 -o bin -g bin man/man1/spice.1 ${PREFIX}/man/man1/spice.1
+ install -c -m 644 -o bin -g bin man/man3/mfb.3 ${PREFIX}/man/man3/mfb.3
diff --git a/cad/spice/files/md5 b/cad/spice/files/md5
new file mode 100644
index 00000000000..06e45db8691
--- /dev/null
+++ b/cad/spice/files/md5
@@ -0,0 +1 @@
+MD5 (sp3f4.kit.tar.Z) = d55eb08a7f523248b1b509092a444aeb