summaryrefslogtreecommitdiff
path: root/graphics/ppmtoxvpic
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
commit4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ppmtoxvpic
parenta6923789124411b85aaa9c9d97b6522350124999 (diff)
downloadpkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/ppmtoxvpic')
-rw-r--r--graphics/ppmtoxvpic/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/ppmtoxvpic/Makefile b/graphics/ppmtoxvpic/Makefile
index cafced81b00..69df149db08 100644
--- a/graphics/ppmtoxvpic/Makefile
+++ b/graphics/ppmtoxvpic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:51 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/04 15:39:10 jlam Exp $
#
PKGNAME= ppmtoxvpic-0.99.9
@@ -8,10 +8,11 @@ CATEGORIES= graphics
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Convert PPM image to preview pic readable by xv and gimp
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/utils/xvpicmaker ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/utils/ppmtoxvpic ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/utils/xvpicmaker ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/utils/ppmtoxvpic ${DESTDIR}${PREFIX}/bin
.include "../../x11/dfm/Makefile.common"