diff options
author | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
commit | d6b91adeba5668a57b81a911d8eddf78028e44dc (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ppmtoxvpic | |
parent | 6dad5f5dc8c5cabc58dcc1203ff3621136e16ddf (diff) | |
download | pkgsrc-d6b91adeba5668a57b81a911d8eddf78028e44dc.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/Makefile | 7 |
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" |