1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/graphics/autotrace/Makefile
Koop Mast 704ab44ef9 ImageMagick to 6.9.9-15.
* Disable FPX (FlashPix) support by default. This image format is really
  rare these days coupled with that there are known CVE's in libfpx and
  it doesn't seem to be maintained these days. It doesn't make sense to
  keep it enabled by default anymore. [1]
* Add new option for RAW support
* Fix portscout macro to only show 6.9.x versions

Bump other ports for the shared library bumps in IM 6.

PR:		222309 [1]
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru> [1]
2017-09-28 15:36:31 +00:00

51 lines
1.4 KiB
Makefile

# Created by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
# $FreeBSD$
PORTNAME= autotrace
PORTVERSION= 0.31.1
PORTREVISION= 31
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/AutoTrace/${PORTVERSION}
MAINTAINER= portmaster@BSDforge.com
COMMENT= Convert bitmap to vector graphics
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libpng.so:graphics/png
USES= cpe pathfix pkgconfig libtool
CPE_VENDOR= autotrace_project
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= $$(libpng-config --I_opts)
LDFLAGS+= $$(libpng-config --L_opts)
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= IMAGEMAGICK MING PSTOEDIT
OPTIONS_DEFAULT=IMAGEMAGICK PSTOEDIT
MING_DESC= Enable swf interface
PSTOEDIT_DESC= Convert postscript to other formats
IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
IMAGEMAGICK_CONFIGURE_OFF= --without-magick
MING_LIB_DEPENDS= libming.so:graphics/ming
MING_CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/ming
MING_CONFIGURE_OFF= ac_cv_header_ming_h=no
PSTOEDIT_LIB_DEPENDS= libpstoedit.so:graphics/pstoedit
PSTOEDIT_CONFIGURE_OFF= --without-pstoedit
post-patch:
@${REINPLACE_CMD} -e \
's|Magick-config|MagickWand-config|g ; \
/$$PSTOEDIT_CONFIG/s|--version|--modversion| ; \
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
/^PSTOEDIT_CONFIG=/s|=.*$$|=pkg-config|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libautotrace.so
.include <bsd.port.mk>