openbsd-ports/lang/vala/Makefile
jasper 9af6ebf21d - update to 0.3.2
(many bugfixes and improvents to bindings/docs)
2008-05-13 10:06:51 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2008/05/13 10:06:51 jasper Exp $
COMMENT= compiler for the GObject type system
GNOME_PROJECT= vala
GNOME_VERSION= 0.3.2
SHARED_LIBS += vala 0.1 # .0.0
CATEGORIES= lang
HOMEPAGE= http://live.gnome.org/Vala
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre png pthread z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/libxslt \
::textproc/p5-XML-LibXML
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
REGRESS_DEPENDS= ::shells/bash
MODGNOME_DEVHELP_FILES= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-gen-project \
--enable-vapigen
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
SUBST_VARS= LOCALBASE
pre-regress:
${SUBST_CMD} ${WRKSRC}/tests/testrunner.sh
chmod +x ${WRKSRC}/tests/testrunner.sh
.include <bsd.port.mk>