summaryrefslogtreecommitdiff
path: root/graphics/resize_image/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:39:09 +0000
committerjlam <jlam>2008-03-04 15:39:09 +0000
commitb5f6311af8bceb6f6ffa993ab73f802a0907c782 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/resize_image/Makefile
parent6bbd21113d6839286420c35137f9be60efb9389e (diff)
downloadpkgsrc-b5f6311af8bceb6f6ffa993ab73f802a0907c782.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/resize_image/Makefile')
-rw-r--r--graphics/resize_image/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/resize_image/Makefile b/graphics/resize_image/Makefile
index f49bcd9f1ba..7c2918b22df 100644
--- a/graphics/resize_image/Makefile
+++ b/graphics/resize_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:29:51 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= resize_image-0.6
@@ -10,13 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lab.erasme.org/resize_image/
COMMENT= Fast image resizing tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
CFLAGS+= -DUNIX
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/resize_image ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/resize_image ${DESTDIR}${PREFIX}/bin
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"