summaryrefslogtreecommitdiff
path: root/net/bsddip
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
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bsddip')
-rw-r--r--net/bsddip/Makefile4
-rw-r--r--net/bsddip/files/Makefile6
2 files changed, 6 insertions, 4 deletions
diff --git a/net/bsddip/Makefile b/net/bsddip/Makefile
index dccb8f5d600..109eee82644 100644
--- a/net/bsddip/Makefile
+++ b/net/bsddip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/03/24 19:21:29 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:29 joerg Exp $
DISTNAME= bsddip-1.02
CATEGORIES= net
@@ -11,6 +11,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Dialup IP program
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Interix-*-* # no sl(4) device
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
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>