openbsd-ports/x11/yad/Makefile
jasper ee70a5d790 import yad-0.17.1.1
Yad (yet another dialog) is a fork of Zenity with many improvements,
such as custom buttons, additional dialogs, pop-up menu in notification
icon and more.

ok aja@
2012-10-09 20:08:21 +00:00

39 lines
1000 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/10/09 20:08:21 jasper Exp $
COMMENT= display graphical dialogs from shell scripts or command line
DISTNAME= yad-0.17.1.1
CATEGORIES= x11
HOMEPAGE= http://yad.googlecode.com/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
EXTRACT_SUFX= .tar.xz
USE_GMAKE= Yes
WANTLIB += GL X11 Xrender atk-1.0 c cairo cairo-gobject expat
WANTLIB += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gobject-2.0 gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z
MODULES= devel/gettext \
textproc/intltool
LIB_DEPENDS= x11/gtk+3
RUN_DEPENDS= x11/gtk+2,-guic
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-gtk=gtk3 \
--with-rgb=${X11BASE}/share/X11/rgb.txt
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib/"
.include <bsd.port.mk>