summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-01 05:03:25 +0000
committerjlam <jlam@pkgsrc.org>2008-03-01 05:03:25 +0000
commitac288c995b92d5a1f9a0479391a5bba63bd072fd (patch)
tree75b6f6910bc939a2962e000bfbb943a05f8afd47 /comms
parentb20a1ef040eb9384455f17bc64ee69ae2f588478 (diff)
downloadpkgsrc-ac288c995b92d5a1f9a0479391a5bba63bd072fd.tar.gz
Add full DESTDIR support.
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index d28b83b2f65..7f796c90db3 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2008/01/18 05:06:26 tnn Exp $
+# $NetBSD: Makefile,v 1.71 2008/03/01 05:03:25 jlam Exp $
DISTNAME= cku211
PKGNAME= kermit-8.0.211
@@ -45,19 +45,19 @@ PLIST_SUBST+= HAVE_MANPAGE="@comment "
INSTALLATION_DIRS= bin share/doc/kermit
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/kermit
+ ${INSTALL_PROGRAM} ${WRKSRC}/wermit ${DESTDIR}${PREFIX}/bin/kermit
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/kermit
set -e; \
for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
case $$OPT in \
catinstall) \
nroff -man ${WRKSRC}/ckuker.nr > ${WRKSRC}/kermit.0; \
- ${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/cat1; \
- ${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/${PKGMANDIR}/cat1/kermit.0; \
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1; \
+ ${INSTALL_MAN} ${WRKSRC}/kermit.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/kermit.0; \
;; \
maninstall) \
- ${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1; \
- ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/${PKGMANDIR}/man1/kermit.1; \
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
+ ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/kermit.1; \
;; \
esac; \
done