freebsd-ports/devel/synfig/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* 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>
2018-11-10 19:57:07 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= synfig
PORTVERSION= 1.2.1
PORTREVISION= 11
CATEGORIES= devel graphics multimedia
MASTER_SITES= SF/${PORTNAME}/releases/${PORTVERSION}/source
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Vector based 2D animation package
LICENSE= GPLv2+
BUILD_DEPENDS= etl>=1.2.1:devel/etl
LIB_DEPENDS= libHalf.so:graphics/ilmbase \
libIlmImf.so:graphics/openexr \
libMagickWand-6.so:graphics/ImageMagick6 \
libavcodec.so:multimedia/ffmpeg \
libboost_program_options.so:devel/boost-libs \
libdv.so:multimedia/libdv \
libfftw3.so:math/fftw3 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libltdl.so:devel/libltdl \
libmlt.so:multimedia/mlt \
libmng.so:graphics/libmng \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= compiler:c++11-lang gmake iconv jpeg libtool localbase pathfix pkgconfig
USE_CXXSTD= c++11
USE_GNOME= cairo glibmm intltool libxml++26 pango
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e \
'/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \
/optimization_flags/s|CFLAGS=|#CFLAGS=|' \
${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in AUTHORS ChangeLog INSTALL NEWS README TODO
(cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>