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