summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-05-31 20:23:57 +0200
committerUlrich Müller <ulm@gentoo.org>2017-05-31 20:23:57 +0200
commit1ad6ec30d10d489341f61c61e1282c21ccec2a26 (patch)
treea098c31451be6210e1a3482bea1bcbded272d7a0 /app-doc/pms
parentkde-plasma/plasma-sdk: Drop USE=plasmate (diff)
downloadgentoo-1ad6ec30d10d489341f61c61e1282c21ccec2a26.tar.gz
gentoo-1ad6ec30d10d489341f61c61e1282c21ccec2a26.tar.bz2
gentoo-1ad6ec30d10d489341f61c61e1282c21ccec2a26.zip
app-doc/pms: New USE flag that enables two-sided layout.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-doc/pms')
-rw-r--r--app-doc/pms/metadata.xml1
-rw-r--r--app-doc/pms/pms-9999.ebuild4
2 files changed, 3 insertions, 2 deletions
diff --git a/app-doc/pms/metadata.xml b/app-doc/pms/metadata.xml
index 04de2017946..53e7110fe54 100644
--- a/app-doc/pms/metadata.xml
+++ b/app-doc/pms/metadata.xml
@@ -9,5 +9,6 @@
<flag name="binary">Download pre-built files instead of building
from sources</flag>
<flag name="html">Generate PMS as .html as well</flag>
+ <flag name="twoside">Enable two-sided layout suitable for printing</flag>
</use>
</pkgmetadata>
diff --git a/app-doc/pms/pms-9999.ebuild b/app-doc/pms/pms-9999.ebuild
index 0527613e2a1..6ba5a2ef823 100644
--- a/app-doc/pms/pms-9999.ebuild
+++ b/app-doc/pms/pms-9999.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification"
LICENSE="CC-BY-SA-3.0"
SLOT="live"
-IUSE="html"
+IUSE="html twoside"
DEPEND="dev-tex/leaflet
dev-texlive/texlive-bibtexextra
@@ -28,7 +28,7 @@ DEPEND="dev-tex/leaflet
RDEPEND=""
src_compile() {
- emake
+ emake $(usex twoside TWOSIDE=yes "")
use html && emake html
}