summaryrefslogtreecommitdiff
path: root/graphics/py-imaging
diff options
context:
space:
mode:
authortsarna <tsarna>1998-12-27 01:52:07 +0000
committertsarna <tsarna>1998-12-27 01:52:07 +0000
commit44fb0920699bce923ca608c48d086ee2078d48cf (patch)
tree212708bd7d46a6ae38699a6f716028e95eeda289 /graphics/py-imaging
parentb5069bd464769d1cc102c17a8bf928bbf3303ba4 (diff)
downloadpkgsrc-44fb0920699bce923ca608c48d086ee2078d48cf.tar.gz
Install PIL include files in ${PREFIX}/include/PIL, since it seems some
other packages may want them.
Diffstat (limited to 'graphics/py-imaging')
-rw-r--r--graphics/py-imaging/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile
index 9a5fe821cfb..e5857f14375 100644
--- a/graphics/py-imaging/Makefile
+++ b/graphics/py-imaging/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/12/26 23:42:01 tsarna Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/27 01:52:07 tsarna Exp $
DISTNAME= Imaging-0.3b2
PKGNAME= py-imaging-0.3b2
@@ -31,9 +31,13 @@ post-build:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/PIL/*.py ${WRKSRC}/PIL/*.py[co] \
${PREFIX}/lib/python1.5/site-packages
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/PIL
+ ${INSTALL_DATA} ${WRKSRC}/libImaging/*.h ${PREFIX}/include/PIL
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${WRKSRC}/PIL; find . -name \*.py\* -print \
| ${SED} -e 's,^./,lib/python1.5/site-packages/,g' \
>>${PLIST_SRC})
+ (cd ${PREFIX}; find include/PIL -type f -print >>${PLIST_SRC})
+ ${ECHO} "@dirrm include/PIL" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"