openbsd-ports/mail/claws-mail-pdfviewer/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

2010-11-22 04:20:34 -05:00
# $OpenBSD: Makefile,v 1.15 2010/11/22 09:23:59 espie Exp $
SHARED_ONLY= Yes
COMMENT= pdf and ps viewer plugin for Claws Mail
VERSION= 0.9.1
DISTNAME= pdf_viewer-${VERSION}
2010-10-11 04:11:24 -04:00
PKGNAME= claws-mail-pdfviewer-${VERSION}
REVISION= 7
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
CATEGORIES= mail
DIST_SUBDIR= claws
HOMEPAGE= http://www.claws-mail.org/plugin.php?plugin=pdf_viewer
MAINTAINER= Landry Breuil <gaston@gcu.info>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
MODULES= devel/gettext
2010-11-19 02:23:05 -05:00
RUN_DEPENDS= mail/claws-mail \
print/ghostscript/gnu
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-22 04:20:34 -05:00
LIB_DEPENDS= print/poppler
2009-03-09 17:32:22 -04:00
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
2010-10-11 04:11:24 -04:00
WANTLIB += gmodule-2.0 gobject-2.0 gtk-x11-2.0 jpeg m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
WANTLIB += xcb xml2 z lcms gthread-2.0 openjpeg xcb-render xcb-render-util
2010-11-19 02:23:05 -05:00
WANTLIB += poppler>=3 poppler-glib>=3
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-static
.include <bsd.port.mk>