summaryrefslogtreecommitdiff
path: root/editors/ghostwriter/Makefile
blob: d1fb3d5d7d1b59aecedb40c6b1bd8ef30f736007 (plain)
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
# $FreeBSD$

PORTNAME=	ghostwriter
DISTVERSIONPREFIX=	v
DISTVERSION=	1.8.0
PORTREVISION=	1
CATEGORIES=	editors

MAINTAINER=	tobik@FreeBSD.org
COMMENT=	Distraction-free Markdown editor

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell

USES=		compiler:c++11-lang desktop-file-utils pkgconfig qmake qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	wereturtle
USE_QT=		core gui svg webchannel webengine widgets buildtools_build \
		linguisttools_build

# cf. PR 224488
LDFLAGS+=	-Wl,--as-needed

post-patch:
	@${REINPLACE_CMD} 's,share/man/,man/,' ${WRKSRC}/ghostwriter.pro

.include <bsd.port.mk>