summaryrefslogtreecommitdiff
path: root/audio/mserv
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-05-19 06:54:51 +0000
committerabs <abs@pkgsrc.org>2009-05-19 06:54:51 +0000
commit8b1a11b4c7ee592ea1883a6435a957ef7b81117b (patch)
treefb4e14ac26787f23a13716581858d37b20db5e30 /audio/mserv
parent2c2450ec2b8df9bed2e6d7e924943653d96c6e05 (diff)
downloadpkgsrc-8b1a11b4c7ee592ea1883a6435a957ef7b81117b.tar.gz
+PKG_DESTDIR_SUPPORT
Diffstat (limited to 'audio/mserv')
-rw-r--r--audio/mserv/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/mserv/Makefile b/audio/mserv/Makefile
index 882e6caf28b..f6ac95f5a12 100644
--- a/audio/mserv/Makefile
+++ b/audio/mserv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/05/14 21:10:28 minskim Exp $
+# $NetBSD: Makefile,v 1.33 2009/05/19 06:54:51 abs Exp $
#
DISTNAME= mserv-0.35
@@ -26,17 +26,18 @@ LDFLAGS.SunOS+= -lnsl -lsocket
post-configure:
${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS+= share/doc/mserv share/mserv/webclient
+
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mserv
+ ${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} \
${WRKSRC}/INSTALL \
${WRKSRC}/LICENSE \
- ${PREFIX}/share/doc/mserv
- ${INSTALL_DATA_DIR} ${PREFIX}/share/mserv/webclient
+ ${DESTDIR}${PREFIX}/share/doc/mserv
${INSTALL_DATA} \
${WRKSRC}/webclient/* \
- ${PREFIX}/share/mserv/webclient
+ ${DESTDIR}${PREFIX}/share/mserv/webclient
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"