diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-16 07:11:12 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-16 07:11:12 +0800 |
commit | 9343eeba7783ac2ce4c8f5c88ab322647d489c19 (patch) | |
tree | 37076f8661cc0a667d6e54eab2728ecc665430a0 /devel/astyle | |
parent | d5dd4663dfc459a5aa6a241eff9b72f253fbc4e8 (diff) | |
download | freebsd-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/Makefile | 2 |
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,' \ |