summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordogcow <dogcow@pkgsrc.org>2005-07-27 05:34:27 +0000
committerdogcow <dogcow@pkgsrc.org>2005-07-27 05:34:27 +0000
commit158fab3d0f6f906e2a35bbce917db8b9eb513029 (patch)
tree07cb79e8b5a7d841dc4af9d38755f14b8ce7719a
parent5c44ecc864ed3457e75efd15c07331047ff381f6 (diff)
downloadpkgsrc-158fab3d0f6f906e2a35bbce917db8b9eb513029.tar.gz
Picp is a command-line interface to MicroChip Picstart Plus, Newfound
Electronics Warp-13, and JuPic PIC programmers.
-rw-r--r--devel/picp/DESCR20
-rw-r--r--devel/picp/Makefile14
-rw-r--r--devel/picp/PLIST4
-rw-r--r--devel/picp/distinfo6
-rw-r--r--devel/picp/patches/patch-aa39
5 files changed, 83 insertions, 0 deletions
diff --git a/devel/picp/DESCR b/devel/picp/DESCR
new file mode 100644
index 00000000000..8d400c6b8f4
--- /dev/null
+++ b/devel/picp/DESCR
@@ -0,0 +1,20 @@
+Picp is a command-line interface to MicroChip Picstart Plus, Newfound
+Electronics Warp-13, and JuPic PIC programmers.
+
+supported devices:
+10F200, 10F202, 10F204, 10F206, 12C508, 12C508A, 12C509, 12C509A, 12CE518,
+12CE519, 12F508, 12F509, 12F629, 12C671, 12C672, 12CE673, 12CE674, 12F675,
+12F683, 14000, 16C505, 16C52, 16C54, 16C54A, 16C54B, 16C54C, 16HV540, 16C55,
+16C55A, 16C554, 16C558, 16C56, 16C56A, 16C57, 16C57C, 16C58A, 16C58B, 16C61,
+16C62, 16C62A, 16C62B, 16C620, 16C620A, 16C621, 16C621A, 16C622, 16C622A,
+16CE623, 16CE624, 16CE625, 16F627, 16F627A, 16F628, 16F628A, 16C63, 16C63A,
+16C63B, 16F630, 16C64, 16C64A, 16C642, 16F648, 16F648A, 16C65, 16C65A, 16C65B,
+16C66, 16C66A, 16C662, 16C67, 16C67A, 16F676, 16C71, 16C710, 16C711, 16C712,
+16C715, 16C716, 16C717, 16C72, 16C72A, 16F72, 16C73, 16C73A, 16C73B, 16F73,
+16C74, 16C74A, 16C74B, 16F74, 16C745, 16C76, 16F76, 16C765, 16C77, 16F77,
+16C770, 16C771, 16C773, 16C774, 16C781, 16C782, 16F818, 16F819, 16F83, 16C84,
+16F84, 16F84A, 16F87, 16F88, 16F870, 16F871, 16F872, 16F873, 16F873A, 16F874,
+16F874A, 16F876, 16F876A, 16F877, 16F877A, 16C923, 16C924, 16C925, 16C926,
+17C42, 17C42A, 17C43, 17C44, 17C752, 17C756, 17C756A, 17C762, 17C766, 18C242,
+18F242, 18F248, 18C252, 18F252, 18F258, 18C442, 18F442, 18F4431, 18F448,
+18C452, 18F452, 18F4550, 18F458, 18F6520, 18C658, 18C858, rf509AF, rf509AG
diff --git a/devel/picp/Makefile b/devel/picp/Makefile
new file mode 100644
index 00000000000..56ffa8f57e0
--- /dev/null
+++ b/devel/picp/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/27 05:34:27 dogcow Exp $
+#
+
+DISTNAME= picp-0.6.7
+CATEGORIES= devel
+MASTER_SITES= http://home.pacbell.net/theposts/picmicro/
+
+MAINTAINER= dogcow@NetBSD.org
+HOMEPAGE= http://home.pacbell.net/theposts/picmicro/
+COMMENT= Command-line Picstart Plus/Warp-13 PIC programmer
+
+INSTALLATION_DIRS+= bin share/doc/picp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/picp/PLIST b/devel/picp/PLIST
new file mode 100644
index 00000000000..03c27718e95
--- /dev/null
+++ b/devel/picp/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/27 05:34:27 dogcow Exp $
+bin/picp
+share/doc/picp/PICPmanual.html
+@dirrm share/doc/picp
diff --git a/devel/picp/distinfo b/devel/picp/distinfo
new file mode 100644
index 00000000000..298d9d8b7cd
--- /dev/null
+++ b/devel/picp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/07/27 05:34:27 dogcow Exp $
+
+SHA1 (picp-0.6.7.tar.gz) = 870c9af3c9d738841754dc4960ce304ffded7cf4
+RMD160 (picp-0.6.7.tar.gz) = 1aab3e2771005bb7bc76838baa63069f9367efa7
+Size (picp-0.6.7.tar.gz) = 122700 bytes
+SHA1 (patch-aa) = bae4a62253f60a88a6f94271d306d2fec4004aa4
diff --git a/devel/picp/patches/patch-aa b/devel/picp/patches/patch-aa
new file mode 100644
index 00000000000..c6c5960faec
--- /dev/null
+++ b/devel/picp/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/27 05:34:27 dogcow Exp $
+
+--- Makefile.orig 2005-07-26 21:37:11.000000000 -0700
++++ Makefile
+@@ -3,11 +3,11 @@
+ # PIC programmer interface
+ #
+
+-CC=gcc
++CC=$(CXX)
+ APP=picp
+-INCLUDES=-I.
+-OPTIONS=-O2 -Wall -x c++
+-CFLAGS=$(INCLUDES) $(OPTIONS)
++INCLUDES+=-I.
++
++CFLAGS+=$(INCLUDES) $(OPTIONS)
+ SRCS=main.c serial.c picdev.c record.c parse.c atoi_base.c
+ OBJECTS = main.o serial.o picdev.o record.o parse.o atoi_base.o
+
+@@ -19,7 +19,7 @@ WINOBJECTS = main.obj serial.obj picdev.
+ all: $(APP)
+
+ $(APP): $(OBJECTS)
+- $(CC) $(OBJECTS) -lstdc++ -o $(APP)
++ $(CXX) $(OBJECTS) -o $(APP)
+ strip $(APP)
+
+ clean:
+@@ -27,7 +27,8 @@ clean:
+ rm -f $(APP)
+
+ install:
+- cp -f $(APP) /usr/local/bin/
++ $(INSTALL) -m 755 $(APP) $(PREFIX)/bin/
++ $(INSTALL) -m 644 PICPmanual.html $(PREFIX)/share/doc/picp/
+
+ win: $(APP).exe
+