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 | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/cdpd | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/cdpd')
-rw-r--r-- | net/cdpd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/cdpd/Makefile b/net/cdpd/Makefile index 7e1ef5676cc..38fcf63ca8d 100644 --- a/net/cdpd/Makefile +++ b/net/cdpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/02/18 18:57:33 adrianp Exp $ +# $NetBSD: Makefile,v 1.15 2008/06/20 01:09:30 joerg Exp $ # DISTNAME= cdpd-1.0.2 @@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/ MAINTAINER= explorer@NetBSD.org COMMENT= Simple daemon to send Cisco Discovery Protocol packets +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin @@ -20,8 +22,8 @@ SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g" SUBST_MESSAGE.conf= Fixing configuration script. do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cdpd ${PREFIX}/sbin/cdpd - ${INSTALL_DATA} ${WRKSRC}/cdpd.8 ${PREFIX}/${PKGMANDIR}/man8/cdpd.8 + ${INSTALL_PROGRAM} ${WRKSRC}/cdpd ${DESTDIR}${PREFIX}/sbin/cdpd + ${INSTALL_DATA} ${WRKSRC}/cdpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/cdpd.8 .include "../../devel/libnet10/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |