Lines 17-22
USES= qmake
Link Here
|
17 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
17 |
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} |
18 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= visualfc |
19 |
GH_ACCOUNT= visualfc |
|
|
20 |
LDFLAGS+= -Wl,--as-needed |
21 |
|
22 |
PORTDOCS= CONTRIBUTORS README.md |
23 |
|
24 |
INSTALLS_ICONS= yes |
25 |
ICON_SIZES= 16 24 32 48 64 128 |
20 |
|
26 |
|
21 |
OPTIONS_DEFINE= DEBUG DOCS |
27 |
OPTIONS_DEFINE= DEBUG DOCS |
22 |
OPTIONS_SINGLE= QT |
28 |
OPTIONS_SINGLE= QT |
Lines 24-38
OPTIONS_SINGLE_QT= QT4 QT5
Link Here
|
24 |
OPTIONS_DEFAULT= QT4 |
30 |
OPTIONS_DEFAULT= QT4 |
25 |
OPTIONS_SUB= yes |
31 |
OPTIONS_SUB= yes |
26 |
|
32 |
|
27 |
QT4_USE= QT4=corelib,gui,network,webkit,xml,moc_build,rcc_build,uic_build |
|
|
28 |
QT5_USE= QT5=core,gui,widgets,network,webkit,xml,printsupport,buildtools_build gl |
29 |
|
30 |
DEBUG_CONFIGURE_ENABLE= debug |
33 |
DEBUG_CONFIGURE_ENABLE= debug |
31 |
|
34 |
|
32 |
PORTDOCS= CONTRIBUTORS README.md |
35 |
QT4_USE= QT4=corelib,gui,network,webkit,xml,moc_build,rcc_build,uic_build |
33 |
|
36 |
QT5_USE= QT5=core,gui,network,printsupport,widgets,xml,buildtools_build |
34 |
INSTALLS_ICONS= yes |
|
|
35 |
ICON_SIZES= 16 24 32 48 64 128 |
36 |
|
37 |
|
37 |
post-install: |
38 |
post-install: |
38 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications |
39 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications |
Lines 41-47
post-install:
Link Here
|
41 |
(cd ${WRKSRC}/os_deploy/freebsd && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) |
42 |
(cd ${WRKSRC}/os_deploy/freebsd && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) |
42 |
.for sz in ${ICON_SIZES} |
43 |
.for sz in ${ICON_SIZES} |
43 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps |
44 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps |
44 |
${INSTALL_DATA} ${WRKSRC}/src/liteapp/images/liteide${sz}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/liteide.png |
45 |
${INSTALL_DATA} ${WRKSRC}/src/liteapp/images/liteide${sz}.png \ |
|
|
46 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/liteide.png |
45 |
.endfor |
47 |
.endfor |
46 |
|
48 |
|
47 |
post-install-DOCS-on: |
49 |
post-install-DOCS-on: |