aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-20 05:38:03 +0800
committervs <vs@FreeBSD.org>2005-04-20 05:38:03 +0800
commit70617752b07ce3a6034e7f7c45a518a92ec47214 (patch)
tree02500636f56b81650eb41e28489917d965287582 /devel
parent98a6ba3a76ad626599947afb80e8a89ee4cca1e8 (diff)
downloadfreebsd-ports-gnome-70617752b07ce3a6034e7f7c45a518a92ec47214.tar.gz
freebsd-ports-gnome-70617752b07ce3a6034e7f7c45a518a92ec47214.tar.zst
freebsd-ports-gnome-70617752b07ce3a6034e7f7c45a518a92ec47214.zip
- Use PLIST_FILES/PORTDOCS
- Minimize Makefile-patch
Diffstat (limited to 'devel')
-rw-r--r--devel/astyle/Makefile4
-rw-r--r--devel/astyle/files/patch-ad6
-rw-r--r--devel/astyle/pkg-plist5
3 files changed, 5 insertions, 10 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index 145eb4349e30..dd3a3cfc1b88 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -20,6 +20,10 @@ EXTRACT_BEFORE_ARGS= -q -aa
EXTRACT_AFTER_ARGS= -d ${DISTNAME}
CFLAGS+= "-fpermissive"
ALL_TARGET= astyle
+MAKE_ARGS= CPPFLAGS="${CXXFLAGS}"
+
+PLIST_FILES= bin/astyle
+PORTDOCS= astyle.html astyle_release_notes.html license.html
.include <bsd.port.pre.mk>
diff --git a/devel/astyle/files/patch-ad b/devel/astyle/files/patch-ad
index 10d223340b7c..b73ad2379c1a 100644
--- a/devel/astyle/files/patch-ad
+++ b/devel/astyle/files/patch-ad
@@ -1,10 +1,6 @@
--- 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}
+@@ -1,10 +1,10 @@
OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
astyle: $(OBJS)
diff --git a/devel/astyle/pkg-plist b/devel/astyle/pkg-plist
deleted file mode 100644
index 9ba47ad20fc9..000000000000
--- a/devel/astyle/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/astyle
-%%PORTDOCS%%share/doc/astyle/astyle.html
-%%PORTDOCS%%share/doc/astyle/astyle_release_notes.html
-%%PORTDOCS%%share/doc/astyle/license.html
-%%PORTDOCS%%@dirrm share/doc/astyle