diff options
author | wg <wg@FreeBSD.org> | 2014-06-20 09:40:42 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-06-20 09:40:42 +0800 |
commit | 820f1fb3405f51042fb6f98f47cd01b7db01f2ed (patch) | |
tree | 66f9dd7686441d8c91c47179d5aeff20f8e68333 /deskutils/fet | |
parent | 1546df51ef075d800005b78cc167d14c7bf290ac (diff) | |
download | freebsd-ports-gnome-820f1fb3405f51042fb6f98f47cd01b7db01f2ed.tar.gz freebsd-ports-gnome-820f1fb3405f51042fb6f98f47cd01b7db01f2ed.tar.zst freebsd-ports-gnome-820f1fb3405f51042fb6f98f47cd01b7db01f2ed.zip |
deskutils/fet: update to 5.21.3
- USES tar:bzip2
- New option to install only command line
PR: 189408
Submitted by: Zsolt Udvari
Approved by: maintainer (timeout)
Diffstat (limited to 'deskutils/fet')
-rw-r--r-- | deskutils/fet/Makefile | 20 | ||||
-rw-r--r-- | deskutils/fet/distinfo | 4 | ||||
-rw-r--r-- | deskutils/fet/pkg-plist | 3 |
3 files changed, 19 insertions, 8 deletions
diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile index cdbba690deab..f2a7eb53603d 100644 --- a/deskutils/fet/Makefile +++ b/deskutils/fet/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= fet -PORTVERSION= 5.21.0 +PORTVERSION= 5.21.3 CATEGORIES= deskutils kde MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \ http://lalescu.ro/liviu/fet/download/old/ \ @@ -15,8 +15,7 @@ COMMENT= Free timetabling software LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USES= qmake -USE_BZIP2= yes +USES= qmake tar:bzip2 USE_QT4= gui network xml \ moc_build rcc_build uic_build @@ -29,15 +28,26 @@ DESKTOP_ENTRIES="FET" \ "Education;Qt;" \ true -OPTIONS_DEFINE= EXAMPLES NLS +OPTIONS_DEFINE= EXAMPLES NLS ONLYCL +ONLYCL_DESC= Build only command line version (without Qt4 GUI) + OPTIONS_SUB= yes +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MONLYCL} +INSTALL_TARGET=${WRKSRC}/fet-cl +.else +INSTALL_TARGET=${WRKSRC}/fet +QMAKE_PRO=src/src-cl.pro +.endif + post-patch: ${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \ ${WRKSRC}/src/interface/fet.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${INSTALL_TARGET} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} diff --git a/deskutils/fet/distinfo b/deskutils/fet/distinfo index f0adc9932e6f..56add1cf164b 100644 --- a/deskutils/fet/distinfo +++ b/deskutils/fet/distinfo @@ -1,2 +1,2 @@ -SHA256 (fet-5.21.0.tar.bz2) = 9a90ac129d6ccec07c50a5fb1d48de854ddeaceb855e918be8be5c89a667da89 -SIZE (fet-5.21.0.tar.bz2) = 8056540 +SHA256 (fet-5.21.3.tar.bz2) = 69e75f81ab3af2ee49b8c0ae7f642cb6c96e94df875a54517ce1291e81cb281f +SIZE (fet-5.21.3.tar.bz2) = 8380210 diff --git a/deskutils/fet/pkg-plist b/deskutils/fet/pkg-plist index 72730fc68034..305b44a0e48c 100644 --- a/deskutils/fet/pkg-plist +++ b/deskutils/fet/pkg-plist @@ -1,4 +1,4 @@ -bin/fet +%%NO_ONLYCL%%bin/fet bin/fet-cl man/man1/fet.1.gz %%NLS%%%%DATADIR%%/translations/fet_ar.qm @@ -25,6 +25,7 @@ man/man1/fet.1.gz %%NLS%%%%DATADIR%%/translations/fet_si.qm %%NLS%%%%DATADIR%%/translations/fet_sk.qm %%NLS%%%%DATADIR%%/translations/fet_sr.qm +%%NLS%%%%DATADIR%%/translations/fet_sq.qm %%NLS%%%%DATADIR%%/translations/fet_tr.qm %%NLS%%%%DATADIR%%/translations/fet_uk.qm %%NLS%%%%DATADIR%%/translations/fet_untranslated.qm |