# Created by: Yinghong.Liu # $FreeBSD$ PORTNAME= synfig PORTVERSION= 0.64.2 PORTREVISION= 1 CATEGORIES= devel graphics multimedia MASTER_SITES= SF/${PORTNAME}/releases/${PORTVERSION}/source MAINTAINER= ports@FreeBSD.org COMMENT= Vector based 2D animation package LICENSE= GPLv3 BUILD_DEPENDS= etl>=0.04.17:${PORTSDIR}/devel/etl LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs \ libltdl.so:${PORTSDIR}/devel/libltdl \ libMagickWand-6.Q16.so:${PORTSDIR}/graphics/ImageMagick \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libmng.so:${PORTSDIR}/graphics/libmng \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libdv.so:${PORTSDIR}/multimedia/libdv USES= gettext iconv libtool pathfix pkgconfig USE_GNOME= cairo glibmm libxml++26 GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \ /optimization_flags/s|CFLAGS=|#CFLAGS=| ; \ s|el_GR|el| ; \ s|ja_JP|ja| ; \ s|no_NO|no| ; \ s|pl_PL|pl| ; \ s|sk_SK|sk| ; \ s|sv_SE|sv| ; \ s|