summaryrefslogtreecommitdiffstats
path: root/devel/picprog/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-01 04:03:47 +0000
committersteve <steve@FreeBSD.org>1999-11-01 04:03:47 +0000
commite560c6911ab533ce047127dcce1c095d5f168ccc (patch)
tree3830f1dfae41045393f38909bbd12eb1130ad106 /devel/picprog/files
parent41f5d3d31d0127e2211262176e27aa0d8eb6accd (diff)
downloadFreeBSD-ports-e560c6911ab533ce047127dcce1c095d5f168ccc.zip
FreeBSD-ports-e560c6911ab533ce047127dcce1c095d5f168ccc.tar.gz
Initial import of pciprog version 1.0.
A serial port pic16c84 programmer. PR: 13516 Submitted by: Johan Kerckaert <kirk@bricsnet.com>
Diffstat (limited to 'devel/picprog/files')
-rw-r--r--devel/picprog/files/patch-aa11
-rw-r--r--devel/picprog/files/patch-ab31
-rw-r--r--devel/picprog/files/patch-ac14
3 files changed, 56 insertions, 0 deletions
diff --git a/devel/picprog/files/patch-aa b/devel/picprog/files/patch-aa
new file mode 100644
index 0000000..600e33d
--- /dev/null
+++ b/devel/picprog/files/patch-aa
@@ -0,0 +1,11 @@
+--- hexfile.h.orig Tue Aug 31 11:51:09 1999
++++ hexfile.h Tue Aug 31 11:53:58 1999
+@@ -48,7 +48,7 @@
+ #include "picport.h"
+
+ class hexfile {
+- const int size = 0x4000;
++ static const int size = 0x4000;
+ short pgm [size];
+
+ int program_location (picport& pic, int addr, bool data) const;
diff --git a/devel/picprog/files/patch-ab b/devel/picprog/files/patch-ab
new file mode 100644
index 0000000..352ffdd
--- /dev/null
+++ b/devel/picprog/files/patch-ab
@@ -0,0 +1,31 @@
+--- Makefile.orig Mon Jun 2 06:37:54 1997
++++ Makefile Sun Oct 31 09:02:37 1999
+@@ -28,9 +28,10 @@
+
+ VERSION=1.0
+
+-CXX=g++
+-CXXFLAGS=-O2 -Wall -Wmissing-prototypes
+-LDFLAGS=
++CXX?=g++
++CXXFLAGS?=-O2 -Wall -Wmissing-prototypes
++CXXFLAGS+=-I$(PREFIX)/include
++LDFLAGS=-L$(PREFIX)/lib -lgnugetopt
+
+ OBJS=main.o picport.o hexfile.o program.o stringc.o
+ PROG=picprog
+@@ -53,12 +54,5 @@
+ $(PROG)-$(VERSION)/*.{html,gif,diff,1,h,cc}
+
+ install: all
+- install -c -o 0 -g 0 -m 755 -s $(PROG) /usr/local/bin/
+- install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/
+-
+-#
+-# include a dependency file if one exists
+-#
+-ifeq (.depend,$(wildcard .depend))
+-include .depend
+-endif
++ install -c -o 0 -g 0 -m 755 -s $(PROG) $(PREFIX)/bin
++ install -c -o 0 -g 0 -m 444 *.1 $(PREFIX)/man/man1
diff --git a/devel/picprog/files/patch-ac b/devel/picprog/files/patch-ac
new file mode 100644
index 0000000..38a0e37
--- /dev/null
+++ b/devel/picprog/files/patch-ac
@@ -0,0 +1,14 @@
+--- picprog.1.orig Sun Nov 29 16:03:13 1998
++++ picprog.1 Sun Nov 29 16:04:06 1998
+@@ -31,9 +31,9 @@
+ .B \-\-burn
+ .B \-q \-h \-?
+ .SH DESCRIPTION
+-See <URL:http://www.iki.fi/hyvatti/pic/picprog.html>.
++See <URL:http://www.iki.fi/hyvatti/pic/picprog.html>, or /usr/local/share/doc/picprog/picprog.html.
+ .SH OPTIONS
+-See <URL:http://www.iki.fi/hyvatti/pic/picprog.html>.
++See <URL:http://www.iki.fi/hyvatti/pic/picprog.html>, or /usr/local/share/doc/picprog/picprog.html.
+ .SH AUTHOR
+ Jaakko Hyvätti
+ .LP
OpenPOWER on IntegriCloud