aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
commit037277c495c4a69f56029e71eecf6838910561c8 (patch)
tree728a3619568ce38b9188fc0b8717a16a880d52d3 /print
parent944f55c3adc149ff34c18999a68dd201bd55600a (diff)
downloadfreebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.gz
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.zst
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.zip
Add DOCS option for ports with PORTDOCS in plist.
Diffstat (limited to 'print')
-rw-r--r--print/py-pyscript/Makefile7
-rw-r--r--print/py-trml2pdf/Makefile2
-rw-r--r--print/scribus/Makefile2
3 files changed, 7 insertions, 4 deletions
diff --git a/print/py-pyscript/Makefile b/print/py-pyscript/Makefile
index 4b9239626075..217bcfd820c1 100644
--- a/print/py-pyscript/Makefile
+++ b/print/py-pyscript/Makefile
@@ -13,12 +13,11 @@ COMMENT= Python module for producing high quality PostScript graphics
LICENSE= GPLv2
-OPTIONS_DEFAULT= EXAMPLES
-OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES
-PYSCRIPT_MANUAL= doc/manual/pyscript.pdf
+PYSCRIPT_MANUAL=doc/manual/pyscript.pdf
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS=yes
USE_PYTHON= yes
USE_TEX= latex dvipsk
diff --git a/print/py-trml2pdf/Makefile b/print/py-trml2pdf/Makefile
index 59e663ec980f..48bf47928628 100644
--- a/print/py-trml2pdf/Makefile
+++ b/print/py-trml2pdf/Makefile
@@ -22,6 +22,8 @@ USE_PYTHON= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf
@${INSTALL_SCRIPT} ${WRKSRC}/trml2pdf/* ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 465e3eb16281..d8d2536ea367 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -36,6 +36,8 @@ USE_LDCONFIG= yes
CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit
+OPTIONS_DEFINE= DOCS
+
post-install:
${LN} -sf ${DATADIR}/icons/scribus.png ${STAGEDIR}${PREFIX}/share/pixmaps/