Lines 1-10
Link Here
|
1 |
PORTNAME= fet |
1 |
PORTNAME= fet |
2 |
DISTVERSION= 6.8.7 |
2 |
DISTVERSION= 6.9.0 |
3 |
CATEGORIES= deskutils education |
3 |
CATEGORIES= deskutils education |
4 |
MASTER_SITES= https://lalescu.ro/liviu/fet/download/ \ |
4 |
MASTER_SITES= https://lalescu.ro/liviu/fet/download/ \ |
5 |
https://lalescu.ro/liviu/fet/download/old/ \ |
5 |
https://lalescu.ro/liviu/fet/download/old/ \ |
6 |
https://timetabling.de/download/ \ |
6 |
https://timetabling.de/download/ \ |
7 |
https://timetabling.de/download/old/ |
7 |
https://timetabling.de/download/old/ |
|
|
8 |
PKGNAMESUFFIX= -${FLAVOR} |
8 |
|
9 |
|
9 |
MAINTAINER= uzsolt@uzsolt.hu |
10 |
MAINTAINER= uzsolt@uzsolt.hu |
10 |
COMMENT= Free timetabling software |
11 |
COMMENT= Free timetabling software |
Lines 13-23
WWW= https://lalescu.ro/liviu/fet/
Link Here
|
13 |
LICENSE= GPLv3+ |
14 |
LICENSE= GPLv3+ |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
|
16 |
USES= compiler:c++14-lang gl qmake qt:5 tar:bzip2 |
17 |
FLAVORS= qt5 qt6 |
17 |
USE_GL= gl |
18 |
FLAVOR?= qt6 |
18 |
USE_QT= core printsupport widgets buildtools:build |
19 |
CONFLICTS_INSTALL= ${FLAVORS:@fl@fet-${fl}@} |
19 |
|
20 |
|
20 |
INSTALL_TARGET= ${WRKSRC}/fet-cl |
21 |
USES= compiler:c++14-lang gl qmake qt:${FLAVOR:S/qt//} tar:bzip2 |
|
|
22 |
USE_GL= gl |
23 |
_USE_QT5= core gui network printsupport widgets buildtools:build |
24 |
_USE_QT6= base |
25 |
USE_QT= ${_USE_QT${FLAVOR:S/qt//}} |
21 |
|
26 |
|
22 |
DESKTOP_ENTRIES= "FET" \ |
27 |
DESKTOP_ENTRIES= "FET" \ |
23 |
"Free timetable software" \ |
28 |
"Free timetable software" \ |
Lines 28-48
DESKTOP_ENTRIES= "FET" \
Link Here
|
28 |
|
33 |
|
29 |
PORTEXAMPLES= * |
34 |
PORTEXAMPLES= * |
30 |
|
35 |
|
31 |
OPTIONS_DEFINE= EXAMPLES NLS ONLYCL |
36 |
OPTIONS_DEFINE= EXAMPLES NLS |
32 |
OPTIONS_SUB= yes |
37 |
OPTIONS_SUB= yes |
33 |
|
38 |
|
34 |
ONLYCL_DESC= Build only command line version (without Qt GUI) |
|
|
35 |
|
36 |
ONLYCL_VARS= QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro |
37 |
ONLYCL_VARS_OFF= INSTALL_TARGET+=${WRKSRC}/fet \ |
38 |
USE_QT+="gui network" |
39 |
|
40 |
post-patch: |
39 |
post-patch: |
41 |
@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \ |
40 |
@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \ |
42 |
${WRKSRC}/src/interface/fet.cpp |
41 |
${WRKSRC}/src/interface/fet.cpp |
43 |
|
42 |
|
44 |
do-install: |
43 |
do-install: |
45 |
${INSTALL_PROGRAM} ${INSTALL_TARGET} ${STAGEDIR}${PREFIX}/bin |
44 |
${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin |
46 |
${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin |
45 |
${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin |
47 |
${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1 |
46 |
${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1 |
48 |
|
47 |
|