aboutsummaryrefslogtreecommitdiffstats
path: root/devel/synfig/Makefile
blob: 08e43df6b1fc384842dde26ab39d0b361a545d07 (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
45
46
47
48
49
50
# New ports collection makefile for:    synfig
# Date created:             25 Jun 2006
# Whom:                 Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   synfig
DISTVERSION=    0.61.06
PORTREVISION=   1
CATEGORIES= devel graphics multimedia
MASTER_SITES=   SF

MAINTAINER= relaxbsd@gmail.com
COMMENT=    A vector based 2D animation package

LIB_DEPENDS=    xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
        glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
        mng.1:${PORTSDIR}/graphics/libmng \
        png.5:${PORTSDIR}/graphics/png \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        tiff.4:${PORTSDIR}/graphics/tiff \
        Magick.10:${PORTSDIR}/graphics/ImageMagick \
        avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
        dv.4:${PORTSDIR}/multimedia/libdv \
        IlmImf.6:${PORTSDIR}/graphics/OpenEXR
BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/ETL.pc:${PORTSDIR}/devel/etl

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
USE_GNOME=  gnomehack

PORTDOCS=   AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

post-patch:
    @${REINPLACE_CMD} 's|TARGET_MNG="no"|TARGET_MNG="yes"|' \
        ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>