openbsd-ports/print/apvlv/Makefile
kili 6147e12c60 Follow incompatible API change in poppler-0.16. Text selection is still
broken, though (but I think it already was broken with poppler-0.14).
While here, adjust WANTLIB.
2011-06-04 19:04:24 +00:00

36 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2011/06/04 19:04:24 kili Exp $
COMMENT= lightweight PDF document viewer with vi bindings
DISTNAME= apvlv-0.0.9.6
REVISION= 3
CATEGORIES= print
HOMEPAGE= http://code.google.com/p/apvlv/
MASTER_SITES= http://apvlv.googlecode.com/files/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo drm expat
WANTLIB += fontconfig freetype gdk-x11-2.0>=0.14 gdk_pixbuf-2.0>=0.14
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0>=0.14 iconv intl m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png poppler-glib>=3 poppler>=3
WANTLIB += pthread pthread-stubs stdc++ xcb xcb-shm xcb-render z
LIB_DEPENDS= x11/gtk+2 \
print/poppler
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS+= --without-djvu
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/apvlv
USE_GROFF = Yes
.include <bsd.port.mk>