2013-01-31 14:38:42 +01:00
|
|
|
# Created by: cartola@openit.com.br
|
2004-11-17 21:35:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= enblend
|
2013-02-17 03:34:33 +01:00
|
|
|
PORTVERSION= 4.1.1
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 11
|
2004-11-17 21:35:24 +01:00
|
|
|
CATEGORIES= graphics
|
2013-05-16 05:41:15 +02:00
|
|
|
MASTER_SITES= SF/enblend/enblend-enfuse/enblend-enfuse-${PORTVERSION:R}
|
2012-07-23 13:47:11 +02:00
|
|
|
DISTNAME= enblend-enfuse-${PORTVERSION}
|
2004-11-17 21:35:24 +01:00
|
|
|
|
2012-07-23 13:47:11 +02:00
|
|
|
MAINTAINER= grog@FreeBSD.org
|
2013-05-16 05:41:15 +02:00
|
|
|
COMMENT= Tool for image blending with multiresolution splines
|
2004-11-17 21:35:24 +01:00
|
|
|
|
2013-01-31 14:38:42 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \
|
2008-06-19 18:28:07 +02:00
|
|
|
OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
|
2015-06-22 20:33:20 +02:00
|
|
|
LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 \
|
2013-12-12 15:15:03 +01:00
|
|
|
libxmi.so:${PORTSDIR}/graphics/plotutils \
|
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
|
|
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
|
|
|
|
libvigraimpex.so:${PORTSDIR}/graphics/vigra \
|
|
|
|
libgsl.so:${PORTSDIR}/math/gsl
|
2008-06-19 18:28:07 +02:00
|
|
|
RUN_DEPENDS= OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
|
2004-11-17 21:35:24 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= automake:env autoconf:env
|
2015-06-22 20:33:20 +02:00
|
|
|
USES= compiler:features gmake jpeg makeinfo
|
2014-03-13 00:36:52 +01:00
|
|
|
# We need a newer version of makeinfo for this.
|
2012-07-23 13:47:11 +02:00
|
|
|
# Remove this line when we remove texinfo from the base system.
|
|
|
|
CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo"
|
2008-06-19 18:28:07 +02:00
|
|
|
|
2010-04-27 23:58:27 +02:00
|
|
|
USE_GL= glew glut
|
2004-11-17 21:35:24 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-01-31 14:38:42 +01:00
|
|
|
CONFIGURE_ARGS+= --with-boost-filesystem
|
2012-07-23 13:47:11 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -lboost_system
|
2007-05-02 01:17:41 +02:00
|
|
|
|
2014-03-13 19:59:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${COMPILER_TYPE} == gcc
|
|
|
|
# GCC 4.2 has some problems, see
|
|
|
|
# http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a
|
|
|
|
# Clang, on 10.0-RELEASE is fine.
|
|
|
|
USE_GCC= yes
|
|
|
|
.else
|
|
|
|
CXXFLAGS+= -Wno-c++11-extensions
|
|
|
|
.endif
|
|
|
|
|
2013-05-16 05:41:15 +02:00
|
|
|
INFO= enfuse enblend
|
2014-03-13 00:36:52 +01:00
|
|
|
PLIST_FILES= bin/enblend bin/enfuse man/man1/enblend.1.gz man/man1/enfuse.1.gz
|
2007-05-02 01:17:41 +02:00
|
|
|
|
2013-02-17 03:34:33 +01:00
|
|
|
post-install:
|
2014-03-13 00:36:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
2004-11-17 21:35:24 +01:00
|
|
|
|
2014-03-13 19:59:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|