summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 14:12:30 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 14:12:30 +0000
commit87d48087110ef3bc1182650ac24ea3ae5c700027 (patch)
tree0e23d071b002495d1bb0818a6677830df1b2aef6 /audio
parent942dc3b62a7abdb6bdcdc0dc345adce76efaad1d (diff)
downloadpkgsrc-87d48087110ef3bc1182650ac24ea3ae5c700027.tar.gz
user-destdir support
Diffstat (limited to 'audio')
-rw-r--r--audio/xmradio/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/xmradio/Makefile b/audio/xmradio/Makefile
index 60ef437ff96..692a276700f 100644
--- a/audio/xmradio/Makefile
+++ b/audio/xmradio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/12/15 20:32:53 joerg Exp $
+# $NetBSD: Makefile,v 1.28 2009/07/08 14:15:07 joerg Exp $
DISTNAME= xmradio-1.2
PKGREVISION= 3
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://core.de/~coto/xmradio.html
COMMENT= Radio application for Brooktree 848 compatible TV cards
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= sox>=12.16:../../audio/sox
ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-i386 \
@@ -17,9 +19,10 @@ ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-i386 \
USE_IMAKE= YES
+INSTALLATION_DIRS= share/doc/xmradio
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmradio
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmradio
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xmradio
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"