diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 14:44:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 14:44:05 +0000 |
commit | ab2a4f23cd2bf5d6d69d8ed4b6fb9fdf68c27273 (patch) | |
tree | a92e7f8eee54b9a8853da721181945e291a984d5 /geography/gpsutils | |
parent | f2bb17c6a7ae7e23b467e15afd71bb7ae7bb05b9 (diff) | |
download | pkgsrc-ab2a4f23cd2bf5d6d69d8ed4b6fb9fdf68c27273.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'geography/gpsutils')
-rw-r--r-- | geography/gpsutils/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/geography/gpsutils/Makefile b/geography/gpsutils/Makefile index 24cf9b69c18..fef97973f18 100644 --- a/geography/gpsutils/Makefile +++ b/geography/gpsutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/02/22 19:01:19 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= gpsutils-0.4.0 @@ -9,12 +9,14 @@ MAINTAINER= hdp@cs.nmsu.edu HOMEPAGE= http://wombat.ie/gps/ COMMENT= Capture and convert data from a Garmin GPS receiver +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/gpsutils-0.4.0/src INSTALLATION_DIRS= bin do-install: .for f in capture switchmode gbindiff - ${INSTALL_PROGRAM} ${WRKSRC}/${f:Q} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${f:Q} ${DESTDIR}${PREFIX}/bin .endfor .include "../../mk/bsd.pkg.mk" |