aboutsummaryrefslogtreecommitdiffstats
path: root/math/ocamlgsl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
commitfa4bf2ee1d039ae33718a8286802e7bf7ceb3387 (patch)
tree728a3619568ce38b9188fc0b8717a16a880d52d3 /math/ocamlgsl
parentb0dffdff28a18aa92669ae08593f8e26d4128641 (diff)
downloadfreebsd-ports-gnome-fa4bf2ee1d039ae33718a8286802e7bf7ceb3387.tar.gz
freebsd-ports-gnome-fa4bf2ee1d039ae33718a8286802e7bf7ceb3387.tar.zst
freebsd-ports-gnome-fa4bf2ee1d039ae33718a8286802e7bf7ceb3387.zip
Add DOCS option for ports with PORTDOCS in plist.
Diffstat (limited to 'math/ocamlgsl')
-rw-r--r--math/ocamlgsl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/ocamlgsl/Makefile b/math/ocamlgsl/Makefile
index 2d85d0c4da79..60a9b0c919a0 100644
--- a/math/ocamlgsl/Makefile
+++ b/math/ocamlgsl/Makefile
@@ -25,6 +25,8 @@ HAS_CONFIGURE= YES
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/gsl-ocaml-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-configure:
@${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
@${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data