Add user-destdir installation support.

This commit is contained in:
obache 2011-03-20 12:35:28 +00:00
parent d9152925bb
commit 2bd35d61b3

View file

@ -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}