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/wwl/Makefile | |
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/wwl/Makefile')
-rw-r--r-- | ham/wwl/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ham/wwl/Makefile b/ham/wwl/Makefile index 0ba05493691..bf1e9a95007 100644 --- a/ham/wwl/Makefile +++ b/ham/wwl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:59 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 15:51:59 jlam Exp $ # DISTNAME= wwl-1.2 @@ -9,12 +9,14 @@ MAINTAINER= dawszy@arhea.net #HOMEPAGE= not known COMMENT= Calculates distance (qrb) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/wwl NO_CONFIGURE= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wwl ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/wwl ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |