Date: Tue, 2 Feb 1999 01:43:58 -0500 (EST) From: Don Croyle <croyle@gelemna.ft-wayne.in.us> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/9875: new port: devel/astyle (aka "Artistic Style") Message-ID: <199902020643.BAA25170@emerson.gelemna.ft-wayne.in.us>
next in thread | raw e-mail | index | archive | help
>Number: 9875 >Category: ports >Synopsis: new port: devel/astyle (aka "Artistic Style") >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 1 22:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Don Croyle >Release: FreeBSD 3.0-STABLE i386 >Organization: >Environment: >Description: "Artistic Style" is a C/C++/Java source reformatter/reindenter. This won't compile with the system compiler and requires patching with gcc28, hence the build dependency on egcs. >How-To-Repeat: >Fix: Import the contents of this shell archive: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # astyle # astyle/Makefile # astyle/files # astyle/files/md5 # astyle/pkg # astyle/pkg/PLIST # astyle/pkg/COMMENT # astyle/pkg/DESCR # astyle/patches # astyle/patches/patch-aa # echo c - astyle mkdir -p astyle > /dev/null 2>&1 echo x - astyle/Makefile sed 's/^X//' >astyle/Makefile << 'END-of-astyle/Makefile' X# New ports collection makefile for: astyle X# Version required: 1.6.0 X# Date created: 31 Jan 1999 X# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us> X# X# $Id$ X# X XDISTNAME= astyle_1.6.0 XPKGNAME= astyle-1.6.0 XCATEGORIES= devel textproc XMASTER_SITES= http://www.bigfoot.com/~davidsont/astyle/stable/src/ \ X http://www.infonex.com/~dacroyle/freebsd/ XEXTRACT_SUFX= .tgz X XMAINTAINER= croyle@gelemna.ft-wayne.in.us X XBUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs X XWRKSRC= ${WRKDIR}/astyle-src XALL_TARGET= astyle X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin/ X X.include <bsd.port.mk> END-of-astyle/Makefile echo c - astyle/files mkdir -p astyle/files > /dev/null 2>&1 echo x - astyle/files/md5 sed 's/^X//' >astyle/files/md5 << 'END-of-astyle/files/md5' XMD5 (astyle_1.6.0.tgz) = e42fee292faf73e0277e40dc01f81a0e END-of-astyle/files/md5 echo c - astyle/pkg mkdir -p astyle/pkg > /dev/null 2>&1 echo x - astyle/pkg/PLIST sed 's/^X//' >astyle/pkg/PLIST << 'END-of-astyle/pkg/PLIST' Xbin/astyle END-of-astyle/pkg/PLIST echo x - astyle/pkg/COMMENT sed 's/^X//' >astyle/pkg/COMMENT << 'END-of-astyle/pkg/COMMENT' XA reindenter and reformatter of C++, C and Java source code. END-of-astyle/pkg/COMMENT echo x - astyle/pkg/DESCR sed 's/^X//' >astyle/pkg/DESCR << 'END-of-astyle/pkg/DESCR' XArtistic Style is a variant on indent that can handle C, C++ and Java source. X XHomepage: http://www.bigfoot.com/~davidsont/astyle END-of-astyle/pkg/DESCR echo c - astyle/patches mkdir -p astyle/patches > /dev/null 2>&1 echo x - astyle/patches/patch-aa sed 's/^X//' >astyle/patches/patch-aa << 'END-of-astyle/patches/patch-aa' X--- Makefile.orig Sun Jan 3 11:43:25 1999 X+++ Makefile Sun Jan 31 22:34:12 1999 X@@ -1,13 +1,13 @@ X # "Artistic Style" Makefile X X-CPPFLAGS = -O2 -W X+CPPFLAGS ?= -O2 -W X OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o X X astyle: $(OBJS) X- g++ $(CPPFLAGS) -o astyle $(OBJS) X+ eg++ $(CPPFLAGS) -o astyle $(OBJS) X X .cpp.o: X- g++ $(CPPFLAGS) -c $< X+ eg++ $(CPPFLAGS) -c $< X .SUFFIXES: .cpp .c .o X X clean: END-of-astyle/patches/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902020643.BAA25170>