summaryrefslogtreecommitdiff
path: root/ham/gnuradio-examples
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/gnuradio-examples
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/gnuradio-examples')
-rw-r--r--ham/gnuradio-examples/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ham/gnuradio-examples/Makefile b/ham/gnuradio-examples/Makefile
index 2b62ac2cf91..0ca422a0ec4 100644
--- a/ham/gnuradio-examples/Makefile
+++ b/ham/gnuradio-examples/Makefile
@@ -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 @@ do-install:
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"