83703ff8af
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.
58 lines
1.8 KiB
Makefile
58 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.39 2009/03/10 03:29:37 dmcmahill Exp $
|
|
|
|
DISTNAME= pstoedit-3.45
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# man page indicates that there are many licenses and one has to read all
|
|
# the source files
|
|
LICENSE= unclear-license
|
|
RESTRICTED= license is unclear
|
|
RESTRICTED?= "The author writes: If you include this program on a CDROM, please send me a copy of the CD, or if it goes with a book, of the book."
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
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=${LOCALBASE}/bin/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"
|