aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cinepaint/Makefile
blob: 1da6bced2bb6f4f18282b5442dc7a763d0411390 (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
51
52
53
54
55
56
57
58
# New ports collection makefile for:    cinepaint
# Date created:             11 Oct 2003
# Whom:                 David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=   cinepaint
PORTVERSION=    0.18
PORTREVISION=   3
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1

MAINTAINER= dyeske@yahoo.com
COMMENT=    An editing tool used for painting and retouching of movies

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.5:${PORTSDIR}/graphics/png \
        tiff.4:${PORTSDIR}/graphics/tiff

USE_X_PREFIX=   yes
USE_LIBTOOL_VER=13
USE_PYTHON= yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes

MAN1=       cinepaint.1 cinepainttool.1

PLIST_SUB=  VER=${PORTVERSION}-1

.if !defined(WITHOUT_OPENEXR)
LIB_DEPENDS+=   IlmImf.2:${PORTSDIR}/graphics/OpenEXR
CONFIGURE_ARGS+=    --with-openexr-prefix=${LOCALBASE}
PLIST_SUB+= OPENEXR:=""
.else
PLIST_SUB+= OPENEXR:="@comment "
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=     "Does not compile completely"
.endif

post-patch:
    @${REINPLACE_CMD} -e \
        's| -Wall||' \
        ${WRKSRC}/configure

    @${REINPLACE_CMD} -E -e \
        's|-LINUX.+$$||' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>