1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/graphics/cinepaint/Makefile
Norikatsu Shigemura 6ed6dba53f o Update to 1.4.0
o Chase libraries version bump to depending on this port.

[NOTE]
I disabled FLTK support, so you can't use OpenEXR's applications.
Because I'm validating FLTK support.

Spotted by:	Nikolaj Thygesen <nikolaj.thygesen <@> diamondbox.dk>
Obtained from:	Florian Kainz <kainz <@> ilm.com>
Committed at:	AsiaBSDCon 2007 in Tokyo, Japan
Memorial Committing with:
		bushman, kuriyama, hrs, gnn, nobutaka, nyan, motoyuki, metal,
		simokawa, akiyama, ume, rwatson, pjd, mckusick, takawata,
		murray, cjh, brooks, daichi, delphij, ups, rrs
2007-03-11 08:50:26 +00:00

62 lines
1.5 KiB
Makefile

# New ports collection makefile for: cinepaint
# Date created: 11 Oct 2003
# Whom: David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#
PORTNAME= cinepaint
PORTVERSION= 0.20
PORTREVISION= 1
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 \
lcms.1:${PORTSDIR}/graphics/lcms \
tiff.4:${PORTSDIR}/graphics/tiff
USE_AUTOTOOLS= libtool:15
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_PYTHON= yes
USE_GMAKE= yes
USE_GNOME= gtk12
INSTALLS_SHLIB= yes
MAN1= cinepaint.1 cinepainttool.1
PLIST_SUB= VER=${PORTVERSION}-1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-1
.if !defined(WITHOUT_OPENEXR)
LIB_DEPENDS+= IlmImf.4:${PORTSDIR}/graphics/OpenEXR \
fltk.1:${PORTSDIR}/x11-toolkits/fltk-threads
CONFIGURE_ARGS+= --with-openexr-prefix=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/OpenEXR"
PLIST_SUB+= OPENEXR:=""
.else
PLIST_SUB+= OPENEXR:="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e \
's| -Wall||' \
${WRKSRC}/configure
@${REINPLACE_CMD} -E -e \
's|-LINUX.+$$|| ; s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|static GDrawableType|static GImageType|' \
${WRKSRC}/plug-ins/psd/psd.c
.include <bsd.port.mk>