diff options
author | jlam <jlam> | 2008-03-04 15:51:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 15:51:59 +0000 |
commit | bc548ee16bdbb6e1669135736cb2580b3437a52e (patch) | |
tree | 5e5642b202870e46d72efc30dd061239fa9a1236 /ham/locator | |
parent | d6b91adeba5668a57b81a911d8eddf78028e44dc (diff) | |
download | pkgsrc-bc548ee16bdbb6e1669135736cb2580b3437a52e.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" |