Tweak graphics/synfigstudio version 0.63.05_1
[dports.git] / graphics / synfigstudio / Makefile
1 # New ports collection makefile for:    synfigstudio
2 # Date created:                         25 Jun 2006
3 # Whom:                                 Yinghong.Liu <relaxbsd@gmail.com>
4 #
5 # $FreeBSD: graphics/synfigstudio/Makefile 316464 2013-04-24 18:10:30Z ak $
6 #
7
8 PORTNAME=       synfigstudio
9 DISTVERSION=    0.63.05
10 PORTREVISION=   1
11 CATEGORIES=     graphics multimedia
12 MASTER_SITES=   SF/synfig/${PORTNAME}/${PORTVERSION}
13
14 MAINTAINER=     dhn@FreeBSD.org
15 COMMENT=        Vector-based 2D animation software package
16
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
20
21 USE_GNOME=      gnomehack gtk20
22 USES=           gettext
23 USE_GMAKE=      yes
24 INSTALLS_ICONS= yes
25 GNU_CONFIGURE=  yes
26 CPPFLAGS+=      -I${LOCALBASE}/include
27 LDFLAGS+=       -L${LOCALBASE}/lib
28 USE_LDCONFIG=   yes
29
30 post-patch:
31         @${REINPLACE_CMD} -e '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \
32                  /optimization_flags/s|CFLAGS=|#CFLAGS=|' -e \
33                 's|sk_SK|sk|g' ${WRKSRC}/configure
34
35 # FIX LC_MESSAGES
36         ${MV} ${WRKSRC}/po/sk_SK.gmo ${WRKSRC}/po/sk.gmo
37
38 post-install:
39 .if !defined(NOPORTDOCS)
40         @${MKDIR} ${DOCSDIR}
41 .for doc in AUTHORS ChangeLog INSTALL NEWS README TODO
42         @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
43 .endfor
44 .endif
45
46 .include <bsd.port.mk>