Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= liteide |
3 |
PORTNAME= liteide |
4 |
DISTVERSIONPREFIX= x |
4 |
DISTVERSIONPREFIX= x |
5 |
DISTVERSION= 33.3 |
5 |
DISTVERSION= 33.4 |
6 |
CATEGORIES= devel editors |
6 |
CATEGORIES= devel editors |
7 |
|
7 |
|
8 |
MAINTAINER= dg@syrec.org |
8 |
MAINTAINER= dg@syrec.org |
Lines 11-40
Link Here
|
11 |
LICENSE= LGPL21+ |
11 |
LICENSE= LGPL21+ |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL |
13 |
|
13 |
|
14 |
WRKSRC_SUBDIR= liteidex |
14 |
FLAVORS= qt5 qt4 |
|
|
15 |
FLAVOR?= ${FLAVORS:[1]} |
15 |
|
16 |
|
|
|
17 |
qt4_CONFLICTS_INSTALL= ${PORTNAME} |
18 |
qt4_PKGNAMESUFFIX= -qt4 |
19 |
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt4 |
20 |
|
16 |
USES= qmake |
21 |
USES= qmake |
|
|
22 |
USE_GL= gl |
17 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
23 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
|
|
24 |
|
18 |
USE_GITHUB= yes |
25 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= visualfc |
26 |
GH_ACCOUNT= visualfc |
20 |
LDFLAGS+= -Wl,--as-needed |
|
|
21 |
|
27 |
|
|
|
28 |
.if ${FLAVOR} == qt4 |
29 |
USES+= qt:4 |
30 |
USE_QT= corelib gui moc_build network rcc_build uic_build webkit xml |
31 |
PLIST_SUB+= QT4="" NO_QT4="@comment " |
32 |
.else |
33 |
USES+= qt:5 |
34 |
USE_QT= buildtools_build core gui network printsupport widgets xml |
35 |
PLIST_SUB+= QT4="@comment " NO_QT4="" |
36 |
.endif |
37 |
|
38 |
WRKSRC_SUBDIR= liteidex |
39 |
|
22 |
PORTDOCS= CONTRIBUTORS README.md |
40 |
PORTDOCS= CONTRIBUTORS README.md |
23 |
|
41 |
|
24 |
ICON_SIZES= 16 24 32 48 64 128 |
42 |
OPTIONS_DEFINE= DEBUG DOCS |
|
|
43 |
OPTIONS_SUB= yes |
25 |
|
44 |
|
26 |
OPTIONS_DEFINE= DEBUG DOCS |
|
|
27 |
OPTIONS_SINGLE= QT |
28 |
OPTIONS_SINGLE_QT= QT4 QT5 |
29 |
OPTIONS_DEFAULT= QT5 |
30 |
OPTIONS_SUB= yes |
31 |
|
32 |
DEBUG_CONFIGURE_ENABLE= debug |
45 |
DEBUG_CONFIGURE_ENABLE= debug |
33 |
|
46 |
|
34 |
QT4_USES= qt:4 |
47 |
ICON_SIZES= 16 24 32 48 64 128 |
35 |
QT4_USE= QT=corelib,gui,network,webkit,xml,moc_build,rcc_build,uic_build |
|
|
36 |
QT5_USES= qt:5 |
37 |
QT5_USE= QT=core,gui,network,printsupport,widgets,xml,buildtools_build |
38 |
|
48 |
|
39 |
post-install: |
49 |
post-install: |
40 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications |
50 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications |