aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-11-21 17:22:38 +0800
committeryuri <yuri@FreeBSD.org>2018-11-21 17:22:38 +0800
commitd832a4d3461145bdede66fff317d4598246997e5 (patch)
tree258b1dbe3d320845544255c29d844515b43b60d7 /graphics
parent3829ee558cca732a314b9bdbec37a1e81f13ac10 (diff)
downloadfreebsd-ports-gnome-d832a4d3461145bdede66fff317d4598246997e5.tar.gz
freebsd-ports-gnome-d832a4d3461145bdede66fff317d4598246997e5.tar.zst
freebsd-ports-gnome-d832a4d3461145bdede66fff317d4598246997e5.zip
New port: graphics/pencil2d: Easy and intuitive tool to make 2D hand-drawn animations
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/pencil2d/Makefile28
-rw-r--r--graphics/pencil2d/distinfo3
-rw-r--r--graphics/pencil2d/files/patch-app_app.pro11
-rw-r--r--graphics/pencil2d/pkg-descr5
5 files changed, 48 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d1894a7d6215..6aafb6452ce5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -815,6 +815,7 @@
SUBDIR += pecl-qrencode
SUBDIR += pecomato
SUBDIR += pencil
+ SUBDIR += pencil2d
SUBDIR += peps
SUBDIR += perceptualdiff
SUBDIR += pfstools
diff --git a/graphics/pencil2d/Makefile b/graphics/pencil2d/Makefile
new file mode 100644
index 000000000000..7026c2735240
--- /dev/null
+++ b/graphics/pencil2d/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= pencil2d
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.2-63
+DISTVERSIONSUFFIX= -gd05fbae0
+CATEGORIES= graphics math
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Easy and intuitive tool to make 2D hand-drawn animations
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
+
+USES= desktop-file-utils gl gmake qmake qt:5 shared-mime-info
+USE_GITHUB= yes
+USE_QT= core gui multimedia network svg widgets xml buildtools_build
+USE_GL= gl
+GH_PROJECT= pencil
+
+PLIST_FILES= bin/pencil2d \
+ share/applications/pencil2d.desktop \
+ share/bash-completion/completions/pencil2d \
+ share/icons/hicolor/256x256/apps/pencil2d.png \
+ share/mime/packages/pencil2d.xml \
+ share/zsh/site-functions/_pencil2d
+
+.include <bsd.port.mk>
diff --git a/graphics/pencil2d/distinfo b/graphics/pencil2d/distinfo
new file mode 100644
index 000000000000..378cd7050a10
--- /dev/null
+++ b/graphics/pencil2d/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542783932
+SHA256 (pencil2d-pencil-v0.6.2-63-gd05fbae0_GH0.tar.gz) = 24a9f143a13b667ff3ec398fcf0d6d2f5937b6b410ecff16b3133a1fda2f7a32
+SIZE (pencil2d-pencil-v0.6.2-63-gd05fbae0_GH0.tar.gz) = 3198984
diff --git a/graphics/pencil2d/files/patch-app_app.pro b/graphics/pencil2d/files/patch-app_app.pro
new file mode 100644
index 000000000000..3ad4c2f03ada
--- /dev/null
+++ b/graphics/pencil2d/files/patch-app_app.pro
@@ -0,0 +1,11 @@
+--- app/app.pro.orig 2018-11-21 09:01:18 UTC
++++ app/app.pro
+@@ -135,7 +135,7 @@ win32 {
+ RC_FILE = data/pencil2d.rc
+ }
+
+-linux {
++freebsd {
+ target.path = $${PREFIX}/bin
+
+ bashcompletion.files = data/pencil2d
diff --git a/graphics/pencil2d/pkg-descr b/graphics/pencil2d/pkg-descr
new file mode 100644
index 000000000000..793cf190eefc
--- /dev/null
+++ b/graphics/pencil2d/pkg-descr
@@ -0,0 +1,5 @@
+Pencil2D is an animation/drawing software for FreeBSD, Linux, macOS, and
+Windows. It lets you create traditional hand-drawn animation (cartoon)
+using both bitmap and vector graphics. Pencil2D is free and open source.
+
+WWW: https://www.pencil2d.org/