aboutsummaryrefslogtreecommitdiffstats
path: root/devel/astyle
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
commit9343eeba7783ac2ce4c8f5c88ab322647d489c19 (patch)
tree37076f8661cc0a667d6e54eab2728ecc665430a0 /devel/astyle
parentd5dd4663dfc459a5aa6a241eff9b72f253fbc4e8 (diff)
downloadfreebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.gz
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.zst
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.zip
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index b1a18dedd843..b156d98e4c21 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -21,6 +21,8 @@ USES= compiler gmake iconv
WRKSRC= ${WRKDIR}/astyle/build/gcc
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},; \
s,\(CFLAGSr.*=.*\),\1 -I${LOCALBASE}/include,' \