diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:51:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:51:59 +0000 |
commit | 24dcd8421ece6be2fed47243eb61883c3f02b697 (patch) | |
tree | 5e5642b202870e46d72efc30dd061239fa9a1236 /ham/locator | |
parent | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (diff) | |
download | pkgsrc-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/Makefile | 6 |
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" |