ports/174198: devel/k8048: Update to version 2.00
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 5 18:10:13 UTC 2012
>Number: 174198
>Category: ports
>Synopsis: devel/k8048: Update to version 2.00
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 05 18:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 2.00
Remove file:
files/patch-k8048__Makefile
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/k8048/Makefile devel/k8048/Makefile
--- /usr/ports/devel/k8048/Makefile 2012-11-08 04:37:48.000000000 +0900
+++ devel/k8048/Makefile 2012-12-03 02:24:33.000000000 +0900
@@ -1,36 +1,35 @@
-# New ports collection makefile for: k8048
-# Date Created: Oct 6 2007
-# Whom: Bruce M. Simpson <bms at FreeBSD.org>
-#
+# Created by: Bruce M. Simpson <bms at FreeBSD.org>
# $FreeBSD: head/devel/k8048/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= k8048
-PORTVERSION= 1.04
+PORTVERSION= 2.00
CATEGORIES= devel
MASTER_SITES= http://dev.kewl.org/k8048/
MAINTAINER= ports at FreeBSD.org
COMMENT= Programs Microchip PICs using Velleman K8048 board
-USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+LICENSE= BSD
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/Src
-#BUILD_DEPENDS+= gpasm:${PORTSDIR}/devel/gputils
+USE_GMAKE= yes
+ALL_TARGET= build
-BIN_SYMLINKS= bin/ktest bin/kdebug bin/k14 bin/k16
PLIST_FILES= bin/${PORTNAME} ${BIN_SYMLINKS}
-do-build:
- cd ${BUILD_WRKSRC}/${PORTNAME} && ${GMAKE} all
+BIN_SYMLINKS= bin/k12 bin/k14 bin/k16 bin/ktest
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} \
- ${PREFIX}/bin/${PORTNAME}
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^CC=|CC?=| ; \
+ s|^CFLAGS=|CFLAGS+=| ; \
+ s|-ggdb||' ${WRKSRC}/Makefile
-post-install:
+do-install:
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
.for i in ${BIN_SYMLINKS}
- cd ${PREFIX} && ${LN} -s ${PORTNAME} ${i}
+ ${LN} -s ${PORTNAME} ${PREFIX}/${i}
.endfor
.include <bsd.port.mk>
diff -urN /usr/ports/devel/k8048/distinfo devel/k8048/distinfo
--- /usr/ports/devel/k8048/distinfo 2012-11-08 04:37:48.000000000 +0900
+++ devel/k8048/distinfo 2012-12-03 00:32:07.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (k8048-1.04.tar.gz) = 35a55fcc04a801419687e1c0e088c31922f601736ada1360b4e19c02a861e8fa
-SIZE (k8048-1.04.tar.gz) = 137408
+SHA256 (k8048-2.00.tar.gz) = 28c9b1c679434a5a04f44a529fae95ed86bdd89629ed25a0b6063646a424bb1c
+SIZE (k8048-2.00.tar.gz) = 3693336
diff -urN /usr/ports/devel/k8048/files/patch-k8048__Makefile devel/k8048/files/patch-k8048__Makefile
--- /usr/ports/devel/k8048/files/patch-k8048__Makefile 2012-11-08 04:37:48.000000000 +0900
+++ devel/k8048/files/patch-k8048__Makefile 1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- k8048/Makefile.orig Sat Oct 6 20:36:54 2007
-+++ k8048/Makefile Sat Oct 6 20:36:58 2007
-@@ -33,7 +33,7 @@
-
- all: ${TARGET}
- # cd microchip && make
-- cd velleman && make
-+# cd velleman && make
- # cd asm && make
-
- $(TARGET): $(OBJECT)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list