summaryrefslogtreecommitdiff
path: root/net/pppd
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-03-20 12:35:28 +0000
committerobache <obache@pkgsrc.org>2011-03-20 12:35:28 +0000
commitee6ccd166feea2d9dbe24edbbfed93b724e297b0 (patch)
tree3a2636a61c2eb0344ac2de8398826d63be5462dc /net/pppd
parent206d01950ed67c78350b34676456685d24ceb241 (diff)
downloadpkgsrc-ee6ccd166feea2d9dbe24edbbfed93b724e297b0.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'net/pppd')
-rw-r--r--net/pppd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/pppd/Makefile b/net/pppd/Makefile
index 86f04107322..a4d7572c330 100644
--- a/net/pppd/Makefile
+++ b/net/pppd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/11/01 00:08:14 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2011/03/20 12:35:28 obache Exp $
DISTNAME= ppp-${PPPD_VERSION}
PKGNAME= ${DISTNAME:S/ppp/&d/}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ppp.samba.org/
COMMENT= PPP Daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
USE_TOOLS+= gmake
@@ -23,3 +25,5 @@ PPPD_VERSION= 2.4.3
PLIST_SUBST+= PPPD_VERSION=${PPPD_VERSION:Q}
.include "../../mk/bsd.pkg.mk"
+# put here to over default flag.
+INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}${PREFIX}