ports/80917: Update: devel/picprog 1.4 -> 1.7 + adoption
Erik Greenwald
erik at smluc.org
Thu May 12 01:36:30 UTC 2005
>Number: 80917
>Category: ports
>Synopsis: Update: devel/picprog 1.4 -> 1.7 + adoption
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 12 01:28:44 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Erik Greenwald
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fenris 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Sat May 7 21:46:51 EDT 2005 root at fenris:/usr/obj/usr/src/sys/FENRIS i386
System: FreeBSD vidar 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Fri Apr 22 22:00:39 EDT 2005 root at vidar:/usr/obj/usr/src/sys/VIDAR i386
>Description:
update of devel/picprog from 1.4 to 1.7, cleanup and simpilification
of the makefile and shtuff, and I'd be happy to adopt this one :)
tested on 5.4 and 6.0 athlons (both hosts listed in 'Environment')
>How-To-Repeat:
>Fix:
--- devel-picprog.patch begins here ---
Index: devel/picprog/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/picprog/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- devel/picprog/Makefile 12 Jan 2004 23:38:04 -0000 1.11
+++ devel/picprog/Makefile 11 May 2005 23:31:38 -0000
@@ -6,26 +6,15 @@
#
PORTNAME= picprog
-PORTVERSION= 1.4
+PORTVERSION= 1.7
CATEGORIES= devel
MASTER_SITES= http://hyvatti.iki.fi/~jaakko/pic/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= erik at smluc.org
COMMENT= Serial port pic16c84 programmer
USE_GETOPT_LONG= yes
-MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-
-MAN1= picprog.1
-DOCS= README picprog.html *.jpg *.png
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/picprog ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/picprog.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+MAN1= picprog.1
.include <bsd.port.mk>
Index: devel/picprog/distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/picprog/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- devel/picprog/distinfo 29 Jan 2004 07:23:22 -0000 1.5
+++ devel/picprog/distinfo 11 May 2005 23:31:38 -0000
@@ -1,2 +1,2 @@
-MD5 (picprog-1.4.tar.gz) = 98d8fb42f92b57ea2114033a3f207706
-SIZE (picprog-1.4.tar.gz) = 53394
+MD5 (picprog-1.7.tar.gz) = 342f65a9cc71a0507fe8083181e2681c
+SIZE (picprog-1.7.tar.gz) = 55118
Index: devel/picprog/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/picprog/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- devel/picprog/pkg-plist 12 Jan 2004 23:38:04 -0000 1.4
+++ devel/picprog/pkg-plist 11 May 2005 23:31:38 -0000
@@ -1,8 +1 @@
bin/picprog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/adapter.jpg
-%%PORTDOCS%%%%DOCSDIR%%/anybrowser3.png
-%%PORTDOCS%%%%DOCSDIR%%/jdm84ne1.png
-%%PORTDOCS%%%%DOCSDIR%%/jdm84pcb4.png
-%%PORTDOCS%%%%DOCSDIR%%/picprog.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: devel/picprog/files/patch-Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/picprog/files/patch-Makefile,v
retrieving revision 1.3
diff -u -r1.3 patch-Makefile
--- devel/picprog/files/patch-Makefile 12 Jan 2004 23:38:05 -0000 1.3
+++ devel/picprog/files/patch-Makefile 11 May 2005 23:31:38 -0000
@@ -1,33 +1,25 @@
---- Makefile.orig Mon Jan 12 22:42:23 2004
-+++ Makefile Mon Jan 12 22:44:01 2004
-@@ -26,10 +26,6 @@
+--- Makefile.orig Wed May 11 00:29:24 2005
++++ Makefile Wed May 11 00:29:43 2005
+@@ -26,9 +26,9 @@
# Please use a reasonably recent GNU make.
-CXX=g++
--CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes
--LDFLAGS=-g
--
+-CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes
+-LDFLAGS=-s
++#CXX=g++
++#CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes
++#LDFLAGS=-s
+
OBJS=main.o picport.o hexfile.o program.o
PROG=picprog
-
-@@ -37,6 +33,8 @@
-
- $(PROG): $(OBJS)
- $(CXX) $(LDFLAGS) $(OBJS) -o $@
-+.cc.o:
-+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $>
-
- dep:
- $(CXX) -M $(CXXFLAGS) *.cc > .depend
-@@ -55,10 +53,3 @@
- install: all
- install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/
- install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/
--
--#
--# include a dependency file if one exists
--#
+@@ -59,6 +59,6 @@
+ #
+ # include a dependency file if one exists
+ #
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
++#ifeq (.depend,$(wildcard .depend))
++#include .depend
++#endif
--- devel-picprog.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list