diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /devel/ply | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/ply')
-rw-r--r-- | devel/ply/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/ply/Makefile b/devel/ply/Makefile index ee724622857..91b86025e37 100644 --- a/devel/ply/Makefile +++ b/devel/ply/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2008/05/26 02:13:17 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:28 joerg Exp $ DISTNAME= ply-1.5 PKGREVISION= 1 @@ -9,19 +9,20 @@ MAINTAINER= aw9k-nnk@asahi-net.or.jp HOMEPAGE= http://systems.cs.uchicago.edu/ply/ COMMENT= Python Lex-Yacc +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pax PYDISTUTILSPKG= yes DOCDIR= ${PREFIX}/share/doc/ply EGDIR= ${PREFIX}/share/examples/ply +INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}/example && pax -rwppm * ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/example && pax -rwppm * ${DESTDIR}${EGDIR} .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" |