062ff0a159
Changes from Version 1.11.0 to 1.11.1 Added 3D convex hull computation and features (David Stöckel). Added Random Forest version 3, inspired by LEMON's graph API, to simplify customization of RF variants (Philip Schill). Improved hierarchical clustering (Cpnstantin Pape). Minor improvements and bug fixes in the code and documentation.
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2017/05/29 12:35:06 wiz Exp $
|
|
|
|
DISTNAME= vigra-1.11.1-src
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ukoethe/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://ukoethe.github.io/vigra/
|
|
COMMENT= Computer vision library
|
|
LICENSE= mit
|
|
|
|
GITHUB_PROJECT= vigra
|
|
GITHUB_RELEASE= Version-1-11-1
|
|
EXTRACT_USING= bsdtar
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CMAKE_ARGS+= -D DOCINSTALL:PATH=${PREFIX}/share/doc
|
|
CMAKE_ARGS+= -D WITH_OPENEXR=YES
|
|
CMAKE_ARGS+= -D WITH_VIGRANUMPY=NO
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_STAGE.python= pre-configure
|
|
SUBST_FILES.python+= config/vigra-config.in
|
|
# Best we can do without pulling in a python dependency.
|
|
# Update when PYTHON_VERSION_DEFAULT changes!
|
|
SUBST_SED.python+= -e 's,/usr/bin/env.*python,${PREFIX}/bin/python2.7,'
|
|
SUBST_MESSAGE.python= Fixing path to python.
|
|
|
|
# Package doesn't need dependency, only packages using the script,
|
|
# usually during configure, so don't depend on python.
|
|
CHECK_INTERPRETER_SKIP= bin/vigra-config
|
|
|
|
pre-install:
|
|
${RM} -f ${WRKSRC}/include/vigra/*.orig
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/openexr/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|