aboutsummaryrefslogtreecommitdiffstats
path: root/lang/vala/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/vala/Makefile')
-rw-r--r--lang/vala/Makefile25
1 files changed, 14 insertions, 11 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
index 5b9c41751b70..6c7785484f29 100644
--- a/lang/vala/Makefile
+++ b/lang/vala/Makefile
@@ -3,11 +3,11 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/lang/vala/Makefile,v 1.46 2010/10/27 21:21:51 kwm Exp $
+# $MCom: ports/lang/vala/Makefile,v 1.55 2011/06/02 12:10:13 kwm Exp $
#
PORTNAME= vala
-PORTVERSION= 0.10.4
+PORTVERSION= 0.12.1
CATEGORIES= lang gnome
MASTER_SITES= GNOME
@@ -16,7 +16,7 @@ COMMENT= Programming language and compiler that converts Vala code into C code
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_BZIP2= yes
+USE_XZ= yes
USE_GNOME= gnomehack glib20 gnomeprefix libxslt
GNU_CONFIGURE= yes
USE_GETTEXT= yes
@@ -24,12 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}" LDFLAGS="-L${LOCALBASE}/lib"
USE_BISON= build
USE_LDCONFIG= yes
-MAN1?= valac.1 valac-0.10.1
+MAN1?= valac.1 valac-0.12.1
+
+PLIST_SUB= VERSION=0.12
.include <bsd.port.pre.mk>
.if defined(VALA_SLAVE)
-LIB_DEPENDS+= vala-0.10.0:${PORTSDIR}/lang/vala
+LIB_DEPENDS+= vala-0.12.0:${PORTSDIR}/lang/vala
CONFIGURE_ARGS+=--enable-vapigen
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
@@ -42,11 +44,11 @@ post-patch:
# We cheat here, because vala records vapigen related stuff in its .pc file
# This makes the vapigen work again, although it might get weird when
# vala-vapigen isn't installed.
- @${REINPLACE_CMD} -e 's|@vapigen_decl@|vapigen=$${bindir}/vapigen-0.10|g' \
- -e 's|@gen_introspect_decl@|gen_introspect=$${libdir}/vala-0.10/gen-introspect-0.10|g' \
- -e 's|@vala_gen_introspect_decl@|vala_gen_introspect=$${bindir}/vala-gen-introspect-0.10|g' \
- ${WRKSRC}/vala.pc.in
- @${REINPLACE_CMD} -e 's|cp $$< $$@|cp vala.pc vala-0.10.pc|g' \
+ @${REINPLACE_CMD} -e 's|@vapigen_decl@|vapigen=$${bindir}/vapigen-0.12|g' \
+ -e 's|@gen_introspect_decl@|gen_introspect=$${libdir}/vala-0.12/gen-introspect-0.12|g' \
+ -e 's|@vala_gen_introspect_decl@|vala_gen_introspect=$${bindir}/vala-gen-introspect-0.12|g' \
+ ${WRKSRC}/libvala.pc.in
+ @${REINPLACE_CMD} -e 's|cp $$< $$@|cp libvala.pc libvala-0.12.pc|g' \
${WRKSRC}/Makefile.in
.if defined(VALA_SLAVE)
@@ -60,8 +62,9 @@ post-install:
@${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \
${PREFIX}/man/man1/
.else
+# want to see what will fail.
post-install:
- ${LN} -fs ${PREFIX}/libdata/pkgconfig/vala-0.10.pc \
+ ${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-0.12.pc \
${PREFIX}/libdata/pkgconfig/vala-1.0.pc
.endif