pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham Mechanical changes to add DESTDIR support to packa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/755870d78ff0
branches: trunk
changeset: 539390:755870d78ff0
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Mar 04 15:51:59 2008 +0000
description:
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
diffstat:
ham/cwtext/Makefile | 10 ++++++----
ham/fl_logbook/Makefile | 6 ++++--
ham/gnuradio-examples/Makefile | 8 +++++---
ham/locator/Makefile | 6 ++++--
ham/wwl/Makefile | 6 ++++--
ham/yaesu/Makefile | 9 ++++++---
6 files changed, 29 insertions(+), 16 deletions(-)
diffs (167 lines):
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/cwtext/Makefile
--- a/ham/cwtext/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/cwtext/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/09/09 02:43:09 obache Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/04 15:51:59 jlam Exp $
DISTNAME= cwtext-0.95
PKGREVISION= 1
@@ -9,6 +9,8 @@
HOMEPAGE= http://cwtext.sourceforge.net/
COMMENT= Morse Code Generator
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= makefile
USE_TOOLS+= gmake
BUILD_TARGET= ALL
@@ -23,9 +25,9 @@
${MV} ${WRKSRC}/${MAKE_FILE}.done ${WRKSRC}/${MAKE_FILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/cwmm ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cwmm ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/fl_logbook/Makefile
--- a/ham/fl_logbook/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/fl_logbook/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 15:51:59 jlam Exp $
#
DISTNAME= fl_logbook.121.src
@@ -10,6 +10,8 @@
HOMEPAGE= http://www.w1hkj.com/
COMMENT= FLTK-based amateur radio log book
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
USE_LANGUAGES= c++
@@ -20,7 +22,7 @@
BUILD_TARGET= #defined in dist Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/Release/fl_logbook ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/Release/fl_logbook ${DESTDIR}${PREFIX}/bin
.include "../../x11/fltk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/gnuradio-examples/Makefile
--- a/ham/gnuradio-examples/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/gnuradio-examples/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2007/08/08 03:10:17 wulf Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/04 15:51:59 jlam Exp $
PKGNAME= gnuradio-examples-${VERSION}
COMMENT= GUI framework for GNU Radio based on wxPython
COMMENT= Examples for GNU Radio
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/gnuradio/Makefile.common"
CONFIGURE_ARGS+=--enable-gnuradio-examples
@@ -94,11 +96,11 @@
cd ${WRKSRC}/gnuradio-examples/python; \
for d in `find * -type d`; \
do \
- ${INSTALL_SCRIPT_DIR} ${EXAMPLE_DIR}/"$$d"; \
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${EXAMPLE_DIR}/"$$d"; \
done; \
for f in `find . \! -name "Makefile*" -type f`; \
do \
- ${INSTALL_SCRIPT} "$$f" ${EXAMPLE_DIR}/"$$f"; \
+ ${INSTALL_SCRIPT} "$$f" ${DESTDIR}${EXAMPLE_DIR}/"$$f"; \
done
.include "../../ham/gnuradio-wxgui/buildlink3.mk"
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/locator/Makefile
--- a/ham/locator/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/locator/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -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 @@
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 @@
USE_LANGUAGES= c++
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/locator ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/locator ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/wwl/Makefile
--- a/ham/wwl/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/wwl/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -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 @@
#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"
diff -r 9dd286f7f9c7 -r 755870d78ff0 ham/yaesu/Makefile
--- a/ham/yaesu/Makefile Tue Mar 04 15:39:09 2008 +0000
+++ b/ham/yaesu/Makefile Tue Mar 04 15:51:59 2008 +0000
@@ -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 @@
#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"
Home |
Main Index |
Thread Index |
Old Index