git: fd7109ee4075 - main - graphics/pstoedit: Update to 4.02
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Nov 2024 14:50:16 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd7109ee40759f259f7c6b39471e22c21cbb9ee3
commit fd7109ee40759f259f7c6b39471e22c21cbb9ee3
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-11-30 14:44:46 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-11-30 14:50:05 +0000
graphics/pstoedit: Update to 4.02
- Add GUI option (default OFF)
- Simplify OPT_CONFIGURE_ON and OPT_CONFIGURE_OFF with OPT_CONFIGURE_WITH
ChangeLog: http://www.calvina.de/pstoedit/changelog.htm
MFH: 2024Q4
---
graphics/pstoedit/Makefile | 19 ++++++++++---------
graphics/pstoedit/distinfo | 6 +++---
graphics/pstoedit/pkg-plist | 3 +++
3 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 737279b01ab5..b6a3dc3a840d 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pstoedit
-DISTVERSION= 4.01
-PORTREVISION= 1
+DISTVERSION= 4.02
CATEGORIES= graphics print
MASTER_SITES= SF
@@ -23,22 +22,24 @@ MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}"
PORTDOCS= *
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EMF EXAMPLES MAGICK PLOTUTILS
+OPTIONS_DEFINE= DOCS EMF EXAMPLES GUI MAGICK PLOTUTILS
OPTIONS_DEFAULT= EMF MAGICK PLOTUTILS
OPTIONS_SUB= yes
EMF_DESC= WMF/EMF support via libEMF
+GUI_DESC= Qt6 GUI
PLOTUTILS_DESC= Plotting support via Plotutils
EMF_LIB_DEPENDS= libEMF.so:graphics/libemf
-EMF_CONFIGURE_ON= --with-libemf-include=${LOCALBASE}/include/libEMF
-EMF_CONFIGURE_OFF= --without-emf
+EMF_CONFIGURE_WITH= emf
+GUI_USES= gl qt:6
+GUI_USE= GL=opengl \
+ QT=base
+GUI_CONFIGURE_WITH= gui
MAGICK_USES= magick
-MAGICK_CONFIGURE_ON= --with-magick
-MAGICK_CONFIGURE_OFF= --without-magick
+MAGICK_CONFIGURE_WITH= magick
PLOTUTILS_LIB_DEPENDS= libplotter.so:graphics/plotutils
-PLOTUTILS_CONFIGURE_ON= --with-libplot
-PLOTUTILS_CONFIGURE_OFF= --without-libplot
+PLOTUTILS_CONFIGURE_WITH= libplot
post-patch:
@${REINPLACE_CMD} -e 's|CXXFLAGS="-g"|CXXFLAGS="$$CXXFLAGS"|g ; \
diff --git a/graphics/pstoedit/distinfo b/graphics/pstoedit/distinfo
index 8d3574616b16..c36d291a45f3 100644
--- a/graphics/pstoedit/distinfo
+++ b/graphics/pstoedit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711761301
-SHA256 (pstoedit-4.01.tar.gz) = 459765ab736cb10f9554a7ac02c5ea7f355c6c2e9fcfd217611c7d5102b1076b
-SIZE (pstoedit-4.01.tar.gz) = 1335475
+TIMESTAMP = 1732969637
+SHA256 (pstoedit-4.02.tar.gz) = 5588b432d2c6b2ad9828b44915ea5813ff9a3a3312a41fa0de4c38ddac9df72f
+SIZE (pstoedit-4.02.tar.gz) = 1369790
diff --git a/graphics/pstoedit/pkg-plist b/graphics/pstoedit/pkg-plist
index a8afa9ab353c..2b2e55204c20 100644
--- a/graphics/pstoedit/pkg-plist
+++ b/graphics/pstoedit/pkg-plist
@@ -1,4 +1,5 @@
bin/pstoedit
+%%GUI%%bin/PstoeditQtGui
include/pstoedit/base64writer.h
include/pstoedit/cppcomp.h
include/pstoedit/drvbase.h
@@ -24,6 +25,8 @@ lib/pstoedit/libp2edrvstd.so
libdata/pkgconfig/pstoedit.pc
share/man/man1/pstoedit.1.gz
share/aclocal/pstoedit.m4
+%%GUI%%share/applications/PstoeditQtGui.desktop
+%%GUI%%share/icons/hicolor/256x256/apps/pstoedit.png
%%DATADIR%%/drvhpgl.pencolors
%%DATADIR%%/examplefigmap.fmp
%%DATADIR%%/latex2e.fmp