openbsd-ports/print/poppler/Makefile
alek fa26c02ae9 Import poppler 0.5.3
Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg
of Glyph and Cog, LLC.  It provides PDF rendering functionality as a
shared library, and uses modern components from Freedesktop.org such as
fontconfig and cairo to take advantage of modern UNIX desktops.
2006-06-18 13:09:44 +00:00

43 lines
985 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
COMMENT= "PDF rendering library"
DISTNAME= poppler-0.5.3
CATEGORIES= print
SHARED_LIBS= poppler 1.0 \
poppler-glib 1.0
HOMEPAGE= http://poppler.freedesktop.org/
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-xpdf-headers \
--disable-poppler-qt \
--disable-poppler-qt4 \
--disable-utils \
--enable-zlib
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0::x11/gtk+2
WANTLIB= Xrender png z freetype X11 fontconfig m Xext glitz \
gmodule-2.0.0.0 cairo jpeg \
pango-1.0.0.0 pangocairo-1.0.0.0 pangoft2-1.0.0.0 \
gobject-2.0.0.0 glib-2.0.0.0
USE_LIBTOOL= Yes
USE_X11= Yes
USE_GMAKE= Yes
.include <bsd.port.mk>