svn commit: r527557 - in head/graphics: . birdfont birdfont/files

Mateusz Piotrowski 0mp at FreeBSD.org
Sun Mar 1 14:52:23 UTC 2020


Author: 0mp
Date: Sun Mar  1 14:52:20 2020
New Revision: 527557
URL: https://svnweb.freebsd.org/changeset/ports/527557

Log:
  New port: graphics/birdfont
  
  Birdfont is a free font editor which lets you create vector graphics and
  export TTF, OTF, EOT and SVG fonts. The editor has good support for both
  monochrome and color font formats.
  
  WWW: https://birdfont.org/

Added:
  head/graphics/birdfont/
  head/graphics/birdfont/Makefile   (contents, props changed)
  head/graphics/birdfont/distinfo   (contents, props changed)
  head/graphics/birdfont/files/
  head/graphics/birdfont/files/patch-libbirdgems_fit__cubic.c   (contents, props changed)
  head/graphics/birdfont/pkg-descr   (contents, props changed)
  head/graphics/birdfont/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Mar  1 14:33:45 2020	(r527556)
+++ head/graphics/Makefile	Sun Mar  1 14:52:20 2020	(r527557)
@@ -66,6 +66,7 @@
     SUBDIR += barbecue
     SUBDIR += barcode
     SUBDIR += batik
+    SUBDIR += birdfont
     SUBDIR += bitmap
     SUBDIR += blend2d
     SUBDIR += blender

Added: head/graphics/birdfont/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/birdfont/Makefile	Sun Mar  1 14:52:20 2020	(r527557)
@@ -0,0 +1,54 @@
+# $FreeBSD$
+
+PORTNAME=	birdfont
+DISTVERSION=	2.28.0
+CATEGORIES=	graphics x11-fonts
+MASTER_SITES=	http://birdfont.org/releases/
+
+MAINTAINER=	0mp at FreeBSD.org
+COMMENT=	Editor for vector graphics and TTF, OTF, EOT and SVG fonts
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/GPLv3.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}doit>0:devel/py-doit@${PY_FLAVOR} \
+		valac:lang/vala
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libgee-0.8.so:devel/libgee \
+		libnotify.so:devel/libnotify \
+		libsoup-2.4.so:devel/libsoup \
+		libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
+		libxmlbird.so:textproc/libxmlbird
+
+USES=		gettext-tools gnome pkgconfig python:3.7+,build \
+		shared-mime-info shebangfix sqlite:3 tar:xz
+USE_GNOME=	cairo glib20 gtk30
+INSTALLS_ICONS=	yes
+USE_LDCONFIG=	yes
+SHEBANG_FILES=	configure install.py
+
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--cc="${CC}" \
+		--cflags="${CFLAGS}" \
+		--dest="${STAGEDIR}" \
+		--ldflags="${LDFLAGS}" \
+		--prefix="${PREFIX}"
+
+_STRIPPABLE=	bin/birdfont bin/birdfont-autotrace bin/birdfont-export \
+		bin/birdfont-import lib/libbirdfont.so.36.0 \
+		lib/libbirdgems.so.0.0
+
+do-build:
+	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/doit)
+
+do-install:
+	(cd ${WRKSRC} && ./install.py \
+		--dest="${STAGEDIR}" \
+		--nogzip=1 \
+		--manpages-directory="/share/man/man1")
+.for _file in ${_STRIPPABLE:S|^|${STAGEDIR}${PREFIX}|}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${_file}
+.endfor
+
+.include <bsd.port.mk>

Added: head/graphics/birdfont/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/birdfont/distinfo	Sun Mar  1 14:52:20 2020	(r527557)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582990714
+SHA256 (birdfont-2.28.0.tar.xz) = 3fbb1bf7c735e4d67442ee5740e2e0ed29cb5ce56508c0c96d2599f8ece727a6
+SIZE (birdfont-2.28.0.tar.xz) = 2589212

Added: head/graphics/birdfont/files/patch-libbirdgems_fit__cubic.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/birdfont/files/patch-libbirdgems_fit__cubic.c	Sun Mar  1 14:52:20 2020	(r527557)
@@ -0,0 +1,11 @@
+--- libbirdgems/fit_cubic.c.orig	2020-02-29 17:58:28 UTC
++++ libbirdgems/fit_cubic.c
+@@ -24,6 +24,8 @@ Adapted to BirdFont by Johan Mattsson 2015
+ 
+ #ifdef MAC
+ #include <malloc/malloc.h>
++#elif __FreeBSD__
++#include <stdlib.h>
+ #else
+ #include <malloc.h>
+ #endif

Added: head/graphics/birdfont/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/birdfont/pkg-descr	Sun Mar  1 14:52:20 2020	(r527557)
@@ -0,0 +1,5 @@
+Birdfont is a free font editor which lets you create vector graphics and
+export TTF, OTF, EOT and SVG fonts. The editor has good support for both
+monochrome and color font formats.
+
+WWW: https://birdfont.org/

Added: head/graphics/birdfont/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/birdfont/pkg-plist	Sun Mar  1 14:52:20 2020	(r527557)
@@ -0,0 +1,36 @@
+bin/birdfont
+bin/birdfont-autotrace
+bin/birdfont-export
+bin/birdfont-import
+lib/libbirdfont.so
+lib/libbirdfont.so.36
+lib/libbirdfont.so.36.0
+lib/libbirdgems.so
+lib/libbirdgems.so.0
+lib/libbirdgems.so.0.0
+share/applications/birdfont.desktop
+%%DATADIR%%/Roboto-Regular.ttf
+%%DATADIR%%/birdfont_window_icon.png
+%%DATADIR%%/bright.theme
+%%DATADIR%%/codepages.sqlite
+%%DATADIR%%/dark.theme
+%%DATADIR%%/high_contrast.theme
+%%DATADIR%%/icons.birdfont
+%%DATADIR%%/key_bindings.xml
+%%DATADIR%%/ucd.sqlite
+share/icons/hicolor/128x128/apps/birdfont.png
+share/icons/hicolor/256x256/apps/birdfont.png
+share/icons/hicolor/48x48/apps/birdfont.png
+share/locale/cs/LC_MESSAGES/birdfont.mo
+share/locale/de/LC_MESSAGES/birdfont.mo
+share/locale/es/LC_MESSAGES/birdfont.mo
+share/locale/it/LC_MESSAGES/birdfont.mo
+share/locale/nl/LC_MESSAGES/birdfont.mo
+share/locale/pt_BR/LC_MESSAGES/birdfont.mo
+share/locale/sv/LC_MESSAGES/birdfont.mo
+share/man/man1/birdfont-autotrace.1.gz
+share/man/man1/birdfont-export.1.gz
+share/man/man1/birdfont-import.1.gz
+share/man/man1/birdfont.1.gz
+share/metainfo/birdfont.appdata.xml
+share/mime/packages/birdfont.xml


More information about the svn-ports-all mailing list