summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /math
parentUpdate to version 0.38. (diff)
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
Notes
Notes: svn path=/head/; revision=301957
Diffstat (limited to 'math')
-rw-r--r--math/slgrace/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/slgrace/Makefile b/math/slgrace/Makefile
index 92428a729387..8229c740a656 100644
--- a/math/slgrace/Makefile
+++ b/math/slgrace/Makefile
@@ -20,6 +20,9 @@ COMMENT= A SLang module to plot graphs with grace
LIB_DEPENDS= slang:${PORTSDIR}/devel/libslang2
RUN_DEPENDS= grace:${PORTSDIR}/math/grace
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
SLANG_VER= 2.1
GNU_CONFIGURE= yes
@@ -28,7 +31,7 @@ PORTDOCS= *
PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's, install_docfiles,,' \
-e '/MKINSDIR.*DEST_DOC_FILES_INSTALL_DIR/d' \
${WRKSRC}/src/Makefile.in