Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 04:44:29 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457021 - in head/deskutils: . showdown
Message-ID:  <201712230444.vBN4iTxm037721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Dec 23 04:44:29 2017
New Revision: 457021
URL: https://svnweb.freebsd.org/changeset/ports/457021

Log:
  New port: deskutils/showdown: Simple markdown viewer, written in Vala and GTK 3
  
  PR:		224517
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13592

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

Modified: head/deskutils/Makefile
==============================================================================
--- head/deskutils/Makefile	Sat Dec 23 04:30:27 2017	(r457020)
+++ head/deskutils/Makefile	Sat Dec 23 04:44:29 2017	(r457021)
@@ -221,6 +221,7 @@
     SUBDIR += rubygem-shellplay
     SUBDIR += rubygem-taskjuggler
     SUBDIR += semantik
+    SUBDIR += showdown
     SUBDIR += shutter
     SUBDIR += silence
     SUBDIR += simpleagenda

Added: head/deskutils/showdown/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/showdown/Makefile	Sat Dec 23 04:44:29 2017	(r457021)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	showdown
+DISTVERSION=	0.6
+CATEGORIES=	deskutils
+
+MAINTAINER=	dg@syrec.org
+COMMENT=	Simple markdown viewer, written in Vala and GTK 3
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libmarkdown.a:textproc/discount \
+		valac:lang/vala
+LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
+		libwebkit2gtk-4.0.so:www/webkit2-gtk3
+
+USES=		desktop-file-utils gmake pkgconfig
+USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
+USE_XORG=	x11
+USE_GITHUB=	yes
+GH_ACCOUNT=	craigbarnes
+
+MAKEFILE=	GNUmakefile
+MAKE_ARGS=	V=1 prefix=${PREFIX}
+INSTALLS_ICONS=	yes
+
+PORTDOCS=	README.md
+
+PLIST_FILES=	bin/showdown \
+		share/applications/io.gitlab.craigbarnes.Showdown.desktop \
+		share/icons/hicolor/scalable/apps/showdown.svg
+
+OPTIONS_DEFINE=	DOCS
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/showdown
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/deskutils/showdown/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/showdown/distinfo	Sat Dec 23 04:44:29 2017	(r457021)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513947317
+SHA256 (craigbarnes-showdown-0.6_GH0.tar.gz) = b183dfef6d6e0584753632186804a4989f6a3865da22079b21b1f93e251336df
+SIZE (craigbarnes-showdown-0.6_GH0.tar.gz) = 11887

Added: head/deskutils/showdown/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/showdown/pkg-descr	Sat Dec 23 04:44:29 2017	(r457021)
@@ -0,0 +1,9 @@
+Showdown is a simple Markdown viewer written in Vala and GTK 3, featuring:
+
+  - GitHub inspired default stylesheet.
+  - Table of contents navigation.
+  - Integrated search bar
+  - User styles (~/.config/showdown/stylesheet.css)
+  - User scripts (~/.config/showdown/script.js)
+
+WWW: https://github.com/craigbarnes/showdown



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