summaryrefslogtreecommitdiff
path: root/audio/xmradio
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 14:12:30 +0000
committerjoerg <joerg>2009-07-08 14:12:30 +0000
commit5625ce90d67b31ff64881e0c86893b7a68febc66 (patch)
tree0e23d071b002495d1bb0818a6677830df1b2aef6 /audio/xmradio
parentc5183957e7870ba8f66cf4e074ea6ef26c177cc3 (diff)
downloadpkgsrc-5625ce90d67b31ff64881e0c86893b7a68febc66.tar.gz
user-destdir support
Diffstat (limited to 'audio/xmradio')
-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"