d56701ca36
From maintainer Vlad Glagolev. "Go for it." espie@
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2007/03/17 14:04:16 kili Exp $
|
|
|
|
COMMENT= "lightweight PDF document viewer"
|
|
|
|
DISTNAME= epdfview-0.1.6
|
|
CATEGORIES= print
|
|
HOMEPAGE= http://trac.emma-soft.com/epdfview/
|
|
|
|
MAINTAINER= Vlad Glagolev <stelzy@gmail.com>
|
|
|
|
MASTER_SITES= ${HOMEPAGE}chrome/site/releases/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= X11 Xext Xrender atk-1.0 c cairo fontconfig freetype \
|
|
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread \
|
|
stdc++ z
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= gtk-x11-2.0.>=0.14,gdk-x11-2.0.>=0.14,gdk_pixbuf-2.0.>=0.14::x11/gtk+2 \
|
|
poppler.>=1,poppler-glib.>=1::print/poppler
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
FLAVORS= cups
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mcups}
|
|
WANTLIB+= gcrypt gnutls gpg-error
|
|
LIB_DEPENDS+= cups.>=3:cups->=1.2:print/cups
|
|
CONFIGURE_ARGS+= --with-cups
|
|
.else
|
|
CONFIGURE_ARGS+= --without-cups
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|