ebe19f9d51
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.
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.49 2010/04/13 06:53:19 obache Exp $
|
|
|
|
DISTNAME= pstoedit-3.50
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_TOOLS+= gs:run
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
|
|
CONFIGURE_ENV+= ac_cv_path_GS=${TOOLS_PATH.gs}
|
|
|
|
# needs libEMF which has build problems on alpha and probably
|
|
# other 64-bit systems
|
|
CONFIGURE_ARGS+=--without-emf
|
|
|
|
CONFIGURE_ARGS+=--datadir=${PREFIX}/share
|
|
CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/pstoedit # plugin dir -- unused for now
|
|
BUILD_TARGET=
|
|
|
|
LIBS.SunOS+= -ldl
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/pstoedit
|
|
HTMLDIR= ${PREFIX}/share/doc/html/pstoedit
|
|
DOCSRC= ${WRKSRC}/doc
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
|
|
|
|
post-install:
|
|
for f in ${DOCSRC}/*.htm; do \
|
|
${INSTALL_DATA} $${f} ${DESTDIR}${HTMLDIR}; \
|
|
done
|
|
${INSTALL_DATA} ${DOCSRC}/readme.txt ${DESTDIR}${DOCDIR}
|
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
.include "../../graphics/ImageMagick/buildlink3.mk"
|
|
.include "../../graphics/plotutils/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../multimedia/ming/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|