pkgsrc/graphics/pstoedit/Makefile
markd b449f5b472 pstoedit: update to 3.78
New or changed in 3.78:
* Bug fix. pstoedit did not find older versions of GhostScript under Windows.
* Support for mawk in creation of pstoedit.ph header file. mawk is often used on
  build servers in place of gawk.
New or changed in 3.77:
* Some small update to comply with some Debian requirements.
New or changed in 3.76:
* Added experimental support for filled objects in DXF output using the HATCH
  element of DXF.
* Fixed a problem when running pstoedit with output to standard output instead of
  a file.
* Adapted to new versioning scheme of GhostScript.
* Additional backend for pcb-rnd contributed by Erich Heinzle.
* Some additional options in WEMF driver.
* Better handling of bounding box in EMF output. Contributed by Samuel Thibault.
* Better handling of metric option in fig driver.
2022-08-22 08:23:19 +00:00

53 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.115 2022/08/22 08:23:19 markd Exp $
DISTNAME= pstoedit-3.78
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
# 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}
GNU_CONFIGURE_LIBSUBDIR= pstoedit # plugin dir -- unused for now
#BUILD_TARGET=
LIBS.SunOS+= -ldl
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
SUBST_CLASSES+= magick
SUBST_STAGE.magick= pre-configure
SUBST_FILES.magick= configure
SUBST_SED.magick+= -e 's|ImageMagick|Magick|g'
INSTALLATION_DIRS= ${DOCDIR}
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"
.include "../../converters/libiconv/buildlink3.mk"
.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"