From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 6 23:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6FD77CA for ; Fri, 6 Dec 2013 23:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A22571B09 for ; Fri, 6 Dec 2013 23:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB6NK0n9083496 for ; Fri, 6 Dec 2013 23:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB6NK0uj083495; Fri, 6 Dec 2013 23:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 6 Dec 2013 23:20:00 GMT Resent-Message-Id: <201312062320.rB6NK0uj083495@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Zheng Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94D2125D for ; Fri, 6 Dec 2013 23:10:30 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 67F841A7D for ; Fri, 6 Dec 2013 23:10:30 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB6NAUZZ001590 for ; Fri, 6 Dec 2013 23:10:30 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB6NAUll001579; Fri, 6 Dec 2013 23:10:30 GMT (envelope-from nobody) Message-Id: <201312062310.rB6NAUll001579@oldred.freebsd.org> Date: Fri, 6 Dec 2013 23:10:30 GMT From: Kevin Zheng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/184553: [patch] Update devel/astyle to 2.04 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 23:20:00 -0000 >Number: 184553 >Category: ports >Synopsis: [patch] Update devel/astyle to 2.04 >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: Fri Dec 06 23:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kevin Zheng >Release: 9.2-RELEASE >Organization: >Environment: FreeBSD sigma.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: Update devel/astyle to 2.04. In addition: - Attach LICENSE (LGPL3) - Don't include LICENSE_FILE, because port only has a HTML-ified license - Add missing DOCS option to OPTIONS_DEFINE - Fix pkg-plist when not installing PORTDOCS The port also ships with a 'Makefile' that uses `clang`, perhaps it should be used to avoid the dependency on GCC? >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 335786) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= astyle -PORTVERSION= 2.03 -PORTREVISION= 1 +PORTVERSION= 2.04 CATEGORIES= devel textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_linux @@ -11,6 +10,8 @@ MAINTAINER= lme@FreeBSD.org COMMENT= Source code indenter and formatter for C, C++, C\#, and Java +LICENSE= LGPL3 + ALL_TARGET= astyle CFLAGS+= -W -Wall -fno-rtti -fno-exceptions LDFLAGS+= -s @@ -20,6 +21,8 @@ WRKSRC= ${WRKDIR}/astyle/build/gcc +OPTIONS_DEFINE= DOCS + pre-patch: @${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile @@ -27,7 +30,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${STAGEDIR}${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/*.html ${STAGEDIR}${DOCSDIR} +.endif .include Index: distinfo =================================================================== --- distinfo (revision 335786) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (astyle_2.03_linux.tar.gz) = 22b5249a0b8c9fab3b3bcd467abcb3c6b4a78458b528028634a83dca4c6ca389 -SIZE (astyle_2.03_linux.tar.gz) = 142577 +SHA256 (astyle_2.04_linux.tar.gz) = 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 +SIZE (astyle_2.04_linux.tar.gz) = 156974 >Release-Note: >Audit-Trail: >Unformatted: