openbsd-ports/lang/vala/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2009-12-19 10:45:44 -05:00
# $OpenBSD: Makefile,v 1.23 2009/12/19 15:45:44 ajacoutot Exp $
COMMENT= compiler for the GObject type system
GNOME_PROJECT= vala
2009-12-19 10:45:44 -05:00
GNOME_VERSION= 0.7.9
2009-03-22 15:25:41 -04:00
2009-03-22 15:18:32 -04:00
SHARED_LIBS += vala 2.0 # .0.0
2009-03-22 15:25:41 -04:00
CATEGORIES= lang
HOMEPAGE= http://live.gnome.org/Vala
2009-03-22 15:25:41 -04:00
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcre pthread
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/libxslt \
::textproc/p5-XML-LibXML
LIB_DEPENDS= glib-2.0.>=1800,gmodule-2.0,gobject-2.0,gthread-2.0::devel/glib2
REGRESS_DEPENDS= ::shells/bash
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-vapigen
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
pre-configure:
perl -pi -e 's,/bin/bash,${LOCALBASE}/bin/bash,g' \
${WRKSRC}/tests/testrunner.sh
.include <bsd.port.mk>