Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 11:34:45 +0800 (CST)
From:      Cheng-Lung Sung <clsung@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew.nau.ua@gmail.com
Subject:   ports/109350: [PATCH] devel/astyle: update to 1.20.1
Message-ID:  <20070220033445.7B64128E77@going04.iis.sinica.edu.tw>
Resent-Message-ID: <200702200340.l1K3e3lm098242@freefall.freebsd.org>

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

>Number:         109350
>Category:       ports
>Synopsis:       [PATCH] devel/astyle: update to 1.20.1
>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:   Tue Feb 20 03:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD going04.iis.sinica.edu.tw 6.2-RELEASE FreeBSD 6.2-RELEASE #22: Fri Jan 12 22:51: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 ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/astyle/Makefile,v
retrieving revision 1.24
diff -u -u -r1.24 Makefile
--- Makefile	13 Nov 2006 07:49:54 -0000	1.24
+++ Makefile	20 Feb 2007 03:31:28 -0000
@@ -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}
@@ -17,33 +17,30 @@
 
 ALL_TARGET=	astyle
 CXXFLAGS+=	-fno-rtti -fno-exceptions
-LDFLAGS+=	-s
-MAKE_ARGS=	CPPFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKE_ARGS=	CBASEFLAGS="${CXXFLAGS}"
 USE_GCC=	3.3+
+USE_GMAKE=	yes
 
-WRKSRC=		${WRKDIR}/astyle/src
+WRKSRC=		${WRKDIR}/astyle/build
 
 pre-patch:
 	${REINPLACE_CMD} -e \
-		's,^ifdef,#ifdef,; \
-		s,^else,#else,; \
-		s,^endif,#endif,; \
-		s,^CPPFLAGS,#CPPFLAGS,; \
-		s,^LDFLAGS,#LDFLAGS,;' \
+		s,'^CBASEFLAGS,#CBASEFLAGS,;' \
 		${WRKSRC}/Makefile
 	${REINPLACE_CMD} -e '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>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/astyle/distinfo,v
retrieving revision 1.12
diff -u -u -r1.12 distinfo
--- distinfo	13 Nov 2006 07:49:54 -0000	1.12
+++ distinfo	20 Feb 2007 03:31:28 -0000
@@ -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:
>Unformatted:



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