diff options
Diffstat (limited to 'sysutils/pv')
-rw-r--r-- | sysutils/pv/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index 6152d44728a..046c2a0645e 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/04/13 18:23:38 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:47 joerg Exp $ # DISTNAME= pv-0.9.6 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ivarch.com/programs/pv.shtml COMMENT= Monitor the progress of data through a pipeline +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= gmake msgfmt USE_PKGLOCALEDIR= yes @@ -27,9 +29,9 @@ post-install: ${GREP} "^$$dir/" ${PKGDIR}/PLIST | ${SED} "s|^$$dir/||" | \ while read file; do \ test ! -f "$$file" || \ - ${INSTALL_DATA} "$$file" ${PREFIX}/$$dir; \ + ${INSTALL_DATA} "$$file" ${DESTDIR}${PREFIX}/$$dir; \ done - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |