summaryrefslogtreecommitdiff
path: root/geography/gpsutils
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 14:44:05 +0000
committerjlam <jlam>2008-03-04 14:44:05 +0000
commit1f0baa5fe914d8edfd25c9d669b8292969b33829 (patch)
treea92e7f8eee54b9a8853da721181945e291a984d5 /geography/gpsutils
parent8941c4de576f8b78e261f5bc915d4bad2dfff6a7 (diff)
downloadpkgsrc-1f0baa5fe914d8edfd25c9d669b8292969b33829.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/Makefile6
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"