summaryrefslogtreecommitdiffstats
path: root/devel/astyle
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-04-03 01:26:18 +0000
committersteve <steve@FreeBSD.org>1999-04-03 01:26:18 +0000
commitf565b5205b508a486cce8b0cb16e55c27ed1dfab (patch)
tree4b8c42b741e2a71f678a3d02a59025186160e51d /devel/astyle
parent308ebcff9aecff9a131a0cf18d8a7a79b01c5707 (diff)
downloadFreeBSD-ports-f565b5205b508a486cce8b0cb16e55c27ed1dfab.zip
FreeBSD-ports-f565b5205b508a486cce8b0cb16e55c27ed1dfab.tar.gz
Import of astyle version 1.6.0.
A reindenter and reformatter of C++, C and Java source code. PR: 9875 Submitted by: Don Croyle <croyle@gelemna.ft-wayne.in.us>
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile26
-rw-r--r--devel/astyle/distinfo1
-rw-r--r--devel/astyle/files/patch-aa19
-rw-r--r--devel/astyle/pkg-comment1
-rw-r--r--devel/astyle/pkg-descr3
-rw-r--r--devel/astyle/pkg-plist1
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
OpenPOWER on IntegriCloud