- Use PLIST_FILES/PORTDOCS

- Minimize Makefile-patch
This commit is contained in:
Volker Stolz 2005-04-19 21:38:03 +00:00
parent 274369d583
commit fe5af684da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133709
3 changed files with 5 additions and 10 deletions

View File

@ -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>

View File

@ -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)

View File

@ -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