summaryrefslogtreecommitdiffstats
path: root/graphics/enblend/Makefile
blob: 048c46616f9a0372d7b4f12192720c641b7b55dd (plain)
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
# New ports collection makefile for:	enblend
# Date created:			19 september 2004
# Whom:				cartola@openit.com.br
#
# $FreeBSD$
#

PORTNAME=	enblend
PORTVERSION=	3.0
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	SF

MAINTAINER=	vd@FreeBSD.org
COMMENT=	A tool for image blending with multiresolution splines

BUILD_DEPENDS=	${LOCALBASE}/include/boost/pool/pool.hpp:${PORTSDIR}/devel/boost
LIB_DEPENDS=	GLEW.1:${PORTSDIR}/graphics/glew \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		lcms:${PORTSDIR}/graphics/lcms \
		xmi.1:${PORTSDIR}/graphics/plotutils \
		tiff.4:${PORTSDIR}/graphics/tiff

USE_GNOME=	gnometarget
USE_GL=		glut
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=		enblend.1
PLIST_FILES=	bin/enblend

CPPFLAGS=	-I${WRKSRC}/src/vigra_impex -I${WRKSRC}/include \
		-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} -e 's|-ffast-math||g ; \
		 s|-g -O3||g' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud