summaryrefslogtreecommitdiff
path: root/net/bsddip/files
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/bsddip/files
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bsddip/files')
-rw-r--r--net/bsddip/files/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bsddip/files/Makefile b/net/bsddip/files/Makefile
index be30284d15d..6a1eb2f0590 100644
--- a/net/bsddip/files/Makefile
+++ b/net/bsddip/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2006/11/09 09:09:33 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:29 joerg Exp $
PROG = dip
PROG1 = diplogin
@@ -30,7 +30,7 @@ SRCS += sleep.c
.endif
afterinstall:
- @if [ ! -d ${SMPDIR} ] ; then mkdir -p ${SMPDIR} ; fi
- ${BSD_INSTALL_DATA} ${SAMPLES} ${SMPDIR}
+ @if [ ! -d ${DESTDIR}${SMPDIR} ] ; then mkdir -p ${DESTDIR}${SMPDIR} ; fi
+ ${BSD_INSTALL_DATA} ${SAMPLES} ${DESTDIR}${SMPDIR}
.include <bsd.prog.mk>