svn commit: r457311 - head/math/adept
Yuri Victorovich
yuri at FreeBSD.org
Tue Dec 26 19:28:10 UTC 2017
Author: yuri
Date: Tue Dec 26 19:28:08 2017
New Revision: 457311
URL: https://svnweb.freebsd.org/changeset/ports/457311
Log:
math/adept: Replaced DOCS option with PDFTEXDOCS option because the LaTeX dependency is huge.
Reported by: adamw
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13643
Modified:
head/math/adept/Makefile
head/math/adept/pkg-plist
Modified: head/math/adept/Makefile
==============================================================================
--- head/math/adept/Makefile Tue Dec 26 19:12:56 2017 (r457310)
+++ head/math/adept/Makefile Tue Dec 26 19:28:08 2017 (r457311)
@@ -2,6 +2,7 @@
PORTNAME= adept
DISTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.met.reading.ac.uk/clouds/adept/
@@ -17,14 +18,16 @@ CONFIGURE_ARGS= --disable-static
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= PDFTEXDOCS
+PDFTEXDOCS_DESC= Build and install PDF documentation from LaTeX sources
+OPTIONS_SUB= yes
-DOCS_USE= TEX=pdftex:build,dvipsk:build
+PDFTEXDOCS_USE= TEX=pdftex:build,dvipsk:build
-post-build-DOCS-on:
+post-build-PDFTEXDOCS-on:
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
-post-install-DOCS-on:
+post-install-PDFTEXDOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
Modified: head/math/adept/pkg-plist
==============================================================================
--- head/math/adept/pkg-plist Tue Dec 26 19:12:56 2017 (r457310)
+++ head/math/adept/pkg-plist Tue Dec 26 19:28:08 2017 (r457311)
@@ -44,5 +44,5 @@ include/adept_arrays.h
lib/libadept.so
lib/libadept.so.0
lib/libadept.so.0.0.0
-%%PORTDOCS%%%%DOCSDIR%%/adept_documentation.pdf
-%%PORTDOCS%%%%DOCSDIR%%/adept_reference.pdf
+%%PDFTEXDOCS%%%%DOCSDIR%%/adept_documentation.pdf
+%%PDFTEXDOCS%%%%DOCSDIR%%/adept_reference.pdf
More information about the svn-ports-all
mailing list