summaryrefslogtreecommitdiff
path: root/ham/locator
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:51:59 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:51:59 +0000
commit24dcd8421ece6be2fed47243eb61883c3f02b697 (patch)
tree5e5642b202870e46d72efc30dd061239fa9a1236 /ham/locator
parent4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (diff)
downloadpkgsrc-24dcd8421ece6be2fed47243eb61883c3f02b697.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'ham/locator')
-rw-r--r--ham/locator/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ham/locator/Makefile b/ham/locator/Makefile
index 09c0f284abf..3c3b36a0d9c 100644
--- a/ham/locator/Makefile
+++ b/ham/locator/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/06/01 22:15:59 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 15:51:59 jlam Exp $
#
DISTNAME= locator-0.1
@@ -9,6 +9,8 @@ MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.stauss.purespace.de/
COMMENT= Longitudes, latitudes to HAM locator converter
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
@@ -16,6 +18,6 @@ INSTALLATION_DIRS= bin
USE_LANGUAGES= c++
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/locator ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/locator ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"