9b23f4612a
is only needed by packages using vigra-config to find vigra, so don't depend on python here -- let the packages using it pull it in themselves. Bump PKGREVISION.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2011/05/02 12:57:22 wiz Exp $
|
|
|
|
DISTNAME= vigra-1.7.1-src
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://hci.iwr.uni-heidelberg.de/vigra/
|
|
COMMENT= Computer vision library
|
|
LICENSE= mit
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CMAKE_ARGS+= -D DOCINSTALL:PATH=${PREFIX}/share/doc
|
|
|
|
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.6,'
|
|
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
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|