aboutsummaryrefslogtreecommitdiff
path: root/editors/ghostwriter/Makefile
blob: fa105f2dfd0c11d40762874126e7cf9667915f13 (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
# $FreeBSD$

PORTNAME=	ghostwriter
DISTVERSIONPREFIX=	v
DISTVERSION=	1.7.4
PORTREVISION=	3
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=		concurrent core gui network printsupport svg webkit widgets \
		buildtools_build linguisttools_build
LDFLAGS+=	-Wl,--as-needed # cf. PR 224488

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

.include <bsd.port.mk>