1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Editor for manipulating PDF documents. GUI and commandline interface."
10 HOMEPAGE="http://pdfedit.petricek.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="=x11-libs/qt-3*
22 doc? ( app-doc/doxygen )"
25 # for C{,XX}_EXTRA read README and bug #277723
26 # Disable parallel make detection as we pass required -j with emake
27 # ARCH is set to avoid pollution of CFLAGS with arch value...
29 --docdir=/usr/share/doc/${PF}/ \
30 --with-parallel-make=off \
31 $(use_enable doc doxygen-doc) \
32 $(use_enable doc advanced-doc) \
34 C_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing ${CFLAGS}" \
35 CXX_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions ${CXXFLAGS}"
39 emake INSTALL_ROOT="${D}" install || die "emake install failed"
40 rm "${D}"/usr/share/doc/${PF}/{LICENSE.GPL,README.cygwin}