mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Created by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= autotrace
|
|
PORTVERSION= 0.31.1
|
|
PORTREVISION= 32
|
|
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/ImageMagick6
|
|
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>
|