summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/pkg_alternatives/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgtools/pkg_alternatives/Makefile b/pkgtools/pkg_alternatives/Makefile
index 6aac15784f5..fc5db042f2c 100644
--- a/pkgtools/pkg_alternatives/Makefile
+++ b/pkgtools/pkg_alternatives/Makefile
@@ -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-extract:
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"