summaryrefslogtreecommitdiff
path: root/audio/mserv
diff options
context:
space:
mode:
authorabs <abs>2009-05-19 06:54:51 +0000
committerabs <abs>2009-05-19 06:54:51 +0000
commit61c5dc1fff8a311db090e10aca4674bfd0408ba0 (patch)
treefb4e14ac26787f23a13716581858d37b20db5e30 /audio/mserv
parent66d1184499df05bfe92fd4e92c821cbdc776f7a6 (diff)
downloadpkgsrc-61c5dc1fff8a311db090e10aca4674bfd0408ba0.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"