pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/zope3 Fix the post-install to include DESTDIR refe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daff8e1ee7b9
branches:  trunk
changeset: 568749:daff8e1ee7b9
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 19:31:55 2009 +0000

description:
Fix the post-install to include DESTDIR references - not sufficient in itself so PKG_DESTDIR_SUPPORT not turned on

diffstat:

 www/zope3/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r 3065283ec5af -r daff8e1ee7b9 www/zope3/Makefile
--- a/www/zope3/Makefile        Thu Dec 17 19:18:35 2009 +0000
+++ b/www/zope3/Makefile        Thu Dec 17 19:31:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/02/09 22:56:28 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/12/17 19:31:55 abs Exp $
 #
 
 DISTNAME=              Zope-3.3.1
@@ -55,13 +55,13 @@
        ${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f
 
 post-install:
-       ${LN} -s ${ZOPE3_DIR}/bin/mkzeoinstance ${PREFIX}/bin
-       ${LN} -s ${ZOPE3_DIR}/bin/mkzopeinstance ${PREFIX}/bin
-       ${LN} -s ${ZOPE3_DIR}/bin/zopetest ${PREFIX}/bin
+       ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzeoinstance ${DESTDIR}${PREFIX}/bin
+       ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/mkzopeinstance ${DESTDIR}${PREFIX}/bin
+       ${LN} -s ${DESTDIR}${ZOPE3_DIR}/bin/zopetest ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${ZOPE3_DOCDIR}
        cd ${WRKSRC}/Zope && pax -r -w LICENSES.txt ZopePublicLicense.txt \
-               ${ZOPE3_DOCDIR}
-       cd ${WRKSRC}/Zope/doc && pax -r -w *.txt ${ZOPE3_DOCDIR}
+               ${DESTDIR}${ZOPE3_DOCDIR}
+       cd ${WRKSRC}/Zope/doc && pax -r -w *.txt ${DESTDIR}${ZOPE3_DOCDIR}
 
 .include "Makefile.common"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index