openbsd-ports/graphics/libexif-gtk/Makefile
2014-12-22 14:26:54 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2014/12/22 14:26:54 ajacoutot Exp $
COMMENT= gtk+2 interface to libexif
DISTNAME= libexif-gtk-0.4.0
SHARED_LIBS += exif-gtk 1.0 # 6.0
CATEGORIES= graphics
HOMEPAGE= http://libexif.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libexif/}
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 cairo exif expat ffi fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0
WANTLIB += harfbuzz m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z
MODULES= devel/gettext
LIB_DEPENDS= x11/gtk+2 \
graphics/libexif
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# checking how to link with libintl... /usr/local/lib/libintl.a ...
# (we want -lintl)
MAKE_FLAGS= INTLLIBS='$$(LTLIBINTL)'
.include <bsd.port.mk>