1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/devel/synfig/Makefile
Koop Mast cf906e5cf2 Update to 6.8.9-3 [1][3].
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]

JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
  the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
  anymore at run-time.

PR:		185462 [1]
PR:		187548 [2]
PR:		182793 [3]
PR:		181746 [4]
PR:		176047 [5]
PR:		190814 [6]
Submitted by:	c.petrik.sosa@gmail.com [1]
		Matthieu Volat <mazhe@alkumuna.eu> [2]
		free.bsd@webstyle.ch [3]
		andrnils@gmail.com [4]
		rfg@tristatelogic.com [5]
		Michelle Sullivan <michelle@sorbs.net> [6]
Approved by:	portmgr (blanket) (for NO_STAGED ports)
2014-06-17 20:05:30 +00:00

61 lines
1.8 KiB
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= synfig
DISTVERSION= 0.63.05
PORTREVISION= 5
CATEGORIES= devel graphics multimedia
MASTER_SITES= SF
MAINTAINER= dhn@FreeBSD.org
COMMENT= Vector based 2D animation package
# update to 0.64.1 does pick up ImageMagick correctly but there are a
# multitude of c++ build failures which are beyond my skill to fix ..
BROKEN= Doesn't pickup ImageMagick anymore.
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ETL.pc:${PORTSDIR}/devel/etl
LIB_DEPENDS= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libmng.so:${PORTSDIR}/graphics/libmng \
libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff \
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
libdv.so:${PORTSDIR}/multimedia/libdv \
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
USE_GNOME= gnomehack glib20 glibmm libxml++26
USES= gettext
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \
/optimization_flags/s|CFLAGS=|#CFLAGS=|' -e \
's|el_GR|el|g' -e \
's|no_NO|no|g' -e \
's|pl_PL|pl|g' -e \
's|sk_SK|sk|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/url_fclose/s|&formatc|formatc|g' \
${WRKSRC}/src/modules/mod_libavcodec/trgt_av.cpp
# FIX LC_MESSAGES
${MV} ${WRKSRC}/po/no_NO.gmo ${WRKSRC}/po/no.gmo
${MV} ${WRKSRC}/po/pl_PL.gmo ${WRKSRC}/po/pl.gmo
${MV} ${WRKSRC}/po/sk_SK.gmo ${WRKSRC}/po/sk.gmo
${MV} ${WRKSRC}/po/el_GR.gmo ${WRKSRC}/po/el.gmo
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in AUTHORS ChangeLog INSTALL NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>