pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/instiki user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16b41e4fbe41
branches:  trunk
changeset: 395245:16b41e4fbe41
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 19:10:37 2009 +0000

description:
user-destdir support

diffstat:

 www/instiki/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c2662fa9f6b0 -r 16b41e4fbe41 www/instiki/Makefile
--- a/www/instiki/Makefile      Tue Jul 07 19:10:05 2009 +0000
+++ b/www/instiki/Makefile      Tue Jul 07 19:10:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/06/19 15:24:04 taca Exp $
+# $NetBSD: Makefile,v 1.17 2009/07/07 19:10:37 joerg Exp $
 
 DISTNAME=      instiki-0.9.2
 PKGREVISION=   4
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://instiki.org/show/HomePage
 COMMENT=       Wiki clone that focuses on simple installation and running
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NO_BUILD=      yes
 
 RCD_SCRIPTS=   instiki
@@ -40,7 +42,7 @@
        ${FIND} ${DESTDIR}${PREFIX}/${INSTIKI_DIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
        ${FIND} ${DESTDIR}${PREFIX}/${INSTIKI_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
        ${INSTALL_SCRIPT} ${WRKSRC}/instiki ${DESTDIR}${PREFIX}/${INSTIKI_DIR}
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
 .include "../../lang/ruby/replace.mk"
 .include "../../lang/ruby/buildlink3.mk"



Home | Main Index | Thread Index | Old Index