summaryrefslogtreecommitdiffstats
path: root/lang/vala/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/vala/Makefile')
-rw-r--r--lang/vala/Makefile67
1 files changed, 0 insertions, 67 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
deleted file mode 100644
index 16a8f4910..000000000
--- a/lang/vala/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# Created by: Michael Johnson <ahze@FreeBSD.org>
-# $FreeBSD$
-# $MCom: ports/lang/vala/Makefile,v 1.65 2012/12/17 19:46:24 kwm Exp $
-
-PORTNAME= vala
-PORTVERSION= 0.16.1
-CATEGORIES= lang gnome
-MASTER_SITES= GNOME
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= Programming language and compiler that converts Vala code into C code
-
-LICENSE= LGPL21
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-USE_XZ= yes
-USES= bison pathfix
-USE_GNOME= glib20 gnomeprefix libxslt
-USE_PKGCONFIG= build
-GNU_CONFIGURE= yes
-USE_GETTEXT= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-USE_LDCONFIG= yes
-
-MAN1?= valac.1 valac-0.16.1
-
-PLIST_SUB= VERSION=0.16
-
-.if defined(VALA_SLAVE)
-LIB_DEPENDS+= vala-0.16.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
-MAN1= vala-gen-introspect.1 vapigen.1
-.else
-CONFIGURE_ARGS+=--disable-vapigen
-.endif
-
-post-patch:
-# We cheat here, because vala records vapigen related stuff in its .pc file
-# This makes vapigen work again, although it might get weird when
-# vala-vapigen isn't installed.
- @${REINPLACE_CMD} -e 's|@vapigen_decl@|vapigen=$${bindir}/vapigen-0.16|g' \
- -e 's|@gen_introspect_decl@|gen_introspect=$${libdir}/vala-0.16/gen-introspect-0.16|g' \
- -e 's|@vala_gen_introspect_decl@|vala_gen_introspect=$${bindir}/vala-gen-introspect-0.16|g' \
- ${WRKSRC}/libvala.pc.in
- @${REINPLACE_CMD} -e 's|cp $$< $$@|cp libvala.pc libvala-0.16.pc|g' \
- ${WRKSRC}/Makefile.in
-
-.if defined(VALA_SLAVE)
-pre-build:
- @cd ${WRKSRC} && ${GMAKE} version.h
- @cd ${WRKSRC}/gobject-introspection && ${GMAKE} libgidl.la && \
- ${GMAKE} gen-introspect
-
-post-install:
- @cd ${WRKSRC}/gobject-introspection && ${GMAKE} install
- @${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \
- ${PREFIX}/man/man1/
-.else
-post-install:
- ${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-0.16.pc \
- ${PREFIX}/libdata/pkgconfig/vala-1.0.pc
-.endif
-
-.include <bsd.port.mk>