From lwhsu@jail0.lwhsu.csie.net  Sat Feb  3 13:47:15 2007
Return-Path: <lwhsu@jail0.lwhsu.csie.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5DE4616A400
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  3 Feb 2007 13:47:15 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48])
	by mx1.freebsd.org (Postfix) with ESMTP id 2BFCA13C442
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  3 Feb 2007 13:47:12 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id 317FC1141A;
	Sat,  3 Feb 2007 21:47:11 +0800 (CST)
Received: (from lwhsu@localhost)
	by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id l13Dl8iC022933;
	Sat, 3 Feb 2007 13:47:08 GMT
	(envelope-from lwhsu)
Message-Id: <200702031347.l13Dl8iC022933@jail0.lwhsu.csie.net>
Date: Sat, 3 Feb 2007 13:47:08 GMT
From: Li-Wen Hsu <lwhsu@lwhsu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: andrew.nau.ua@gmail.com, lwhsu@lwhsu.org
Subject: [PATCH] devel/astyle: update to 1.20.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify: andrew.nau.ua@gmail.com

>Number:         108717
>Category:       ports
>Synopsis:       [PATCH] devel/astyle: update to 1.20.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 03 13:50:11 GMT 2007
>Closed-Date:    Fri Mar 02 01:29:04 GMT 2007
>Last-Modified:  Fri Mar  2 01:30:05 GMT 2007
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sun Jan 14 15:25:58 CST 2007
>Description:
- Update to 1.20.1

Port maintainer (andrew.nau.ua@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- astyle-1.20.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/astyle/Makefile /home/lwhsu/ports/devel/astyle/Makefile
--- /usr/ports/devel/astyle/Makefile	Mon Nov 13 07:49:54 2006
+++ /home/lwhsu/ports/devel/astyle/Makefile	Sat Feb  3 13:39:04 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	astyle
-PORTVERSION=	1.19
+PORTVERSION=	1.20.1
 CATEGORIES=	devel textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,34 +16,28 @@
 COMMENT=	A reindenter and reformatter of C, C++, C\# and Java source code
 
 ALL_TARGET=	astyle
-CXXFLAGS+=	-fno-rtti -fno-exceptions
+CFLAGS+=	-W -Wall -fno-rtti -fno-exceptions
 LDFLAGS+=	-s
-MAKE_ARGS=	CPPFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKE_ARGS+=	CFLAGS="${CFLAGS}"
 USE_GCC=	3.3+
+USE_GMAKE=	yes
 
-WRKSRC=		${WRKDIR}/astyle/src
+WRKSRC=		${WRKDIR}/astyle/build
+ALL_TARGET=	release
 
 pre-patch:
-	${REINPLACE_CMD} -e \
-		's,^ifdef,#ifdef,; \
-		s,^else,#else,; \
-		s,^endif,#endif,; \
-		s,^CPPFLAGS,#CPPFLAGS,; \
-		s,^LDFLAGS,#LDFLAGS,;' \
-		${WRKSRC}/Makefile
-	${REINPLACE_CMD} -e 's,g++,$$(CXX),' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile
 
 PLIST_FILES=	bin/astyle
 .if !defined(NOPORTDOCS)
-PORTDOCS=	astyle.html astyleX.html astyle_news.html astyle_release_notes.html install.txt license.html
+PORTDOCS=	astyle.html astyleX.html astyle_news.html astyle_release_notes.html develop.html install.html license.html
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/../bin/astyle ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.html ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.txt ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/astyle/distinfo /home/lwhsu/ports/devel/astyle/distinfo
--- /usr/ports/devel/astyle/distinfo	Mon Nov 13 07:49:54 2006
+++ /home/lwhsu/ports/devel/astyle/distinfo	Sat Feb  3 13:01:18 2007
@@ -1,3 +1,3 @@
-MD5 (astyle_1.19_linux.tar.gz) = 2cd52822f39b9211846c4070999a492d
-SHA256 (astyle_1.19_linux.tar.gz) = 3582e737bae089e2b81b58166e0fee21e30d846eb357b68525c1e6178a5542f6
-SIZE (astyle_1.19_linux.tar.gz) = 63610
+MD5 (astyle_1.20.1_linux.tar.gz) = 8fe20dd77473fe96e3e48683d8f94205
+SHA256 (astyle_1.20.1_linux.tar.gz) = e36bc5ac743f7985cf84d29d592c822adec4f37c0d79b5a7e1c5bef17e40632f
+SIZE (astyle_1.20.1_linux.tar.gz) = 77364
--- astyle-1.20.1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Feb 3 13:50:24 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108717 
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: clsung 
Responsible-Changed-When: Sat Feb 3 16:52:47 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108717 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Thu Mar 1 16:44:02 UTC 2007 
State-Changed-Why:  
Maintainer timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108717 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Fri Mar 2 01:29:02 UTC 2007 
State-Changed-Why:  
Committed. Thank You. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108717: commit references a PR
Date: Fri,  2 Mar 2007 01:29:00 +0000 (UTC)

 clsung      2007-03-02 01:28:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/astyle         Makefile distinfo 
   Log:
   - Update to 1.20.1
   
   PR:             ports/108717
   Submitted by:   Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.25      +9 -15     ports/devel/astyle/Makefile
   1.13      +3 -3      ports/devel/astyle/distinfo
 _______________________________________________
 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:
