freebsd-ports/editors/focuswriter/Makefile
2017-01-11 10:08:38 +00:00

45 lines
1 KiB
Makefile

# Created by: lightside <lightside@gmx.com>
# $FreeBSD$
PORTNAME= focuswriter
PORTVERSION= 1.6.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
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}${PREFIX}/man/man1
post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>