da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# Created by: lightside <lightside@gmx.com>
|
|
|
|
PORTNAME= focuswriter
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.7.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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.7.so:textproc/hunspell
|
|
|
|
USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= gottcode
|
|
USE_GL= gl
|
|
USE_QT= concurrent core gui multimedia network printsupport widgets \
|
|
buildtools_build linguisttools_build
|
|
|
|
PORTDATA= *
|
|
PORTDOCS= ChangeLog CREDITS 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>
|