summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
commitc6941c482ece145e97bdb2cd8f5ae1f8938298ea (patch)
tree6cba635ca6a0900686686afe6df65efafe2cb104 /science
parentAdd DOCS option for ports with PORTDOCS in plist. (diff)
Add DOCS option where PORTDOCS is in plist.
Notes
Notes: svn path=/head/; revision=362024
Diffstat (limited to 'science')
-rw-r--r--science/buddy/Makefile2
-rw-r--r--science/libctl/Makefile2
-rw-r--r--science/metaf2xml/Makefile2
-rw-r--r--science/ruby-netcdf/Makefile2
4 files changed, 7 insertions, 1 deletions
diff --git a/science/buddy/Makefile b/science/buddy/Makefile
index bcd48a1bc20a..325af6f8e4e2 100644
--- a/science/buddy/Makefile
+++ b/science/buddy/Makefile
@@ -17,6 +17,8 @@ INSTALL_TARGET= install-strip
DOCS= doc/bddnotes.ps doc/buddy.ps doc/tech.txt README AUTHORS
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/science/libctl/Makefile b/science/libctl/Makefile
index eea01b8aceb4..7f372cd6c636 100644
--- a/science/libctl/Makefile
+++ b/science/libctl/Makefile
@@ -19,6 +19,8 @@ USE_LDCONFIG= yes
BROKEN_sparc64= does not build
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
diff --git a/science/metaf2xml/Makefile b/science/metaf2xml/Makefile
index e83d0bebd35a..ae44cc8df8b0 100644
--- a/science/metaf2xml/Makefile
+++ b/science/metaf2xml/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Parse and Decode METAR, TAF, SYNOP and BUOY and Store as XML
-OPTIONS_DEFINE= APACHE
+OPTIONS_DEFINE= APACHE DOCS
OPTIONS_SUB= yes
APACHE_DESC= Install Apache config file for metaf2xml (depends on Apache)
diff --git a/science/ruby-netcdf/Makefile b/science/ruby-netcdf/Makefile
index 541d7f153f06..dcf5a6d8ec9d 100644
--- a/science/ruby-netcdf/Makefile
+++ b/science/ruby-netcdf/Makefile
@@ -26,6 +26,8 @@ MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
DOCS= ChangeLog ToDo doc/*
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/