openbsd-ports/graphics/geeqie/Makefile
2011-06-08 08:22:00 +00:00

54 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2011/06/08 08:22:00 ajacoutot Exp $
COMMENT= lightweight Gtk+2 based image viewer
DISTNAME= geeqie-1.0
CATEGORIES= graphics
EPOCH= 0
HOMEPAGE= http://geeqie.sourceforge.net/
# 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
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += drm exiv2 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 lcms m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ xcb xcb-render
WANTLIB += xcb-shm z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=geeqie/}
MODULES= devel/gettext \
textproc/intltool
BUILD_DEPENDS= x11/gnome/doc-utils>=0.20.4p0
RUN_DEPENDS= devel/desktop-file-utils \
devel/xdg-utils
LIB_DEPENDS= x11/gtk+2 \
graphics/lcms \
graphics/exiv2
USE_GROFF= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-doxygen-doc \
--disable-lirc \
--disable-gps \
--with-htmldir=${PREFIX}/share/doc/geeqie \
--with-readmedir=${PREFIX}/share/doc/geeqie
# XXX don't stress the old farts
post-install:
cd ${PREFIX}/bin && ln -s geeqie gqview
.include <bsd.port.mk>