openbsd-ports/graphics/viewnior/Makefile

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2012/08/19 16:31:48 ajacoutot Exp $
COMMENT= fast and simple image viewer
DISTNAME= viewnior-1.3
CATEGORIES= graphics x11
HOMEPAGE= http://xsisqox.github.com/Viewnior/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3
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 drm expat
WANTLIB += ffi 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 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs stdc++ xcb
WANTLIB += xcb-render xcb-shm z cairo
MASTER_SITES= http://cloud.github.com/downloads/xsisqox/Viewnior/
MODULES= devel/gettext \
textproc/intltool
LIB_DEPENDS= x11/gtk+2
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+2,-guic
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-shave
.include <bsd.port.mk>