2010-01-12 16:45:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2010/01/12 21:45:20 jasper Exp $
|
2007-01-01 07:32:38 -05:00
|
|
|
|
2007-09-15 17:36:44 -04:00
|
|
|
COMMENT= lightweight PDF document viewer
|
2007-01-01 07:32:38 -05:00
|
|
|
|
2009-04-04 05:25:25 -04:00
|
|
|
DISTNAME= epdfview-0.1.7
|
2010-01-12 16:45:20 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2007-01-01 07:32:38 -05:00
|
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= http://trac.emma-soft.com/epdfview/
|
|
|
|
|
2009-04-04 05:25:25 -04:00
|
|
|
MAINTAINER= Brynet <brynet@gmail.com>
|
2007-01-01 07:32:38 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}chrome/site/releases/
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2009-04-04 05:25:25 -04:00
|
|
|
# GPLv2+
|
2007-01-01 07:32:38 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-03-12 14:13:54 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ xcb z
|
2007-01-01 07:32:38 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2007-12-15 16:43:03 -05:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2007-01-01 07:32:38 -05:00
|
|
|
LIB_DEPENDS= gtk-x11-2.0.>=0.14,gdk-x11-2.0.>=0.14,gdk_pixbuf-2.0.>=0.14::x11/gtk+2 \
|
2007-12-07 15:10:33 -05:00
|
|
|
poppler.>=3,poppler-glib.>=3::print/poppler
|
2007-01-01 07:32:38 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
FLAVORS= cups
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mcups}
|
2009-11-24 12:13:59 -05:00
|
|
|
WANTLIB += asn1 crypto gssapi krb5 ssl
|
2009-04-04 05:25:25 -04:00
|
|
|
LIB_DEPENDS+= cups.>=3:cups->=1.2:print/cups
|
2009-06-19 19:51:35 -04:00
|
|
|
CONFIGURE_ARGS+=--with-cups
|
2007-01-01 07:32:38 -05:00
|
|
|
.else
|
2009-06-19 19:51:35 -04:00
|
|
|
CONFIGURE_ARGS+=--without-cups
|
2007-01-01 07:32:38 -05:00
|
|
|
.endif
|
|
|
|
|
2008-05-02 07:55:42 -04:00
|
|
|
ICONDIR = $(PREFIX)/share/icons/hicolor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${ICONDIR}/{24x24,32x32,48x48}/apps
|
|
|
|
for i in 24 32 48; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/icon_epdfview-$${i}.png \
|
|
|
|
${ICONDIR}/$${i}x$${i}/apps/epdfview.png; \
|
|
|
|
done
|
|
|
|
|
2007-01-01 07:32:38 -05:00
|
|
|
.include <bsd.port.mk>
|