blob: 9856de37ffc66a5ca98a244f43565d22a5f2282a (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: lightside <lightside@gmx.com>
# $FreeBSD$
PORTNAME= focuswriter
PORTVERSION= 1.6.4
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= editors
MAINTAINER= lightside@gmx.com
COMMENT= Simple, distraction-free writing environment
LICENSE= GPLv3+ LGPL3+
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING
LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell
USE_GITHUB= yes
GH_ACCOUNT= gottcode
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake
USE_GL= gl
USE_QT5= concurrent core gui multimedia network printsupport widgets \
buildtools_build linguisttools_build
INSTALLS_ICONS= yes
PORTDATA= *
PORTDOCS= CREDITS NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \
${WRKSRC}/focuswriter.pro
post-install:
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \
${STAGEDIR}${MANPREFIX}/man/man1
post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|