1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/graphics/enblend/Makefile
Edwin Groothuis 6816a5053c Replace dependency on graphics/lcms with graphics/lcms2
Submitted by: Wolfgang Riegler
Tested by: grog@
2013-03-02 02:25:47 +00:00

53 lines
1.7 KiB
Makefile

# Created by: cartola@openit.com.br
# $FreeBSD$
PORTNAME= enblend
PORTVERSION= 4.1.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
# Care: the directory is the minor release number
MASTER_SITE_SUBDIR= enblend/enblend-enfuse/enblend-enfuse-4.1
DISTNAME= enblend-enfuse-${PORTVERSION}
MAINTAINER= grog@FreeBSD.org
COMMENT= A tool for image blending with multiresolution splines
BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \
OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
lcms2:${PORTSDIR}/graphics/lcms2 \
xmi:${PORTSDIR}/graphics/plotutils \
tiff:${PORTSDIR}/graphics/tiff \
boost_filesystem:${PORTSDIR}/devel/boost-libs \
vigraimpex:${PORTSDIR}/graphics/vigra \
gsl:${PORTSDIR}/math/gsl
RUN_DEPENDS= OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
INFO= enfuse enblend
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= automake:env autoconf:env
USE_GMAKE= yes
# We need a newer version of makinfo for this.
# Remove this line when we remove texinfo from the base system.
CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo"
# GCC 4.2 has some problems, see
# http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a
# Gerald Pfeifer <gerald@pfeifer.com> asked to use 4.4+ instead of 4.3+
USE_GCC= 4.4+
USE_GL= glew glut
GNU_CONFIGURE= yes
CONFIGURE_ENV+= "LIBS=-lboost_system"
CONFIGURE_ARGS+= --with-boost-filesystem
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= enblend.1 enfuse.1
PLIST_FILES= bin/enblend bin/enfuse
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.info ${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>