Adding GUI to existing port (graphics/pstoedit)

From: Nuno Teixeira <>
Date: Fri, 23 Jun 2023 08:52:48 UTC
Hello all,

I've updated graphics/pstoedit to 4.00 and this version adds an
experimental GUI based on QT and since it works with both qt5 and qt6 I'm
thinking using flavors.

I have two ways to include GUI:

1- GUI option, default OFF since it is experimental and pull new QT
2- Slave port that adds/builds pstoedit-gui-{qt5,qt6} (with advantage that
pkgs will be available)

Simple test on port:
+       cd ${WRKSRC}/QT/PstoeditQtGui && ${MAKE} GUI

        ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+       ${INSTALL_PROGRAM} ${WRKSRC}/QT/PstoeditQtGui/PstoeditQtGui
(It uses qmake{n} if only qt{n} is installed, or qmake6 if both installed.)

I'm inspired in devel/cmake-gui and net-p2p/transmission-qt

Any recomendation?


Nuno Teixeira
FreeBSD Committer (ports)