summaryrefslogtreecommitdiff
path: root/cad/spiceprm
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>1999-09-30 15:13:25 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>1999-09-30 15:13:25 +0000
commit1baf4d2fec3db683213137685bf011cc625df2bd (patch)
tree02265f8fa8094527e942ccb7a316a6e3e8e498a0 /cad/spiceprm
parent4060325c77011d6ec95c95ea7a1ab8106ddfaa22 (diff)
downloadpkgsrc-1baf4d2fec3db683213137685bf011cc625df2bd.tar.gz
Import spiceprm-0.11 package.
A Spice preprocessor for parameterized subcircuits
Diffstat (limited to 'cad/spiceprm')
-rw-r--r--cad/spiceprm/Makefile26
-rw-r--r--cad/spiceprm/files/md53
-rw-r--r--cad/spiceprm/pkg/COMMENT1
-rw-r--r--cad/spiceprm/pkg/DESCR8
-rw-r--r--cad/spiceprm/pkg/MESSAGE6
-rw-r--r--cad/spiceprm/pkg/PLIST6
6 files changed, 50 insertions, 0 deletions
diff --git a/cad/spiceprm/Makefile b/cad/spiceprm/Makefile
new file mode 100644
index 00000000000..0a26c7a6786
--- /dev/null
+++ b/cad/spiceprm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/30 15:13:25 dmcmahill Exp $
+#
+
+DISTNAME= spiceprm-0.11
+WRKSRC= ${WRKDIR}/spiceprm
+CATEGORIES= cad
+MASTER_SITES= http://metalab.unc.edu/pub/Linux/apps/circuits/
+
+MAINTAINER= packages@netbsd.org
+
+NO_CONFIGURE= YES
+USE_PERL= YES
+
+do-build:
+ ${MV} ${WRKSRC}/spiceprm ${WRKSRC}/spiceprm.BAK
+ ${SED} 's!/usr/bin/perl!${LOCALBASE}/bin/perl!g' \
+ < ${WRKSRC}/spiceprm.BAK > ${WRKSRC}/spiceprm
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/spiceprm ${PREFIX}/bin/spiceprm
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spiceprm
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/spiceprm
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spiceprm
+ ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/spiceprm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/spiceprm/files/md5 b/cad/spiceprm/files/md5
new file mode 100644
index 00000000000..4614d8b0096
--- /dev/null
+++ b/cad/spiceprm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/30 15:13:26 dmcmahill Exp $
+
+MD5 (spiceprm-0.11.tar.gz) = 0072b64c4f9cfa14c58f1a4565dd5e9e
diff --git a/cad/spiceprm/pkg/COMMENT b/cad/spiceprm/pkg/COMMENT
new file mode 100644
index 00000000000..c5bff7affb3
--- /dev/null
+++ b/cad/spiceprm/pkg/COMMENT
@@ -0,0 +1 @@
+A Spice preprocessor for parameterized subcircuits
diff --git a/cad/spiceprm/pkg/DESCR b/cad/spiceprm/pkg/DESCR
new file mode 100644
index 00000000000..934277aec7a
--- /dev/null
+++ b/cad/spiceprm/pkg/DESCR
@@ -0,0 +1,8 @@
+Spiceprm was written in the course of moving my engineering activities
+to the Linux operating system. My previous MSDOS spice package
+permitted passing parameters to subcircuits. The raw Berkely Spice
+doesn't. Anyone used to this feature knows the frustration of trying
+to use a simulator without it. This script is the result of my
+desperation. It translates a circuit file containing parameterized
+subcircuits with math expressions into another circuit file meeting raw
+spice requirements. You then run spice on the translated output file.
diff --git a/cad/spiceprm/pkg/MESSAGE b/cad/spiceprm/pkg/MESSAGE
new file mode 100644
index 00000000000..d69f8e03a72
--- /dev/null
+++ b/cad/spiceprm/pkg/MESSAGE
@@ -0,0 +1,6 @@
+##############################################################
+#
+# Documentation is installed in ${PREFIX}/share/doc/spiceprm
+# Examples are installed is ${PREFIX}/share/examples/spiceprm
+#
+##############################################################
diff --git a/cad/spiceprm/pkg/PLIST b/cad/spiceprm/pkg/PLIST
new file mode 100644
index 00000000000..7094fe1fb9c
--- /dev/null
+++ b/cad/spiceprm/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/30 15:13:25 dmcmahill Exp $
+bin/spiceprm
+share/doc/spiceprm/README
+share/examples/spiceprm/EXAMPLES
+@dirrm share/doc/spiceprm
+@dirrm share/examples/spiceprm