openbsd-ports/x11/gnome/gcalctool/Makefile
2010-10-23 14:10:16 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.37 2010/10/23 14:10:16 ajacoutot Exp $
COMMENT= GTK2 desktop calculator
GNOME_PROJECT= gcalctool
GNOME_VERSION= 5.32.0
REVISION= 2
CATEGORIES= math
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
WANTLIB += 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 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs xcb z xcb-render
WANTLIB += xcb-render-util xml2
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= ::x11/gtk+2
BUILD_DEPENDS= ::devel/bison
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-schemas-compile
USE_GROFF= Yes
FAKE_FLAGS+= itlocaledir="${PREFIX}/share/locale/"
.include <bsd.port.mk>