- Use PLIST_FILES/PORTDOCS
- Minimize Makefile-patch
This commit is contained in:
parent
274369d583
commit
fe5af684da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133709
@ -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>
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user