2008-05-19 05:57:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2008/05/19 09:57:44 fgsch 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
|
|
|
|
2007-03-17 10:04:16 -04:00
|
|
|
DISTNAME= epdfview-0.1.6
|
2008-05-19 05:57:43 -04:00
|
|
|
PKGNAME= ${DISTNAME}p5
|
2007-01-01 07:32:38 -05:00
|
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= http://trac.emma-soft.com/epdfview/
|
|
|
|
|
2007-11-13 15:05:00 -05:00
|
|
|
MAINTAINER= Vlad Glagolev <stealth@sourcemage.org>
|
2007-01-01 07:32:38 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2007-12-07 15:10:33 -05:00
|
|
|
WANTLIB= Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama \
|
|
|
|
Xrandr X11 Xext Xrender atk-1.0 c cairo fontconfig freetype \
|
2007-01-01 07:32:38 -05:00
|
|
|
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
|
2008-05-19 05:57:43 -04:00
|
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
|
|
|
|
pthread stdc++ z expat
|
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}
|
2007-07-04 14:50:59 -04:00
|
|
|
WANTLIB+= crypto ssl
|
2007-01-01 07:32:38 -05:00
|
|
|
LIB_DEPENDS+= cups.>=3:cups->=1.2:print/cups
|
|
|
|
CONFIGURE_ARGS+= --with-cups
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-cups
|
|
|
|
.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>
|