From tkato432@yahoo.com  Sat Jun  2 18:30:50 2012
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7E503106564A
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat,  2 Jun 2012 18:30:41 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168])
	by mx1.freebsd.org (Postfix) with ESMTP id 29B998FC1B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat,  2 Jun 2012 18:30:41 +0000 (UTC)
Received: from localhost.localdomain (ZT037195.ppp.dion.ne.jp [59.128.37.195])
	by msa105lp.auone-net.jp (au one net msa) with ESMTP id DFBC850036
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  3 Jun 2012 03:30:38 +0900 (JST)
Message-Id: <20120603032135.f16dbbe0.tkato432@yahoo.com>
Date: Sun, 3 Jun 2012 03:21:35 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: converters/ta2as: Update to version 0.8.2

>Number:         168593
>Category:       ports
>Synopsis:       converters/ta2as: Update to version 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 02 18:40:15 UTC 2012
>Closed-Date:    Tue Jun 05 20:43:14 UTC 2012
>Last-Modified:  Tue Jun  5 20:50:09 UTC 2012
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.2

Remove file:
files/patch-ta2as.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/converters/ta2as/Makefile converters/ta2as/Makefile
--- /usr/ports/converters/ta2as/Makefile	2006-12-11 01:31:01.000000000 +0900
+++ converters/ta2as/Makefile	2012-05-31 03:24:48.000000000 +0900
@@ -6,48 +6,41 @@
 #
 
 PORTNAME=	ta2as
-PORTVERSION=	0.8
+PORTVERSION=	0.8.2
 CATEGORIES=	converters devel
-MASTER_SITES=	ftp://ftp.delorie.com/pub/djgpp/contrib/ \
-		ftp://x2ftp.oulu.fi/pub/msdos/programming/convert/
-DISTNAME=	ta2asv${PORTVERSION:S/.//}
+MASTER_SITES=	GOOGLE_CODE
+DISTNAME=	${PORTNAME}_v${PORTVERSION:S/./_/g}_src
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	TASM to AT&T asm syntax converter (GNU AS)
 
-USE_ZIP=	yes
+OPTIONS_DEFINE=	DOCS
+
 NO_WRKSUBDIR=	yes
 
-EXTRACT_BEFORE_ARGS=	-q -a -L
+USE_ZIP=	yes
 
+PORTDOCS=	*
 PLIST_FILES=	bin/${PORTNAME}
 
-.ifndef(NOPORTDOCS)
-PORTDOCS=	readme.doc
-.endif
+.include <bsd.port.options.mk>
 
 post-extract:
-	@${CP} ${FILESDIR}/strtolower.c ${WRKSRC}
+	@${CP} -f ${FILESDIR}/strtolower.c ${WRKSRC}
 
 post-patch:
-	@${REINPLACE_CMD} -E \
-		-e 's|stricmp|strcasecmp|' \
-		-e 's|strnicmp|strncasecmp|' \
-		-e 's|strlwr|strtolower|' \
-		${WRKSRC}/${PORTNAME}.c
+	@${REINPLACE_CMD} -e \
+		's|strlwr|strtolower|' ${WRKSRC}/${PORTNAME}.c
 
 do-build:
-	@cd ${WRKSRC} && \
-		${CC} ${CFLAGS} \
-		-s meen.c strtolower.c ta2as.c \
+	cd ${WRKSRC} && ${CC} ${CFLAGS} main.c strtolower.c ${PORTNAME}.c \
 		-o ${PORTNAME}
 
 do-install:
-.ifndef(NOPORTDOCS)
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.doc ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
 .endif
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
-		${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/converters/ta2as/distinfo converters/ta2as/distinfo
--- /usr/ports/converters/ta2as/distinfo	2011-03-20 21:46:53.000000000 +0900
+++ converters/ta2as/distinfo	2012-05-29 19:55:55.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (ta2asv08.zip) = fa2362b464ced0ace0bc6eeee17e822fd009e5896d791982fc16308b5266543f
-SIZE (ta2asv08.zip) = 27208
+SHA256 (ta2as_v0_8_2_src.zip) = 21ecef8ac8d99665b7cf15c6f692214b738e11d77058139133566dd40f92472b
+SIZE (ta2as_v0_8_2_src.zip) = 11339
diff -urN /usr/ports/converters/ta2as/files/patch-ta2as.c converters/ta2as/files/patch-ta2as.c
--- /usr/ports/converters/ta2as/files/patch-ta2as.c	2005-12-23 02:19:16.000000000 +0900
+++ converters/ta2as/files/patch-ta2as.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- ta2as.c.orig	Thu Dec 22 14:30:47 2005
-+++ ta2as.c	Thu Dec 22 14:29:17 2005
-@@ -5,6 +5,7 @@
- #include "ta2as.h"
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
- 
- char rarray[38][4]=
- {
diff -urN /usr/ports/converters/ta2as/pkg-descr converters/ta2as/pkg-descr
--- /usr/ports/converters/ta2as/pkg-descr	2009-12-21 11:16:01.000000000 +0900
+++ converters/ta2as/pkg-descr	2012-05-29 20:06:03.000000000 +0900
@@ -1,14 +1,17 @@
-[ excerpt from distfile's README with modifications ]
+This simple tool reads a source file with TASM syntax and converts it
+to AT&T syntax.
 
-This is the first version of TASM to AT&T converter (TA2AS). Frank
-van Dijk, member of SPiRiT!, wrote this utility. It reads in a
-source file with TASM syntax and tries(first version remember? :))
-to convert it to AT&T syntax.  It hasn't been tested very well. So
-email all your bugreports to one of the SPiRiT emailaddresses (see
-below). Also for wanted features!  But the sourcefile is included
-so why don't you try first :)
+The AT&T syntax is widely used by GNU tools, in particular the GAS(AS)
+interpreter and GCC compiler.
 
-This is one of the utilities we wrote, to make life easier when
-working with DJGPP! :)
+The TASM syntax is used by many commercial compilers and disassemblers,
+ie. NASM, MASM, Visual Studio or IDA Pro.
 
-WWW: http://udrecsuite.sourceforge.net/
+Ta2As can automate most of the conversion, but it still isn't perfect
+- some correction have to be made manually before the code compiles.
+
+This tool was originally written by Frank van Dijk and released by
+SPiRiT group; this is continuation of his work, although not much of
+the original code remains. 
+
+WWW: http://code.google.com/p/ta2as/
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Sat Jun 2 22:01:12 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168593 
State-Changed-From-To: open->closed 
State-Changed-By: sylvio 
State-Changed-When: Tue Jun 5 20:43:13 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168593 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168593: commit references a PR
Date: Tue,  5 Jun 2012 20:43:17 +0000 (UTC)

 sylvio      2012-06-05 20:43:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     converters/ta2as     Makefile distinfo pkg-descr 
   Removed files:
     converters/ta2as/files patch-ta2as.c 
   Log:
   - Update to version 0.8.2
   
   Remove file:
   files/patch-ta2as.c
   
   PR:             ports/168593
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.4       +15 -22    ports/converters/ta2as/Makefile
   1.3       +2 -2      ports/converters/ta2as/distinfo
   1.2       +0 -10     ports/converters/ta2as/files/patch-ta2as.c (dead)
   1.3       +14 -11    ports/converters/ta2as/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
