Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= focuswriter |
4 |
PORTNAME= focuswriter |
5 |
PORTVERSION= 1.5.7 |
5 |
PORTVERSION= 1.6.2 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= editors |
7 |
CATEGORIES= editors |
8 |
|
8 |
|
Lines 20-25
Link Here
|
20 |
GH_ACCOUNT= gottcode |
20 |
GH_ACCOUNT= gottcode |
21 |
|
21 |
|
22 |
USES= desktop-file-utils pkgconfig qmake |
22 |
USES= desktop-file-utils pkgconfig qmake |
|
|
23 |
USE_QT5= concurrent core gui linguisttools multimedia network printsupport widgets buildtools_build |
24 |
USE_GL= gl |
23 |
INSTALLS_ICONS= yes |
25 |
INSTALLS_ICONS= yes |
24 |
|
26 |
|
25 |
LIBS+= -lz |
27 |
LIBS+= -lz |
Lines 28-43
Link Here
|
28 |
PORTDOCS= CREDITS NEWS README |
30 |
PORTDOCS= CREDITS NEWS README |
29 |
|
31 |
|
30 |
OPTIONS_DEFINE= DOCS |
32 |
OPTIONS_DEFINE= DOCS |
31 |
OPTIONS_DEFAULT= QT5 |
|
|
32 |
OPTIONS_SINGLE= QT |
33 |
OPTIONS_SINGLE_QT= QT4 QT5 |
34 |
QT_DESC= Qt toolkit |
35 |
|
33 |
|
36 |
QT4_RUN_DEPENDS= ${LOCALBASE}/lib/libSDL2_mixer.so:audio/sdl2_mixer |
|
|
37 |
QT4_USE= QT4=corelib,gui,network,moc_build,rcc_build |
38 |
QT5_USE= QT5=concurrent,core,gui,multimedia,network,printsupport,widgets,buildtools_build |
39 |
QT5_USE+= GL=gl |
40 |
|
41 |
post-patch: |
34 |
post-patch: |
42 |
@${REINPLACE_CMD} -e '/PKGCONFIG/s/ zlib// ; \ |
35 |
@${REINPLACE_CMD} -e '/PKGCONFIG/s/ zlib// ; \ |
43 |
/INSTALLS/s/man //' \ |
36 |
/INSTALLS/s/man //' \ |