pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mbone/rtptools Support staged installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac6785f1d642
branches:  trunk
changeset: 568451:ac6785f1d642
user:      asau <asau%pkgsrc.org@localhost>
date:      Sun Dec 13 17:57:25 2009 +0000

description:
Support staged installation.

diffstat:

 mbone/rtptools/Makefile |  16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r be2d2beb87d1 -r ac6785f1d642 mbone/rtptools/Makefile
--- a/mbone/rtptools/Makefile   Sun Dec 13 17:42:36 2009 +0000
+++ b/mbone/rtptools/Makefile   Sun Dec 13 17:57:25 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:30:09 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/13 17:57:25 asau Exp $
 #
 
 DISTNAME=              rtptools-1.18
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://www.cs.columbia.edu/IRT/software/rtptools/
 COMMENT=               Tools for processing RTP data
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 CPPFLAGS+=             -Dunix
 
@@ -16,11 +18,11 @@
 EGDIR=         ${PREFIX}/share/examples/rtptools
 
 post-install:
-       ${INSTALL_DATA_DIR} ${HTMLDIR}
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/rtptools.html ${HTMLDIR}
-       ${INSTALL_DATA} ${WRKSRC}/ChangeLog.html ${HTMLDIR}
-       ${INSTALL_SCRIPT} ${WRKSRC}/multidump ${EGDIR}
-       ${INSTALL_SCRIPT} ${WRKSRC}/multiplay ${EGDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/rtptools.html ${DESTDIR}${HTMLDIR}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLog.html ${DESTDIR}${HTMLDIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/multidump ${DESTDIR}${EGDIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/multiplay ${DESTDIR}${EGDIR}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index