summaryrefslogtreecommitdiff
path: root/ham/wwl/Makefile
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/wwl/Makefile
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/wwl/Makefile')
-rw-r--r--ham/wwl/Makefile6
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"