Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:31:40 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174198: devel/k8048: Update to version 2.00
Message-ID:  <20121206023140.31ee919516e10f7f4d545a27@yahoo.com>
Resent-Message-ID: <201212051810.qB5IACch033750@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@FreeBSD.org>
-#
+# Created by: Bruce M. Simpson <bms@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206023140.31ee919516e10f7f4d545a27>