pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/icb Add full DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05d97f93178d
branches:  trunk
changeset: 539191:05d97f93178d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Mar 01 04:17:29 2008 +0000

description:
Add full DESTDIR support.

diffstat:

 chat/icb/Makefile |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r d38c94f3e4b8 -r 05d97f93178d chat/icb/Makefile
--- a/chat/icb/Makefile Sat Mar 01 03:58:10 2008 +0000
+++ b/chat/icb/Makefile Sat Mar 01 04:17:29 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/05/15 15:33:00 christos Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/01 04:17:29 jlam Exp $
 #
 
 # Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
@@ -14,6 +14,7 @@
 COMMENT=               Internet CB - a mostly-defunct chat client
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 NO_SRC_ON_FTP=         already in MASTER_SITE_LOCAL
 
@@ -35,12 +36,12 @@
        ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/config >${WRKSRC}/config
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/libdata/icb
-       ${INSTALL_DATA} ${WRKSRC}/contrib/bartender ${ICBLIBDIR}
-       ${INSTALL_DATA} ${WRKSRC}/contrib/confuse ${ICBLIBDIR}
-       ${INSTALL_DATA} ${WRKSRC}/contrib/echofile ${ICBLIBDIR}
-       ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${EGDIR}
+       ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/icb
+       ${INSTALL_DATA} ${WRKSRC}/contrib/bartender ${DESTDIR}${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/contrib/confuse ${DESTDIR}${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/contrib/echofile ${DESTDIR}${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${DESTDIR}${EGDIR}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index