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/yaesu/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/yaesu/Makefile')
-rw-r--r-- | ham/yaesu/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ham/yaesu/Makefile b/ham/yaesu/Makefile index ebf73d8a44c..055ddf98c3c 100644 --- a/ham/yaesu/Makefile +++ b/ham/yaesu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/01/14 11:45:46 wulf Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 15:51:59 jlam Exp $ # DISTNAME= yaesu-0.13 @@ -9,13 +9,16 @@ MAINTAINER= dawszy@arhea.net #HOMEPAGE= not known COMMENT= Control interface for Yaesu FT-890 HF transceiver +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/yaesu NO_CONFIGURE= yes INSTALLATION_DIRS= bin share/doc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/yaesu ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/yaesu.README + ${INSTALL_PROGRAM} ${WRKSRC}/yaesu ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/yaesu.README .include "../../mk/bsd.pkg.mk" |