pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/epydoc Fix destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/354bf93175f9
branches:  trunk
changeset: 556922:354bf93175f9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 06 17:02:14 2009 +0000

description:
Fix destdir.

diffstat:

 devel/epydoc/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 8d82255654e4 -r 354bf93175f9 devel/epydoc/Makefile
--- a/devel/epydoc/Makefile     Mon Apr 06 14:34:15 2009 +0000
+++ b/devel/epydoc/Makefile     Mon Apr 06 17:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/03/04 13:29:43 darcy Exp $
+# $NetBSD: Makefile,v 1.12 2009/04/06 17:02:14 joerg Exp $
 
 DISTNAME=      epydoc-2.1
 PKGREVISION=   4
@@ -15,11 +15,11 @@
 
 PYDISTUTILSPKG=     yes
 
-EPYDOCDIR=     ${PREFIX}/share/doc/epydoc
+INSTALLATION_DIRS=     share/doc/epydoc
 
 post-install:
-       ${INSTALL_DATA_DIR} ${EPYDOCDIR}
-       cd ${WRKSRC}/doc && pax -rw -pp -pm . ${EPYDOCDIR}
+       cd ${WRKSRC}/doc && \
+           pax -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/epydoc
 
 .include "../../lang/python/extension.mk"
 .include "../../x11/py-Tk/buildlink3.mk"



Home | Main Index | Thread Index | Old Index