From 2e3032b88bbebd373cfc65725706cabc50a154fd Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 3 Feb 2010 23:27:52 +0000 Subject: DESTDIR support --- graphics/exifprobe/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics/exifprobe') diff --git a/graphics/exifprobe/Makefile b/graphics/exifprobe/Makefile index c359fca7fb6..dd06d02cd74 100644 --- a/graphics/exifprobe/Makefile +++ b/graphics/exifprobe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:47 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/03 23:27:52 joerg Exp $ # DISTNAME= exifprobe-2.0.1 @@ -9,4 +9,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html COMMENT= EXIF data extractor +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \ + MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3