Lines 1-13
Link Here
|
1 |
# Created by: lightside <lightside@gmx.com> |
1 |
# Created by: lightside <lightside@gmx.com> |
2 |
# $FreeBSD: head/editors/focuswriter-qt4/Makefile 418540 2016-07-14 16:37:39Z pawel $ |
2 |
# $FreeBSD: head/editors/focuswriter-qt4/Makefile 418540 2016-07-14 16:37:39Z pawel $ |
3 |
|
3 |
|
|
|
4 |
PORTNAME= focuswriter |
5 |
PORTVERSION= 1.5.7 |
6 |
DISTVERSIONPREFIX= v |
7 |
PORTREVISION= 1 |
8 |
CATEGORIES= editors |
4 |
PKGNAMESUFFIX= -qt4 |
9 |
PKGNAMESUFFIX= -qt4 |
5 |
|
10 |
|
|
|
11 |
MAINTAINER= lightside@gmx.com |
12 |
COMMENT= Simple, distraction-free writing environment |
13 |
|
14 |
LICENSE= GPLv3 LGPL3 |
15 |
LICENSE_COMB= multi |
16 |
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING |
17 |
LICENSE_FILE_LGPL3= ${WRKSRC}/resources/images/icons/oxygen/COPYING |
18 |
|
19 |
LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell |
20 |
RUN_DEPENDS= ${LOCALBASE}/lib/libSDL2_mixer.so:audio/sdl2_mixer |
21 |
|
6 |
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]* |
22 |
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]* |
7 |
|
23 |
|
8 |
OPTIONS_EXCLUDE= QT5 |
24 |
USE_GITHUB= yes |
9 |
OPTIONS_SLAVE= QT4 |
25 |
GH_ACCOUNT= gottcode |
10 |
|
26 |
|
11 |
MASTERDIR= ${.CURDIR}/../focuswriter |
27 |
USES= desktop-file-utils pkgconfig qmake |
|
|
28 |
USE_QT4= corelib gui network moc_build rcc_build |
29 |
INSTALLS_ICONS= yes |
12 |
|
30 |
|
13 |
.include "${MASTERDIR}/Makefile" |
31 |
LIBS+= -lz |
|
|
32 |
|
33 |
PORTDATA= * |
34 |
PORTDOCS= CREDITS NEWS README |
35 |
|
36 |
OPTIONS_DEFINE= DOCS |
37 |
|
38 |
post-patch: |
39 |
@${REINPLACE_CMD} -e '/PKGCONFIG/s/ zlib// ; \ |
40 |
/INSTALLS/s/man //' \ |
41 |
${WRKSRC}/focuswriter.pro |
42 |
|
43 |
do-install-DOCS-on: |
44 |
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) |
45 |
|
46 |
post-install: |
47 |
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ |
48 |
${STAGEDIR}${PREFIX}/man/man1 |
49 |
|
50 |
.include <bsd.port.mk> |