pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_alternatives fix DESTDIR issue



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37e890187f94
branches:  trunk
changeset: 543301:37e890187f94
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Jun 13 07:13:57 2008 +0000

description:
fix DESTDIR issue

diffstat:

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

diffs (30 lines):

diff -r 23e6af4918c3 -r 37e890187f94 pkgtools/pkg_alternatives/Makefile
--- a/pkgtools/pkg_alternatives/Makefile        Fri Jun 13 05:57:54 2008 +0000
+++ b/pkgtools/pkg_alternatives/Makefile        Fri Jun 13 07:13:57 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:42 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/13 07:13:57 abs Exp $
 #
 
 DISTNAME=      pkg_alternatives-1.4
@@ -55,12 +55,13 @@
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/pkg_alternatives.sh \
-               ${PREFIX}/sbin/pkg_alternatives
-       ${INSTALL_MAN} ${WRKSRC}/pkg_alternatives.8 ${PREFIX}/${PKGMANDIR}/man8/
-       ${INSTALL_DATA_DIR} ${DATADIR}
-       ${INSTALL_DATA} ${WRKSRC}/wrapper.sh ${DATADIR}/
-       ${INSTALL_DATA} ${WRKSRC}/wrapper.man ${DATADIR}/
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/filter.conf ${EGDIR}/
+               ${DESTDIR}${PREFIX}/sbin/pkg_alternatives
+       ${INSTALL_MAN} ${WRKSRC}/pkg_alternatives.8 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
+       ${INSTALL_DATA} ${WRKSRC}/wrapper.sh ${DESTDIR}${DATADIR}/
+       ${INSTALL_DATA} ${WRKSRC}/wrapper.man ${DESTDIR}${DATADIR}/
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/filter.conf ${DESTDIR}${EGDIR}/
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index