aboutsummaryrefslogtreecommitdiff
path: root/editors/quilter
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-06-23 04:52:03 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-06-23 04:52:03 +0000
commit4047024a005332a915d980f3652b18943acd1d09 (patch)
tree7005da536cbca9d0c0de1397d6d890e27cc2ab6a /editors/quilter
parent70a73547cca3151d18fd7c8dbe802efb8397cd21 (diff)
downloadports-4047024a005332a915d980f3652b18943acd1d09.tar.gz
ports-4047024a005332a915d980f3652b18943acd1d09.zip
New port: editors/quilter: Editor allowing you to focus on your writing
Notes
Notes: svn path=/head/; revision=504921
Diffstat (limited to 'editors/quilter')
-rw-r--r--editors/quilter/Makefile33
-rw-r--r--editors/quilter/distinfo3
-rw-r--r--editors/quilter/files/patch-meson.build20
-rw-r--r--editors/quilter/pkg-descr4
-rw-r--r--editors/quilter/pkg-plist38
5 files changed, 98 insertions, 0 deletions
diff --git a/editors/quilter/Makefile b/editors/quilter/Makefile
new file mode 100644
index 000000000000..cbef2fd2ea89
--- /dev/null
+++ b/editors/quilter/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= quilter
+DISTVERSION= 1.9.1
+CATEGORIES= editors
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Editor allowing you to focus on your writing
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= valac:lang/vala \
+ discount>0:textproc/discount
+LIB_DEPENDS= libgee-0.8.so:devel/libgee \
+ libgranite.so:x11-toolkits/granite \
+ libgtkspell3-3.so:textproc/gtkspell3 \
+ libwebkit2gtk-4.0.so:www/webkit2-gtk3
+
+USES= desktop-file-utils gettext gnome meson pkgconfig python:build
+USE_GITHUB= yes
+GH_ACCOUNT= lainsce
+USE_GNOME= glib20 gtk30 gtksourceview3
+
+INSTALLS_ICONS= yes
+
+GLIB_SCHEMAS= com.github.lainsce.quilter.gschema.xml
+
+LDFLAGS+= ${LOCALBASE}/lib/libmarkdown.a
+
+BINARY_ALIAS= python3=${PYTHON_CMD}
+
+.include <bsd.port.mk>
diff --git a/editors/quilter/distinfo b/editors/quilter/distinfo
new file mode 100644
index 000000000000..87bd08e8da5f
--- /dev/null
+++ b/editors/quilter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1561223420
+SHA256 (lainsce-quilter-1.9.1_GH0.tar.gz) = 49d6d3d300211f0b787a4487b67fad22fd1bec11d9d5f06489ec0105b0cabe55
+SIZE (lainsce-quilter-1.9.1_GH0.tar.gz) = 916154
diff --git a/editors/quilter/files/patch-meson.build b/editors/quilter/files/patch-meson.build
new file mode 100644
index 000000000000..929c9910c7fc
--- /dev/null
+++ b/editors/quilter/files/patch-meson.build
@@ -0,0 +1,20 @@
+--- meson.build.orig 2019-06-23 03:48:31 UTC
++++ meson.build
+@@ -39,7 +39,7 @@ c_args = [
+
+ # Find libMarkdown
+ cc = meson.get_compiler('c')
+-libmarkdown = cc.find_library('markdown', required: true)
++#libmarkdown = cc.find_library('markdown', required: true)
+
+ # Let's define our executable
+ add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala')
+@@ -78,7 +78,7 @@ executable(
+ dependency('gtk+-3.0'),
+ dependency('webkit2gtk-4.0'),
+ dependency('gtkspell3-3.0'),
+- libmarkdown
++ #libmarkdown
+ ],
+ vala_args: [
+ meson.source_root() + '/vapi/config.vapi',
diff --git a/editors/quilter/pkg-descr b/editors/quilter/pkg-descr
new file mode 100644
index 000000000000..752f22f097de
--- /dev/null
+++ b/editors/quilter/pkg-descr
@@ -0,0 +1,4 @@
+Focus on your writing and write beautiful solid stories with the Focus Mode in
+tow in this Markdown editor.
+
+WWW: https://github.com/lainsce/quilter
diff --git a/editors/quilter/pkg-plist b/editors/quilter/pkg-plist
new file mode 100644
index 000000000000..abf2695ae46f
--- /dev/null
+++ b/editors/quilter/pkg-plist
@@ -0,0 +1,38 @@
+bin/com.github.lainsce.quilter
+share/applications/com.github.lainsce.quilter.desktop
+share/com.github.lainsce.quilter/font/mono.css
+share/com.github.lainsce.quilter/font/sans.css
+share/com.github.lainsce.quilter/font/serif.css
+share/com.github.lainsce.quilter/highlight.js/lib/highlight.min.js
+share/com.github.lainsce.quilter/highlight.js/styles/dark.min.css
+share/com.github.lainsce.quilter/highlight.js/styles/default.min.css
+share/com.github.lainsce.quilter/highlight.js/styles/sepia.min.css
+share/fonts/truetype/quilt/QuiltMono.ttf
+share/gtksourceview-3.0/styles/quilter-dark.xml
+share/gtksourceview-3.0/styles/quilter-moon.xml
+share/gtksourceview-3.0/styles/quilter-sepia.xml
+share/gtksourceview-3.0/styles/quilter.xml
+share/icons/hicolor/128x128/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/128x128@2/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/16x16/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/16x16@2/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/24x24/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/24x24@2/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/32x32/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/32x32@2/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/48x48/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/48x48@2/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/64x64/apps/com.github.lainsce.quilter.svg
+share/icons/hicolor/64x64@2/apps/com.github.lainsce.quilter.svg
+share/locale/ca/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/da/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/de/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/es/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/fr/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/it/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/ja/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/lt/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/nl_NL/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/pl/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/locale/pt_BR/LC_MESSAGES/com.github.lainsce.quilter.mo
+share/metainfo/com.github.lainsce.quilter.appdata.xml