diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/Makefile | 26 | ||||
-rw-r--r-- | devel/astyle/distinfo | 1 | ||||
-rw-r--r-- | devel/astyle/files/patch-aa | 19 | ||||
-rw-r--r-- | devel/astyle/pkg-comment | 1 | ||||
-rw-r--r-- | devel/astyle/pkg-descr | 3 | ||||
-rw-r--r-- | devel/astyle/pkg-plist | 1 |
6 files changed, 51 insertions, 0 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile new file mode 100644 index 0000000..de06cfc1 --- /dev/null +++ b/devel/astyle/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: astyle +# Version required: 1.6.0 +# Date created: 31 Jan 1999 +# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us> +# +# $Id$ +# + +DISTNAME= astyle_1.6.0 +PKGNAME= astyle-1.6.0 +CATEGORIES= devel textproc +MASTER_SITES= http://www.bigfoot.com/~davidsont/astyle/stable/src/ \ + http://www.infonex.com/~dacroyle/freebsd/ +EXTRACT_SUFX= .tgz + +MAINTAINER= croyle@gelemna.ft-wayne.in.us + +BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs + +WRKSRC= ${WRKDIR}/astyle-src +ALL_TARGET= astyle + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/astyle ${PREFIX}/bin/ + +.include <bsd.port.mk> diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo new file mode 100644 index 0000000..a8fed19 --- /dev/null +++ b/devel/astyle/distinfo @@ -0,0 +1 @@ +MD5 (astyle_1.6.0.tgz) = e42fee292faf73e0277e40dc01f81a0e diff --git a/devel/astyle/files/patch-aa b/devel/astyle/files/patch-aa new file mode 100644 index 0000000..6b6316e --- /dev/null +++ b/devel/astyle/files/patch-aa @@ -0,0 +1,19 @@ +--- Makefile.orig Sun Jan 3 11:43:25 1999 ++++ Makefile Sun Jan 31 22:34:12 1999 +@@ -1,13 +1,13 @@ + # "Artistic Style" Makefile + +-CPPFLAGS = -O2 -W ++CPPFLAGS ?= -O2 -W + OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o + + astyle: $(OBJS) +- g++ $(CPPFLAGS) -o astyle $(OBJS) ++ eg++ $(CPPFLAGS) -o astyle $(OBJS) + + .cpp.o: +- g++ $(CPPFLAGS) -c $< ++ eg++ $(CPPFLAGS) -c $< + .SUFFIXES: .cpp .c .o + + clean: diff --git a/devel/astyle/pkg-comment b/devel/astyle/pkg-comment new file mode 100644 index 0000000..6f0e2e5 --- /dev/null +++ b/devel/astyle/pkg-comment @@ -0,0 +1 @@ +A reindenter and reformatter of C++, C and Java source code. diff --git a/devel/astyle/pkg-descr b/devel/astyle/pkg-descr new file mode 100644 index 0000000..e67db86 --- /dev/null +++ b/devel/astyle/pkg-descr @@ -0,0 +1,3 @@ +Artistic Style is a variant on indent that can handle C, C++ and Java source. + +Homepage: http://www.bigfoot.com/~davidsont/astyle diff --git a/devel/astyle/pkg-plist b/devel/astyle/pkg-plist new file mode 100644 index 0000000..1def8e8 --- /dev/null +++ b/devel/astyle/pkg-plist @@ -0,0 +1 @@ +bin/astyle |