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
This commit is contained in:
Nuno Teixeira 2024-11-30 14:44:46 +00:00
parent 4b05da0715
commit fd7109ee40
3 changed files with 16 additions and 12 deletions

View file

@ -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 ; \

View file

@ -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

View file

@ -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