[Bug 259419] deskutils/fet: update to 6.2.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Oct 2021 07:17:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259419

Nuno Teixeira <eduardo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eduardo@FreeBSD.org

--- Comment #1 from Nuno Teixeira <eduardo@FreeBSD.org> ---
We can have a better Makefile formating (portfmt):

- USE_QT alphabetical list
- USE extra tabs in DESKTOP_ENTRIES to be more readable
- Put variables in each line in ONLYCL_VARS_OFF list

---
--- Makefile
+++ Makefile
@@ -16,16 +16,16 @@

 USES=          compiler:c++14-lang gl qmake qt:5 tar:bzip2
 USE_GL=                gl
+USE_QT=                core printsupport widgets buildtools_build
-USE_QT=                buildtools_build core printsupport widgets

 INSTALL_TARGET=        ${WRKSRC}/fet-cl

+DESKTOP_ENTRIES=       "FET" \
+                       "Free timetable software" \
+                       "" \
+                       "fet" \
+                       "Education;Qt;" \
+                       true
-DESKTOP_ENTRIES="FET" \
-               "Free timetable software" \
-               "" \
-               "fet" \
-               "Education;Qt;" \
-               true

 PORTEXAMPLES=  *

@@ -34,8 +34,9 @@

 ONLYCL_DESC=   Build only command line version (without Qt GUI)

+ONLYCL_VARS=           QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
+ONLYCL_VARS_OFF=       INSTALL_TARGET+=${WRKSRC}/fet \
+                       USE_QT+="gui network"
-ONLYCL_VARS=   QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
-ONLYCL_VARS_OFF=       INSTALL_TARGET+=${WRKSRC}/fet USE_QT+="gui network"

 post-patch:
        @${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
---

-- 
You are receiving this mail because:
You are the assignee for the bug.