diff options
author | tsarna <tsarna@pkgsrc.org> | 1998-12-27 01:52:07 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 1998-12-27 01:52:07 +0000 |
commit | 4d454fd5460055a579cefa4487b1c0cf6c1755a6 (patch) | |
tree | 212708bd7d46a6ae38699a6f716028e95eeda289 /graphics/py-imaging | |
parent | f7d6434ed1feb57fe2d048ef30fe817cf6146680 (diff) | |
download | pkgsrc-4d454fd5460055a579cefa4487b1c0cf6c1755a6.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/Makefile | 6 |
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" |