diff options
-rw-r--r-- | devel/astyle/Makefile | 8 | ||||
-rw-r--r-- | devel/astyle/distinfo | 2 | ||||
-rw-r--r-- | devel/astyle/files/patch-ad | 19 |
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: |