1 # New ports collection makefile for: synfigstudio
2 # Date created: 25 Jun 2006
3 # Whom: Yinghong.Liu <relaxbsd@gmail.com>
5 # $FreeBSD: graphics/synfigstudio/Makefile 316464 2013-04-24 18:10:30Z ak $
11 CATEGORIES= graphics multimedia
12 MASTER_SITES= SF/synfig/${PORTNAME}/${PORTVERSION}
14 MAINTAINER= dhn@FreeBSD.org
15 COMMENT= Vector-based 2D animation software package
17 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ETL.pc:${PORTSDIR}/devel/etl
18 LIB_DEPENDS= synfig.0:${PORTSDIR}/devel/synfig \
19 gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
21 USE_GNOME= gnomehack gtk20
26 CPPFLAGS+= -I${LOCALBASE}/include
27 LDFLAGS+= -L${LOCALBASE}/lib
31 @${REINPLACE_CMD} -e '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \
32 /optimization_flags/s|CFLAGS=|#CFLAGS=|' -e \
33 's|sk_SK|sk|g' ${WRKSRC}/configure
36 ${MV} ${WRKSRC}/po/sk_SK.gmo ${WRKSRC}/po/sk.gmo
39 .if !defined(NOPORTDOCS)
41 .for doc in AUTHORS ChangeLog INSTALL NEWS README TODO
42 @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
46 .include <bsd.port.mk>