aboutsummaryrefslogtreecommitdiff
path: root/editors/marker/Makefile
blob: 6f26f29f05df62bf85ceff65f1803b5a30b3ba27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PORTNAME=	marker
PORTVERSION=	2020.04.04.2
PORTREVISION=	1
CATEGORIES=	editors

MAINTAINER=	tagattie@FreeBSD.org
COMMENT=	Gtk3 markdown editor

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.md

BUILD_DEPENDS=	itstool:textproc/itstool
LIB_DEPENDS=	libgtkspell3-3.so:textproc/gtkspell3 \
		libwebkit2gtk-4.0.so:www/webkit2-gtk3
RUN_DEPENDS=	pandoc:textproc/hs-pandoc

USES=		desktop-file-utils gettext-tools gnome meson pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	fabiocolacio
GH_PROJECT=	Marker
GH_TUPLE=	Mandarancio:scidown:a7b7f063de4f272ef0ec12d00b98470888e8cb32:scidown/src/scidown \
		Mandarancio:charter:a25dee1214ea9ba5882325066555cb813efbb489:charter/src/scidown/src/charter \
		codeplea:tinyexpr:9476568b69de4c384903f1d5f255907b92592f45:tinyexpr/src/scidown/src/charter/src/tinyexpr

USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 gtksourceview3
GLIB_SCHEMAS=	com.github.fabiocolacio.marker.gschema.xml

DATADIR=	${PREFIX}/share/com.github.fabiocolacio.marker

PORTDOCS=	CONTRIBUTING.md README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>