Skip to content

Commit

Permalink
app-doc/pms: Support two-sided printing.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.36, Repoman-2.3.9
  • Loading branch information
ulm committed May 5, 2018
1 parent c94009b commit 51305c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app-doc/pms/pms-7_p20180430-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC_URI="!binary? ( https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz )
LICENSE="CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="binary html"
IUSE="binary html twoside"

# texlive-bibtexextra: plainurl.bst
# texlive-latexextra: chngcntr, isodate, marginnote, paralist, tocbibind
Expand All @@ -35,8 +35,10 @@ src_compile() {
if ! use binary; then
# just in case; we shouldn't be generating any fonts
export VARTEXFONTS="${T}/fonts"
emake
emake $(usex twoside TWOSIDE=yes "")
use html && emake html
else
use twoside && ewarn "USE=twoside is not supported with USE=binary"
fi
}

Expand Down

0 comments on commit 51305c1

Please sign in to comment.