2016-11-08 11:51:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.63 2016/11/08 10:51:26 wiz Exp $
|
2006-03-09 02:13:16 +01:00
|
|
|
|
|
|
|
.include "../../print/poppler/Makefile.common"
|
|
|
|
|
2013-09-02 21:50:38 +02:00
|
|
|
PKGNAME= poppler-glib-${POPPLER_VERS}
|
2006-03-31 22:37:37 +02:00
|
|
|
|
2013-09-02 21:50:38 +02:00
|
|
|
COMMENT= PDF rendering library (GLib wrapper)
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
2006-03-09 02:13:16 +01:00
|
|
|
|
2006-03-09 02:15:58 +01:00
|
|
|
CONFLICTS+= poppler<0.4.5nb1
|
|
|
|
|
2006-03-09 02:13:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= gmake
|
2007-02-22 20:26:05 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.in
|
2006-03-09 02:13:16 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2006-03-30 23:30:25 +02:00
|
|
|
# Build the cairo graphics backend, required by glib.
|
|
|
|
CONFIGURE_ARGS+= --enable-cairo-output
|
|
|
|
# Don't build the splash graphics backend.
|
|
|
|
CONFIGURE_ARGS+= --disable-splash-output
|
2006-03-09 02:13:16 +01:00
|
|
|
# Don't compile poppler qt wrapper.
|
|
|
|
CONFIGURE_ARGS+= --disable-poppler-qt
|
|
|
|
# Don't compile GTK+ test program.
|
2006-04-08 02:36:37 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-test
|
2007-11-28 21:51:33 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-utils
|
2011-07-11 20:43:03 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-poppler-cpp
|
|
|
|
|
2014-03-25 23:56:56 +01:00
|
|
|
CFLAGS.FreeBSD+= -DLLONG_MAX=__LLONG_MAX
|
|
|
|
|
2011-07-11 20:43:03 +02:00
|
|
|
BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*}
|
|
|
|
.include "../../print/poppler/buildlink3.mk"
|
|
|
|
|
2008-10-25 01:28:53 +02:00
|
|
|
BUILD_DIRS= goo fofi poppler glib
|
|
|
|
INSTALL_DIRS= glib
|
2006-03-30 23:30:25 +02:00
|
|
|
|
2007-08-09 20:42:51 +02:00
|
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
|
2006-03-30 23:30:25 +02:00
|
|
|
post-install:
|
2007-08-09 20:42:51 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/poppler-cairo.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
|
2006-03-09 02:13:16 +01:00
|
|
|
|
2016-11-08 11:51:26 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.glib2+= glib2>=2.41.0
|
2006-03-09 02:13:16 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2006-03-30 23:30:25 +02:00
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2006-03-09 02:13:16 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|