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 | e880f2e7f3b6ac6a6bb32004a156cba6fff89f79 (patch) | |
tree | 5e5642b202870e46d72efc30dd061239fa9a1236 /ham/gnuradio-examples | |
parent | 0921f3f35279f745c8e5b56be3c87c7dee3e5738 (diff) | |
download | pkgsrc-e880f2e7f3b6ac6a6bb32004a156cba6fff89f79.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/Makefile | 8 |
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" |