pkgsrc/graphics/py-openexr/Makefile
2017-11-15 23:26:33 +00:00

25 lines
861 B
Makefile

# $NetBSD: Makefile,v 1.4 2017/11/15 23:26:33 markd Exp $
DISTNAME= OpenEXR-1.3.0
PKGNAME= ${PYPKGPREFIX}-openexr-1.3.0
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=O/OpenEXR/}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://www.excamera.com/sphinx/articles-openexr.html
COMMENT= Python module for ILM's OpenEXR image format and library
#LICENSE= unknown
USE_LANGUAGES= c c++
SUBST_CLASSES= fix-path
SUBST_MESSAGE.fix-path= Fixing paths.
SUBST_STAGE.fix-path= pre-configure
SUBST_FILES.fix-path= setup.py
SUBST_SED.fix-path= -e 's,/usr/include/OpenEXR,${BUILDLINK_PREFIX.openexr}/include/OpenEXR,'
SUBST_SED.fix-path+= -e 's,/usr/local/lib,${BUILDLINK_PREFIX.openexr}/lib,'
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"