diff options
author | drochner <drochner> | 2002-10-24 20:44:51 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-10-24 20:44:51 +0000 |
commit | be51d47d3ccfd7ee5d0750d7ff381a23fec47b56 (patch) | |
tree | a65461fb60e1349329c2dde0d747bf1943e25dd5 /graphics | |
parent | 961c853a7bd9f063e209dd6c69398827df0634a7 (diff) | |
download | pkgsrc-be51d47d3ccfd7ee5d0750d7ff381a23fec47b56.tar.gz |
install some header files (this got lost recently)
and buildlink2ify them
needed (at least) for graphics/sketch
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-imaging/Makefile | 8 | ||||
-rw-r--r-- | graphics/py-imaging/PLIST | 5 | ||||
-rw-r--r-- | graphics/py-imaging/buildlink2.mk | 13 |
3 files changed, 23 insertions, 3 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 259a5325388..85b44d03574 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2002/10/09 19:04:49 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2002/10/24 20:44:51 drochner Exp $ DISTNAME= Imaging-1.1.3 PKGNAME= ${PYPKGPREFIX}-imaging-1.1.3 @@ -22,6 +22,12 @@ do-configure: >${WRKSRC}/setup.py.tmp && ${MV} -f ${WRKSRC}/setup.py.tmp \ ${WRKSRC}/setup.py +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${PYINC}/PIL + (cd ${WRKSRC}/libImaging; ${INSTALL_DATA} \ + ImConfig.h ImPlatform.h Imaging.h \ + ${PREFIX}/${PYINC}/PIL ) + .include "../../lang/python/extension.mk" .include "../../graphics/jpeg/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/py-imaging/PLIST b/graphics/py-imaging/PLIST index d2c98dd4ab4..49abf48d60e 100644 --- a/graphics/py-imaging/PLIST +++ b/graphics/py-imaging/PLIST @@ -1,4 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2002/09/04 13:06:54 drochner Exp $ +@comment $NetBSD: PLIST,v 1.3 2002/10/24 20:44:51 drochner Exp $ +${PYINC}/PIL/ImConfig.h +${PYINC}/PIL/ImPlatform.h +${PYINC}/PIL/Imaging.h ${PYSITELIB}/PIL.pth ${PYSITELIB}/PIL/ArgImagePlugin.py ${PYSITELIB}/PIL/ArgImagePlugin.pyc diff --git a/graphics/py-imaging/buildlink2.mk b/graphics/py-imaging/buildlink2.mk index 01612a8431b..4e16ebfec22 100644 --- a/graphics/py-imaging/buildlink2.mk +++ b/graphics/py-imaging/buildlink2.mk @@ -1,7 +1,18 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:53 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2002/10/24 20:44:51 drochner Exp $ .include "../../lang/python/pyversion.mk" BUILDLINK_PACKAGES+= pyimaging BUILDLINK_DEPENDS.pyimaging?= ${PYPKGPREFIX}-imaging-* BUILDLINK_PKGSRCDIR.pyimaging?= ../../graphics/py-imaging + +EVAL_PREFIX+= BUILDLINK_PREFIX.pyimaging=${PYPKGPREFIX}-imaging +BUILDLINK_PREFIX.pyimaging_DEFAULT= ${LOCALBASE} + +BUILDLINK_FILES.pyimaging= ${PYINC}/PIL/ImConfig.h +BUILDLINK_FILES.pyimaging+= ${PYINC}/PIL/ImPlatform.h +BUILDLINK_FILES.pyimaging+= ${PYINC}/PIL/Imaging.h + +BUILDLINK_TARGETS+= pyimaging-buildlink + +pyimaging-buildlink: _BUILDLINK_USE |