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
dependencies
2- Slave port that adds/builds pstoedit-gui-{qt5,qt6} (with advantage that
pkgs will be available)
Simple test on port:
---
+post-build:
+ cd ${WRKSRC}/QT/PstoeditQtGui && ${MAKE} GUI
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/QT/PstoeditQtGui/PstoeditQtGui
${STAGEDIR}${PREFIX}/bin/
---
(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?
Thanks,
--
Nuno Teixeira
FreeBSD Committer (ports)