2012-10-29 12:05:21 +01:00
|
|
|
# Created by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
2001-05-19 17:29:55 +02:00
|
|
|
|
|
|
|
PORTNAME= autotrace
|
2003-02-04 03:53:56 +01:00
|
|
|
PORTVERSION= 0.31.1
|
2018-11-10 20:57:07 +01:00
|
|
|
PORTREVISION= 32
|
2001-05-19 17:29:55 +02:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/AutoTrace/${PORTVERSION}
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2015-02-24 15:04:51 +01:00
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= Convert bitmap to vector graphics
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2012-10-29 12:05:21 +01:00
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= multi
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2012-10-29 12:05:21 +01:00
|
|
|
|
2015-05-14 13:55:25 +02:00
|
|
|
USES= cpe pathfix pkgconfig libtool
|
|
|
|
CPE_VENDOR= autotrace_project
|
2014-06-04 15:32:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2014-08-22 21:08:37 +02:00
|
|
|
CPPFLAGS+= $$(libpng-config --I_opts)
|
|
|
|
LDFLAGS+= $$(libpng-config --L_opts)
|
2014-06-04 15:32:10 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2012-10-29 12:05:21 +01:00
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK MING PSTOEDIT
|
2021-11-17 11:44:06 +01:00
|
|
|
OPTIONS_DEFAULT=IMAGEMAGICK
|
2012-10-29 12:05:21 +01:00
|
|
|
MING_DESC= Enable swf interface
|
|
|
|
PSTOEDIT_DESC= Convert postscript to other formats
|
|
|
|
|
2021-10-30 20:08:16 +02:00
|
|
|
IMAGEMAGICK_USES= magick:6
|
2014-07-28 23:54:33 +02:00
|
|
|
IMAGEMAGICK_CONFIGURE_OFF= --without-magick
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
MING_LIB_DEPENDS= libming.so:graphics/ming
|
2014-07-28 23:54:33 +02:00
|
|
|
MING_CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/ming
|
|
|
|
MING_CONFIGURE_OFF= ac_cv_header_ming_h=no
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
PSTOEDIT_LIB_DEPENDS= libpstoedit.so:graphics/pstoedit
|
2014-07-28 23:54:33 +02:00
|
|
|
PSTOEDIT_CONFIGURE_OFF= --without-pstoedit
|
2008-01-26 15:10:19 +01:00
|
|
|
|
2007-06-15 15:10:58 +02:00
|
|
|
post-patch:
|
2002-06-29 21:03:07 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2012-10-29 12:05:21 +01:00
|
|
|
's|Magick-config|MagickWand-config|g ; \
|
|
|
|
/$$PSTOEDIT_CONFIG/s|--version|--modversion| ; \
|
2007-06-15 15:10:58 +02:00
|
|
|
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
|
2012-10-29 12:05:21 +01:00
|
|
|
/^PSTOEDIT_CONFIG=/s|=.*$$|=pkg-config|' ${WRKSRC}/configure
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2015-03-10 15:16:02 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libautotrace.so
|
2021-11-17 11:44:06 +01:00
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.include <bsd.port.mk>
|