pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mserv +PKG_DESTDIR_SUPPORT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/257d9b027560
branches:  trunk
changeset: 393265:257d9b027560
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue May 19 06:54:51 2009 +0000

description:
+PKG_DESTDIR_SUPPORT

diffstat:

 audio/mserv/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 3fec4b86293d -r 257d9b027560 audio/mserv/Makefile
--- a/audio/mserv/Makefile      Tue May 19 06:51:42 2009 +0000
+++ b/audio/mserv/Makefile      Tue May 19 06:54:51 2009 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index