diff options
author | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
commit | 614c4ed9928269c536345007e69e8ba648fccf8d (patch) | |
tree | 840e8379f841715c5db9a647458ff49f7766d803 /math/slgrace | |
parent | a3dfce416fb9bdc21b43f0f2cbc480e7205aaa94 (diff) | |
download | freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.gz freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.zst freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.zip |
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
Diffstat (limited to 'math/slgrace')
-rw-r--r-- | math/slgrace/Makefile | 5 |
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 |