diff options
author | steve <steve@FreeBSD.org> | 1999-11-01 12:03:47 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-01 12:03:47 +0800 |
commit | e560c6911ab533ce047127dcce1c095d5f168ccc (patch) | |
tree | 3830f1dfae41045393f38909bbd12eb1130ad106 /devel | |
parent | 41f5d3d31d0127e2211262176e27aa0d8eb6accd (diff) | |
download | freebsd-ports-gnome-e560c6911ab533ce047127dcce1c095d5f168ccc.tar.gz freebsd-ports-gnome-e560c6911ab533ce047127dcce1c095d5f168ccc.tar.zst freebsd-ports-gnome-e560c6911ab533ce047127dcce1c095d5f168ccc.zip |
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')
-rw-r--r-- | devel/picprog/Makefile | 29 | ||||
-rw-r--r-- | devel/picprog/distinfo | 1 | ||||
-rw-r--r-- | devel/picprog/files/patch-aa | 11 | ||||
-rw-r--r-- | devel/picprog/files/patch-ab | 31 | ||||
-rw-r--r-- | devel/picprog/files/patch-ac | 14 | ||||
-rw-r--r-- | devel/picprog/pkg-comment | 1 | ||||
-rw-r--r-- | devel/picprog/pkg-descr | 20 | ||||
-rw-r--r-- | devel/picprog/pkg-plist | 6 |
8 files changed, 113 insertions, 0 deletions
diff --git a/devel/picprog/Makefile b/devel/picprog/Makefile new file mode 100644 index 000000000000..c0a095216e40 --- /dev/null +++ b/devel/picprog/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: picprog +# Version required: 1.0 +# Date created: 31 August 1999 +# Whom: Johan Kerckaert <kirk@bricsnet.com> +# +# $FreeBSD$ +# + +DISTNAME= picprog-1.0 +CATEGORIES= devel +MASTER_SITES= http://hyvatti.iki.fi/~jaakko/pic/ + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +MAN1= picprog.1 + +#post-patch: +# $(CP) ${PATCHDIR}/getopt* ${WRKSRC} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/picprog + ${INSTALL_MAN} ${WRKSRC}/picprog.html ${PREFIX}/share/doc/picprog + ${INSTALL_MAN} ${WRKSRC}/*.gif ${PREFIX}/share/doc/picprog +.endif + +.include <bsd.port.mk> diff --git a/devel/picprog/distinfo b/devel/picprog/distinfo new file mode 100644 index 000000000000..fa66eadd79b7 --- /dev/null +++ b/devel/picprog/distinfo @@ -0,0 +1 @@ +MD5 (picprog-1.0.tar.gz) = 8ef1c0df63170626d4d497b199c2f830 diff --git a/devel/picprog/files/patch-aa b/devel/picprog/files/patch-aa new file mode 100644 index 000000000000..600e33d2fe31 --- /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 000000000000..352ffddfdf4c --- /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 000000000000..38a0e374f400 --- /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 diff --git a/devel/picprog/pkg-comment b/devel/picprog/pkg-comment new file mode 100644 index 000000000000..f4546b3d9abd --- /dev/null +++ b/devel/picprog/pkg-comment @@ -0,0 +1 @@ +Serial port pic16c84 programmer diff --git a/devel/picprog/pkg-descr b/devel/picprog/pkg-descr new file mode 100644 index 000000000000..d12d6a68b0d0 --- /dev/null +++ b/devel/picprog/pkg-descr @@ -0,0 +1,20 @@ +This is Picprog, pic16c84 programmer software for the serial port device. +Copyright 1997 Jaakko Hyvatti + +To program a pic16c84 chip: + + picprog --burn --input something.hex --pic /dev/cuaa1 + +Full manual: + + see file /usr/local/share/doc/picprog/picprog.html + or <URL:http://www.iki.fi/hyvatti/pic/picprog.html> + +The author may be contacted at: + + Email: Jaakko.Hyvatti@iki.fi + URL: http://www.iki.fi/hyvatti/ + Phone: +358 40 5011222 + +Remember: this is not a production quality programmer! See PIC16C84 +data sheet for more information. diff --git a/devel/picprog/pkg-plist b/devel/picprog/pkg-plist new file mode 100644 index 000000000000..57c0241cd926 --- /dev/null +++ b/devel/picprog/pkg-plist @@ -0,0 +1,6 @@ +bin/picprog +share/doc/picprog/anybrowser3.gif +share/doc/picprog/jdm84pcb3.gif +share/doc/picprog/jdm84new.gif +share/doc/picprog/picprog.html +@dirrm share/doc/picprog |