diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/bsddip | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/bsddip')
-rw-r--r-- | net/bsddip/Makefile | 4 | ||||
-rw-r--r-- | net/bsddip/files/Makefile | 6 |
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> |