aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2016-08-05 21:50:27 +0800
committerriggs <riggs@FreeBSD.org>2016-08-05 21:50:27 +0800
commit805512928e809f01a1355bf27cc21b96d59a31f6 (patch)
tree9e9ccfa618cfe24ed5966fbb35cb4289d9179499 /deskutils
parentf8c0c77c388551c7a2ee326ed0ccf24c23fd1603 (diff)
downloadfreebsd-ports-gnome-805512928e809f01a1355bf27cc21b96d59a31f6.tar.gz
freebsd-ports-gnome-805512928e809f01a1355bf27cc21b96d59a31f6.tar.zst
freebsd-ports-gnome-805512928e809f01a1355bf27cc21b96d59a31f6.zip
Update to upstream version 5.30.2, add QT5 support via OPTION knob
PR: 211539 Submitted by: udvzsolt@gmail.com (maintainer)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/fet/Makefile29
-rw-r--r--deskutils/fet/distinfo6
2 files changed, 24 insertions, 11 deletions
diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile
index 4cc9abb4a7d5..3ae16b74649b 100644
--- a/deskutils/fet/Makefile
+++ b/deskutils/fet/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fet
-PORTVERSION= 5.30.1
+PORTVERSION= 5.30.2
CATEGORIES= deskutils kde
MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
http://lalescu.ro/liviu/fet/download/old/ \
@@ -16,8 +16,6 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= qmake tar:bzip2
-USE_QT4= corelib xml \
- moc_build rcc_build uic_build
PORTEXAMPLES= *
@@ -29,14 +27,29 @@ DESKTOP_ENTRIES="FET" \
true
OPTIONS_DEFINE= EXAMPLES NLS ONLYCL
-ONLYCL_DESC= Build only command line version (without Qt4 GUI)
+OPTIONS_SINGLE= QTVER
+OPTIONS_SINGLE_QTVER= QT4 QT5
+OPTIONS_DEFAULT= EXAMPLES NLS QT4
+ONLYCL_DESC= Build only command line version (without Qt GUI)
OPTIONS_SUB= yes
-ONLYCL_INSTALL_TARGET= ${WRKSRC}/fet-cl
-ONLYCL_VARS= QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
-ONLYCL_USE_OFF= qt4=gui,network
-ONLYCL_INSTALL_TARGET_OFF= ${WRKSRC}/fet
+QT4_USE= QT4=corelib,moc_build,rcc_build,uic_build,xml
+QT5_USE= QT5=buildtools_build,core,xml GL=gl
+
+.include <bsd.port.options.mk>
+
+INSTALL_TARGET= ${WRKSRC}/fet-cl
+.if ${PORT_OPTIONS:MONLYCL}
+QMAKE_SOURCE_PATH= ${WRKSRC}/src/src-cl.pro
+.else
+INSTALL_TARGET+= ${WRKSRC}/fet
+.if ${PORT_OPTIONS:MQT4}
+USE_QT4+=gui network
+.else
+USE_QT5+=gui network printsupport widgets
+.endif
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
diff --git a/deskutils/fet/distinfo b/deskutils/fet/distinfo
index 58a03f4371b8..2e84ce9fed0e 100644
--- a/deskutils/fet/distinfo
+++ b/deskutils/fet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468911589
-SHA256 (fet-5.30.1.tar.bz2) = c9ee88081ba08a4832509f5898d17da599608fbabc57ecec4cb6a0a2a2647404
-SIZE (fet-5.30.1.tar.bz2) = 10183864
+TIMESTAMP = 1470143851
+SHA256 (fet-5.30.2.tar.bz2) = d045824d44999ae7714ba20d8d29e8fb6bc86adad0e60a67a50b85048613b36b
+SIZE (fet-5.30.2.tar.bz2) = 10189378