pkgsrc/graphics/pstoedit/Makefile

52 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.94 2018/04/17 22:29:40 wiz Exp $
DISTNAME= pstoedit-3.70
PKGREVISION= 10
CATEGORIES= converters graphics print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pstoedit/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pstoedit.net/
COMMENT= Convert PostScript / PDF into various vector graphic formats
LICENSE= gnu-gpl-v2
# man page indicates that there are many licenses and one has to read all
# the source files
USE_TOOLS+= gs:run pkg-config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
#CONFIGURE_ARGS+= --datadir=${PREFIX}/share
update to pstoedit-3.45 New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver.
2009-03-10 04:29:37 +01:00
# needs libEMF which has build problems on alpha and probably
# other 64-bit systems
CONFIGURE_ARGS+= --without-emf
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
CONFIGURE_ENV+= ac_cv_path_GS=${TOOLS_PATH.gs}
update to pstoedit-3.45 New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver.
2009-03-10 04:29:37 +01:00
GNU_CONFIGURE_LIBSUBDIR=pstoedit # plugin dir -- unused for now
#BUILD_TARGET=
2004-06-15 13:38:00 +02:00
LIBS.SunOS+= -ldl
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= ${DOCDIR}
2008-06-12 04:14:13 +02:00
post-install:
for f in ${WRKSRC}/doc/*.htm; do \
${INSTALL_DATA} $${f} ${DESTDIR}${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/doc/readme.txt ${DESTDIR}${DOCDIR}
.include "../../archivers/libzip/buildlink3.mk"
2016-09-16 16:52:53 +02:00
.include "../../converters/libiconv/buildlink3.mk"
update to pstoedit-3.45 New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver.
2009-03-10 04:29:37 +01:00
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/GraphicsMagick/buildlink3.mk"
# ImageMagick's v7 API is incompatible
#.include "../../graphics/ImageMagick/buildlink3.mk"
2004-04-16 00:55:56 +02:00
.include "../../graphics/plotutils/buildlink3.mk"
update to pstoedit-3.45 New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver.
2009-03-10 04:29:37 +01:00
.include "../../graphics/png/buildlink3.mk"
Update pstoedit to 3.50. While here, remove restriction, it's "please", not "have to". see: http://packages.debian.org/changelogs/pool/main/p/pstoedit/pstoedit_3.45-8/pstoedit.copyright New or changed in 3.50: * added an option (-gs) to specify the full path to GhostScript (under Windows - either the .exe or the DLL). This can be used by portable applications to direct pstoedit to use a specific GhostScript version. * Stanislav Brabec contributed several improvements to the PCB driver. See http://www.penguin.cz/~utx/pstoedit-pcb/ on how these can be useful. * Scott Pakin submitted several improvements to the mpost driver and the font substitution mechanism. * new driver for .vtk files e.g. for ParaView - http://www.paraview.org/ - but this is still a very basic version. Thanks to Mitesh Patel for initiating and testing. * new driver for cairo (http://cairographics.org/ ) contributed by Dan McMahill. This driver generates C-code which can be compiled and linked against the cairo libraries. See the contrib/cairo directory for an example. * several improvements on the DXF driver as suggested and sponsored by Markus Meyer. * because pstoedit may write its output to stdout, all output written by GhostScript to stdout is now redirected to stderr in order to avoid mixed output. * added a -q option to suppress the initial startup message of pstoedit. This can by useful when being called via a pipe, e.g. from inkscape. However, note that this does not suppress all output written to stderr - see also note above. * John Bowman fixed a number of problems related to clipping and image support for the Asymptote backend. * fixed a compilation problem with g++ V4.x. * new driver for gcode (.ngc files) (tested with emc see http://linuxcnc.org). Contributed by Lawrence Glaister. * some adaptations for newer versions of libming * fixed a line width problem for xfig format. * corrected the broken pstoedit.m4 - thanks to Ian Abbott * some minor code beautifying.
2010-04-13 08:53:19 +02:00
.include "../../multimedia/ming/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"