summaryrefslogtreecommitdiff
path: root/devel/astyle
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-10-26 12:58:12 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-10-26 12:58:12 +0000
commit198d99a3e1d56a945c0fa805176d1dff7d29a2b2 (patch)
treefd7fa024f924e62a18ea5c7357fdc202286c729a /devel/astyle
parentUpdate patches for 0.7.0. Somehow I forgot this. :( (diff)
Upgrade to 1.15.3.
Set MAINTAINER to ports@FreeBSD.org (requested by the maintainer). Fix warnings detected by portlint. PR: 43237 Submitted by: Marco Molteni <molter@tin.it> Approved by: Don Croyle <croyle@gelemna.org> (maintainer)
Notes
Notes: svn path=/head/; revision=68867
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile8
-rw-r--r--devel/astyle/distinfo2
-rw-r--r--devel/astyle/files/patch-ad19
3 files changed, 25 insertions, 4 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index 4ae739c9bfbe..67ed79a5b352 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -6,15 +6,17 @@
#
PORTNAME= astyle
-PORTVERSION= 1.14.0
+PORTVERSION= 1.15.3
CATEGORIES= devel textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -aa
-
-MAINTAINER= croyle@gelemna.org
+EXTRACT_AFTER_ARGS= -d ${DISTNAME}
ALL_TARGET= astyle
diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo
index aee000f7a54e..43ea8a51e52c 100644
--- a/devel/astyle/distinfo
+++ b/devel/astyle/distinfo
@@ -1 +1 @@
-MD5 (astyle_1.14.0.zip) = 3964fb8f199439bb260ef91a42976d51
+MD5 (astyle_1.15.3.zip) = 4d8adbcd8703aea00fcd2670be090ddd
diff --git a/devel/astyle/files/patch-ad b/devel/astyle/files/patch-ad
new file mode 100644
index 000000000000..10d223340b7c
--- /dev/null
+++ b/devel/astyle/files/patch-ad
@@ -0,0 +1,19 @@
+--- Makefile.orig Fri Feb 11 13:02:00 2000
++++ Makefile Sat Oct 26 21:35:38 2002
+@@ -1,13 +1,13 @@
+ # "Artistic Style" Makefile
+
+-CPPFLAGS = -Wall -Wno-sign-compare -O2
++CPPFLAGS = ${CXXFLAGS}
+ OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
+
+ astyle: $(OBJS)
+- g++ $(CPPFLAGS) -o astyle $(OBJS)
++ $(CXX) $(CPPFLAGS) -o astyle $(OBJS)
+
+ .cpp.o:
+- g++ $(CPPFLAGS) -c $<
++ $(CXX) $(CPPFLAGS) -c $<
+ .SUFFIXES: .cpp .c .o
+
+ clean: