diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | a459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /net/pchar | |
parent | 7854cf84ecbcc45c6b18092fadae7896937e468a (diff) | |
download | pkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/pchar')
-rw-r--r-- | net/pchar/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile index b1716867618..8f61c2ed468 100644 --- a/net/pchar/Makefile +++ b/net/pchar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2008/01/18 05:08:48 tnn Exp $ +# $NetBSD: Makefile,v 1.34 2008/06/12 02:14:40 joerg Exp $ DISTNAME= pchar-1.5 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= soren@NetBSD.org HOMEPAGE= http://www.kitchenlab.org/www/bmah/Software/pchar/ COMMENT= Tool for measuring Internet path characteristics +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ @@ -30,8 +32,8 @@ LIBS+= -lsnmp -lcrypto -ldes INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/pchar ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/pchar.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |