2016-07-14 18:34:41 +02:00
|
|
|
# Created by: lightside <lightside@gmx.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= focuswriter
|
|
|
|
DISTVERSIONPREFIX= v
|
2020-04-24 14:19:05 +02:00
|
|
|
DISTVERSION= 1.7.6
|
2016-07-14 18:34:41 +02:00
|
|
|
CATEGORIES= editors
|
|
|
|
|
|
|
|
MAINTAINER= lightside@gmx.com
|
|
|
|
COMMENT= Simple, distraction-free writing environment
|
|
|
|
|
2017-03-10 17:12:58 +01:00
|
|
|
LICENSE= GPLv3+ LGPL3+
|
2016-07-14 18:34:41 +02:00
|
|
|
LICENSE_COMB= multi
|
2017-03-10 17:12:58 +01:00
|
|
|
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
|
|
|
|
LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING
|
2016-07-14 18:34:41 +02:00
|
|
|
|
2019-01-18 22:14:41 +01:00
|
|
|
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
|
2016-07-14 18:34:41 +02:00
|
|
|
|
2018-12-26 23:44:29 +01:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake qt:5
|
2016-07-14 18:34:41 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= gottcode
|
2016-12-04 02:16:10 +01:00
|
|
|
USE_GL= gl
|
2018-06-28 19:39:53 +02:00
|
|
|
USE_QT= concurrent core gui multimedia network printsupport widgets \
|
2016-12-04 02:16:10 +01:00
|
|
|
buildtools_build linguisttools_build
|
2016-07-14 18:34:41 +02:00
|
|
|
|
|
|
|
PORTDATA= *
|
2018-07-08 17:15:24 +02:00
|
|
|
PORTDOCS= ChangeLog CREDITS README
|
2016-07-14 18:34:41 +02:00
|
|
|
|
2016-12-04 02:16:10 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2016-07-14 18:34:41 +02:00
|
|
|
|
|
|
|
post-patch:
|
2017-01-03 20:58:37 +01:00
|
|
|
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \
|
2016-07-14 18:34:41 +02:00
|
|
|
${WRKSRC}/focuswriter.pro
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \
|
2017-03-10 17:12:58 +01:00
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
2016-07-14 18:34:41 +02:00
|
|
|
|
2017-01-11 11:08:38 +01:00
|
|
|
post-install-DOCS-on:
|
2018-02-10 20:53:58 +01:00
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
|
2017-01-11 11:08:38 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|