diff options
author | kwm <kwm@FreeBSD.org> | 2014-03-08 23:03:42 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-03-08 23:03:42 +0800 |
commit | 15b8ac96117d6f6218186103b12a64ff40463a83 (patch) | |
tree | 8352c305f0529cc71cfe28fafb7b16a5182d0c28 /lang | |
parent | 09258a27fd5e137c6f08927758934e323dbadbd1 (diff) | |
download | freebsd-ports-gnome-15b8ac96117d6f6218186103b12a64ff40463a83.tar.gz freebsd-ports-gnome-15b8ac96117d6f6218186103b12a64ff40463a83.tar.zst freebsd-ports-gnome-15b8ac96117d6f6218186103b12a64ff40463a83.zip |
Stagify, use new lib_depends syntax. add libtool to USES.
Update www and pkg-descr in vala-vapi.
PR: ports/186780 (based on)
ports/186781 (based on)
Submitted by: olivierd@
Diffstat (limited to 'lang')
-rw-r--r-- | lang/vala-vapigen/Makefile | 1 | ||||
-rw-r--r-- | lang/vala-vapigen/pkg-descr | 18 | ||||
-rw-r--r-- | lang/vala/Makefile | 25 | ||||
-rw-r--r-- | lang/vala/pkg-descr | 2 | ||||
-rw-r--r-- | lang/vala/pkg-plist | 3 |
5 files changed, 19 insertions, 30 deletions
diff --git a/lang/vala-vapigen/Makefile b/lang/vala-vapigen/Makefile index dab13decc2f8..98681f75dde6 100644 --- a/lang/vala-vapigen/Makefile +++ b/lang/vala-vapigen/Makefile @@ -17,5 +17,4 @@ PLIST= ${.CURDIR}/pkg-plist VALA_SLAVE= yes -NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/lang/vala-vapigen/pkg-descr b/lang/vala-vapigen/pkg-descr index 1ec2bfea440f..715f54ef3b48 100644 --- a/lang/vala-vapigen/pkg-descr +++ b/lang/vala-vapigen/pkg-descr @@ -1,16 +1,4 @@ -Soup is a SOAP (Simple Object Access Protocol) implementation in C. +vapigen is a utility which generates Vala API (vapi) from +gobject-introspection (GI) files. -It provides a queued asynchronous callback-based mechanism for sending and -servicing SOAP requests, and a WSDL (Web Service Definition Language) for C -compilers which generates client stubs and server skeletons for easily -calling and implementing SOAP methods. It uses GLib and is designed to work -well with GTK applications. - -Features: - * Completely Asynchronous - * Connection cache - * HTTP chunked transfer and persistent connections - * Authenticated HTTP, SOCKS4, and SOCKS5 proxy support - * SSL Support using OpenSSL - * Apache module server support - * Client digest authentication +WWW: https://wiki.gnome.org/Projects/Vala diff --git a/lang/vala/Makefile b/lang/vala/Makefile index be89b9886148..0b08f28f8bb0 100644 --- a/lang/vala/Makefile +++ b/lang/vala/Makefile @@ -1,6 +1,6 @@ # Created by: Michael Johnson <ahze@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/lang/vala/Makefile 18634 2013-07-26 10:42:35Z kwm $ +# $MCom: ports/trunk/lang/vala/Makefile 19019 2014-03-08 14:51:46Z kwm $ PORTNAME= vala PORTVERSION= 0.20.1 @@ -12,30 +12,27 @@ COMMENT= Programming language and compiler that converts Vala code into C code LICENSE= LGPL21 -USES= bison gettext gmake pathfix pkgconfig +USES= bison gettext gmake libtool pathfix pkgconfig USE_XZ= yes -USE_GNOME= glib20 gnomeprefix libxslt +USE_GNOME= glib20 gnomeprefix libxslt introspection:build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes -MAN1?= valac.1 valac-${VALA_VER}.1 VALA_VER= ${PORTVERSION:R} PLIST_SUB= VERSION=${VALA_VER} .if defined(VALA_SLAVE) -LIB_DEPENDS+= vala-${VALA_VER}.0:${PORTSDIR}/lang/vala +LIB_DEPENDS+= libvala-${VALA_VER}.so:${PORTSDIR}/lang/vala CONFIGURE_ARGS+=--enable-vapigen BUILD_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML RUN_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML -MAN1= vala-gen-introspect.1 vapigen.1 .else CONFIGURE_ARGS+=--disable-vapigen .endif -NO_STAGE= yes 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 @@ -50,17 +47,19 @@ post-patch: .if defined(VALA_SLAVE) pre-build: @cd ${WRKSRC} && ${GMAKE} version.h - @cd ${WRKSRC}/gobject-introspection && ${GMAKE} libgidl.la && \ - ${GMAKE} gen-introspect + @cd ${WRKSRC}/gobject-introspection && ${MAKE_CMD} libgidl.la && \ + ${MAKE_CMD} gen-introspect + @cd ${WRKSRC}/vapigen && ${MAKE_CMD} all post-install: - @cd ${WRKSRC}/gobject-introspection && ${GMAKE} install - @${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \ - ${PREFIX}/man/man1/ + @cd ${WRKSRC}/gobject-introspection && DESTDIR=${STAGEDIR} ${GMAKE} install + ${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \ + ${STAGEDIR}${PREFIX}/man/man1/ .else post-install: ${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-${VALA_VER}.pc \ - ${PREFIX}/libdata/pkgconfig/vala-1.0.pc + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/vala-1.0.pc + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* .endif .include <bsd.port.mk> diff --git a/lang/vala/pkg-descr b/lang/vala/pkg-descr index e5c2f9fc49e1..cfde332b3860 100644 --- a/lang/vala/pkg-descr +++ b/lang/vala/pkg-descr @@ -9,4 +9,4 @@ type system to create classes and interfaces declared in the Vala source code. It's also planned to generate GIDL files when gobject- introspection is ready. -WWW: http://live.gnome.org/Vala +WWW: https://wiki.gnome.org/Projects/Vala diff --git a/lang/vala/pkg-plist b/lang/vala/pkg-plist index 241299a6cf44..6d5bebf50947 100644 --- a/lang/vala/pkg-plist +++ b/lang/vala/pkg-plist @@ -9,8 +9,11 @@ include/vala-%%VERSION%%/valagee.h lib/libvala-%%VERSION%%.la lib/libvala-%%VERSION%%.so lib/libvala-%%VERSION%%.so.0 +lib/libvala-%%VERSION%%.so.0.0.0 libdata/pkgconfig/libvala-%%VERSION%%.pc libdata/pkgconfig/vala-1.0.pc +man/man1/valac-%%VERSION%%.1.gz +man/man1/valac.1.gz share/aclocal/vala.m4 share/devhelp/books/vala-%%VERSION%%/attributes.html share/devhelp/books/vala-%%VERSION%%/classes.html |