freebsd-ports/editors/focuswriter/Makefile
2023-07-26 21:58:56 +02:00

33 lines
857 B
Makefile

PORTNAME= focuswriter
DISTVERSION= 1.8.5
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= https://gottcode.org/${PORTNAME}/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Simple, distraction-free writing environment
WWW= https://gottcode.org/focuswriter/
LICENSE= GPLv3+ LGPL3+
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
USES= cmake compiler:c++17-lang desktop-file-utils gl iconv pkgconfig \
qt:6 tar:bz2
USE_GL= gl
USE_QT= base multimedia tools:build
PORTDATA= *
PORTDOCS= CREDITS ChangeLog README
OPTIONS_DEFINE= DOCS LTO
OPTIONS_DEFAULT= LTO
LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION
post-install-DOCS-on:
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>