1 # Copyright © 2012, 2014-2015 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or later.
3 # There is NO WARRANTY, to the extent permitted by law.
9 DESCRIPTION="An X viewer for PDF files"
10 HOMEPAGE="http://www.foolabs.com/xpdf/"
11 SRC_URI="ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz"
13 LICENSE="|| ( GPL-2 GPL-3 )"
17 DEPEND=">=x11-libs/motif-2.3:0
23 media-fonts/urw-fonts"
26 epatch "$FILESDIR/xpdf-Add-Gentoo-font-path.patch"
31 econf --with-freetype2-includes=/usr/include/freetype2
38 dodoc README ANNOUNCE CHANGES
39 newicon xpdf/xpdfIcon.xpm xpdf.xpm
42 newins doc/sample-xpdfrc xpdfrc
43 newdoc doc/sample-xpdfrc xpdfrc.example
45 insinto /usr/share/applications
46 doins "$FILESDIR/xpdf.desktop"