aboutsummaryrefslogtreecommitdiff
path: root/graphics/synfigstudio/Makefile
blob: 7b3476982719de6470dd70ac66b6ae34c9cd90d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$

PORTNAME=	synfigstudio
DISTVERSION=	0.63.05
PORTREVISION=	1
CATEGORIES=	graphics multimedia
MASTER_SITES=	SF/synfig/${PORTNAME}/${PORTVERSION}

MAINTAINER=	dhn@FreeBSD.org
COMMENT=	Vector-based 2D animation software package

BROKEN=		Fails to compile

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/ETL.pc:${PORTSDIR}/devel/etl
LIB_DEPENDS=	libsynfig.so:${PORTSDIR}/devel/synfig \
		libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24

USE_GNOME=	gnomehack gtk20
USES=		gettext gmake
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USE_LDCONFIG=	yes

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e '/optimization_flags/s|CXXFLAGS=|#CXXFLAGS=| ; \
		 /optimization_flags/s|CFLAGS=|#CFLAGS=|' -e \
		's|sk_SK|sk|g' ${WRKSRC}/configure

# FIX LC_MESSAGES
	${MV} ${WRKSRC}/po/sk_SK.gmo ${WRKSRC}/po/sk.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>