2012-10-29 11:05:21 +00:00
|
|
|
# Created by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
2001-05-19 15:29:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= autotrace
|
2003-02-04 02:53:56 +00:00
|
|
|
PORTVERSION= 0.31.1
|
2014-12-25 20:54:41 +00:00
|
|
|
PORTREVISION= 27
|
2001-05-19 15:29:55 +00:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/AutoTrace/${PORTVERSION}
|
2001-05-19 15:29:55 +00:00
|
|
|
|
2007-02-27 00:16:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:17:17 +00:00
|
|
|
COMMENT= Convert bitmap to vector graphics
|
2001-05-19 15:29:55 +00:00
|
|
|
|
2012-10-29 11:05:21 +00:00
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= multi
|
2001-05-19 15:29:55 +00:00
|
|
|
|
2014-12-24 16:04:22 +00:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2012-10-29 11:05:21 +00:00
|
|
|
|
2014-06-04 13:32:10 +00:00
|
|
|
USES= pathfix pkgconfig libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2014-08-22 19:08:37 +00:00
|
|
|
CPPFLAGS+= $$(libpng-config --I_opts)
|
|
|
|
LDFLAGS+= $$(libpng-config --L_opts)
|
2014-06-04 13:32:10 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2012-10-29 11:05:21 +00:00
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK MING PSTOEDIT
|
2014-07-28 21:54:33 +00:00
|
|
|
OPTIONS_DEFAULT=IMAGEMAGICK PSTOEDIT
|
2012-10-29 11:05:21 +00:00
|
|
|
MING_DESC= Enable swf interface
|
|
|
|
PSTOEDIT_DESC= Convert postscript to other formats
|
|
|
|
|
2014-11-07 09:55:22 +00:00
|
|
|
IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.Q16.so:${PORTSDIR}/graphics/ImageMagick
|
2014-07-28 21:54:33 +00:00
|
|
|
IMAGEMAGICK_CONFIGURE_OFF= --without-magick
|
|
|
|
|
|
|
|
MING_LIB_DEPENDS= libming.so:${PORTSDIR}/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:${PORTSDIR}/graphics/pstoedit
|
|
|
|
PSTOEDIT_CONFIGURE_OFF= --without-pstoedit
|
2008-01-26 14:10:19 +00:00
|
|
|
|
2007-06-15 13:10:58 +00:00
|
|
|
post-patch:
|
2002-06-29 19:03:07 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
2012-10-29 11:05:21 +00:00
|
|
|
's|Magick-config|MagickWand-config|g ; \
|
|
|
|
/$$PSTOEDIT_CONFIG/s|--version|--modversion| ; \
|
2007-06-15 13:10:58 +00:00
|
|
|
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
|
2012-10-29 11:05:21 +00:00
|
|
|
/^PSTOEDIT_CONFIG=/s|=.*$$|=pkg-config|' ${WRKSRC}/configure
|
2001-05-19 15:29:55 +00:00
|
|
|
|
2012-06-12 21:42:32 +00:00
|
|
|
.include <bsd.port.mk>
|