openbsd-ports/lang/vala/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2011/06/01 16:14:52 ajacoutot Exp $
COMMENT= compiler for the GObject type system
GNOME_PROJECT= vala
GNOME_VERSION= 0.12.1
2009-03-22 15:25:41 -04:00
EXTRACT_SUFX= .tar.xz
SHARED_LIBS += vala-0.12 0.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
2010-09-23 10:15:37 -04:00
WANTLIB += c pcre pthread glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-17 03:05:12 -05:00
RUN_DEPENDS= textproc/libxslt \
textproc/p5-XML-LibXML
LIB_DEPENDS= devel/glib2
REGRESS_DEPENDS= shells/bash
USE_GROFF= Yes
2010-10-18 09:41:15 -04:00
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>