Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Feb 2020 17:44:49 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527447 - in head/textproc: . libxmlbird
Message-ID:  <202002291744.01THinuj013667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Sat Feb 29 17:44:49 2020
New Revision: 527447
URL: https://svnweb.freebsd.org/changeset/ports/527447

Log:
  New port: textproc/libxmlbird
  
  XML Bird is an XML parser for programs written in Vala or C.
  
  It is being developed as a part of the Birdfont project.
  
  WWW: https://birdfont.org/xmlbird.php

Added:
  head/textproc/libxmlbird/
  head/textproc/libxmlbird/Makefile   (contents, props changed)
  head/textproc/libxmlbird/distinfo   (contents, props changed)
  head/textproc/libxmlbird/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Feb 29 17:34:21 2020	(r527446)
+++ head/textproc/Makefile	Sat Feb 29 17:44:49 2020	(r527447)
@@ -392,6 +392,7 @@
     SUBDIR += libxml++26-reference
     SUBDIR += libxml2
     SUBDIR += libxml2-reference
+    SUBDIR += libxmlbird
     SUBDIR += libxode
     SUBDIR += libxslt
     SUBDIR += libxslt-reference

Added: head/textproc/libxmlbird/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libxmlbird/Makefile	Sat Feb 29 17:44:49 2020	(r527447)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	libxmlbird
+DISTVERSION=	1.2.11
+CATEGORIES=	textproc devel
+MASTER_SITES=	https://birdfont.org/xmlbird-releases/
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	XML parser for Vala and C programs
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LGPLv3.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}doit>0:devel/py-doit@${PY_FLAVOR} \
+		valac:lang/vala
+
+USES=		gettext-runtime gnome pkgconfig python:3.7+,build shebangfix tar:xz
+USE_GNOME=	glib20
+USE_LDCONFIG=	yes
+SHEBANG_FILES=	configure install.py
+
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--cc="${CC}" \
+		--cflags="${CFLAGS}" \
+		--dest="${STAGEDIR}" \
+		--ldflags="${LDFLAGS}" \
+		--prefix="${PREFIX}"
+
+PLIST_FILES=	include/xmlbird.h \
+		lib/libxmlbird.so \
+		lib/libxmlbird.so.1 \
+		libdata/pkgconfig/xmlbird.pc \
+		share/vala/vapi/xmlbird.vapi
+
+do-build:
+	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/doit)
+
+do-install:
+	(cd ${WRKSRC} && ./install.py --dest="${STAGEDIR}")
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmlbird.so.1
+
+.include <bsd.port.mk>

Added: head/textproc/libxmlbird/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libxmlbird/distinfo	Sat Feb 29 17:44:49 2020	(r527447)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582991659
+SHA256 (libxmlbird-1.2.11.tar.xz) = 20062cf9d890690f0259b969bd25cfb6038d42c312239ed5038c5aeeb77c8bf9
+SIZE (libxmlbird-1.2.11.tar.xz) = 20588

Added: head/textproc/libxmlbird/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libxmlbird/pkg-descr	Sat Feb 29 17:44:49 2020	(r527447)
@@ -0,0 +1,5 @@
+XML Bird is an XML parser for programs written in Vala or C.
+
+It is being developed as a part of the Birdfont project.
+
+WWW: https://birdfont.org/xmlbird.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002291744.01THinuj013667>