summaryrefslogtreecommitdiff
path: root/cad/ntesla
diff options
context:
space:
mode:
authorfrueauf <frueauf>1999-01-17 09:31:28 +0000
committerfrueauf <frueauf>1999-01-17 09:31:28 +0000
commitdc02902cac3712d945bff46a43af0e15cfd4af5b (patch)
tree41096104c87640c1c529f41815e4d4cf136d8640 /cad/ntesla
parenta6f08703366191b931c57f734740fafa51ae334f (diff)
downloadpkgsrc-dc02902cac3712d945bff46a43af0e15cfd4af5b.tar.gz
Initial import of ntesla-1.7, a tesla coil design program.
Provided in pr 6826 by Dan McMahill.
Diffstat (limited to 'cad/ntesla')
-rw-r--r--cad/ntesla/Makefile15
-rw-r--r--cad/ntesla/files/md53
-rw-r--r--cad/ntesla/patches/patch-aa15
-rw-r--r--cad/ntesla/patches/patch-ab11
-rw-r--r--cad/ntesla/pkg/COMMENT1
-rw-r--r--cad/ntesla/pkg/DESCR9
-rw-r--r--cad/ntesla/pkg/PLIST2
7 files changed, 56 insertions, 0 deletions
diff --git a/cad/ntesla/Makefile b/cad/ntesla/Makefile
new file mode 100644
index 00000000000..a6e0b533f82
--- /dev/null
+++ b/cad/ntesla/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/01/17 09:31:28 frueauf Exp $
+#
+
+DISTNAME= ntesla-1.7
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/circuits
+
+MAINTAINER= mcmahill@alum.mit.edu
+HOMEPAGE= http://www.nic.funet.fi/pub/sci/electrical/tesla/
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ntesla ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/ntesla/files/md5 b/cad/ntesla/files/md5
new file mode 100644
index 00000000000..2405c7ff747
--- /dev/null
+++ b/cad/ntesla/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/01/17 09:31:28 frueauf Exp $
+
+MD5 (ntesla-1.7.tar.gz) = 1593dafdb42905f369464816af128456
diff --git a/cad/ntesla/patches/patch-aa b/cad/ntesla/patches/patch-aa
new file mode 100644
index 00000000000..caf628e0a09
--- /dev/null
+++ b/cad/ntesla/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/01/17 09:31:28 frueauf Exp $
+
+--- Makefile.orig Sun Jan 17 01:00:50 1999
++++ Makefile Sun Jan 17 01:01:23 1999
+@@ -23,7 +23,9 @@
+ # line, or use gcc.
+ #CC=acc
+-CFLAGS=-Wall
++CFLAGS=-Wall -O2 -Dunix
+
+ OBJ = main.o solonoid.o wiretab.o interp.o spiral.o trans.o cap.o misc.o
++
++all: ntesla
+
+ ntesla: $(OBJ)
diff --git a/cad/ntesla/patches/patch-ab b/cad/ntesla/patches/patch-ab
new file mode 100644
index 00000000000..442453430cc
--- /dev/null
+++ b/cad/ntesla/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/01/17 09:31:28 frueauf Exp $
+
+--- main.c.orig Sun Jan 17 01:05:27 1999
++++ main.c Sun Jan 17 01:05:39 1999
+@@ -548,5 +548,5 @@
+ S "\n");
+ S "If you have access to the Internet, you should visit:\n");
+-S " http://www.funet.fi/pub/sci/electrical/tesla\n");
++S " http://www.nic.funet.fi/pub/sci/electrical/tesla\n");
+ S "where you will find a large quantity of information on Tesla Coils.\n");
+ S "\n");
diff --git a/cad/ntesla/pkg/COMMENT b/cad/ntesla/pkg/COMMENT
new file mode 100644
index 00000000000..44c89f26dad
--- /dev/null
+++ b/cad/ntesla/pkg/COMMENT
@@ -0,0 +1 @@
+tesla coil design program.
diff --git a/cad/ntesla/pkg/DESCR b/cad/ntesla/pkg/DESCR
new file mode 100644
index 00000000000..6f3feea652c
--- /dev/null
+++ b/cad/ntesla/pkg/DESCR
@@ -0,0 +1,9 @@
+Ntesla is a program to help design a Tesla Coil. It provides a series
+of design screens where you fill in proposed specifications for the
+various components of the design. It performs all the necessary
+calculations for resonant frequency, capacitor size, primary taps,
+etc, and helps you come up with a balanced, optimal design. Some help
+text is built-in, and there is also a reference to the tesla archives
+on funet.
+
+Author: sfalco@worldnet.att.net (Steven A. Falco)
diff --git a/cad/ntesla/pkg/PLIST b/cad/ntesla/pkg/PLIST
new file mode 100644
index 00000000000..e426a607f94
--- /dev/null
+++ b/cad/ntesla/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/17 09:31:28 frueauf Exp $
+bin/ntesla