pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/emixer user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22e6eb67c5fc
branches:  trunk
changeset: 395533:22e6eb67c5fc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 15:52:33 2009 +0000

description:
user-destdir support

diffstat:

 audio/emixer/Makefile       |  4 +++-
 audio/emixer/files/Makefile |  6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 6e629b276c68 -r 22e6eb67c5fc audio/emixer/Makefile
--- a/audio/emixer/Makefile     Wed Jul 08 15:40:54 2009 +0000
+++ b/audio/emixer/Makefile     Wed Jul 08 15:52:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/05/05 19:01:03 zafer Exp $
+# $NetBSD: Makefile,v 1.27 2009/07/08 15:52:33 joerg Exp $
 #
 
 DISTNAME=      emixer-0.05.5
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://toaster.muc-t-systems.com/~emixer/
 COMMENT=       mpg123-frontend that can mix two mp3 streams, and fade between them
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      mpg123{,-esound,-nas}-0.59*:../../audio/mpg123
 
 NO_CONFIGURE=  YES
diff -r 6e629b276c68 -r 22e6eb67c5fc audio/emixer/files/Makefile
--- a/audio/emixer/files/Makefile       Wed Jul 08 15:40:54 2009 +0000
+++ b/audio/emixer/files/Makefile       Wed Jul 08 15:52:33 2009 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 2004/05/03 17:32:36 minskim Exp $
+#      $NetBSD: Makefile,v 1.7 2009/07/08 15:52:33 joerg Exp $
 
 all: emixer
 emixer: main.o
        ${CC} ${LDFLAGS} -o ${.TARGET}  ${.ALLSRC} -lncurses ${LIBOSSAUDIO}
 
 install:
-       ${BSD_INSTALL_PROGRAM}  emixer  ${PREFIX}/bin/emixer
-       ${BSD_INSTALL_DATA}     readme  ${PREFIX}/share/doc/emixer.readme
+       ${BSD_INSTALL_PROGRAM}  emixer  ${DESTDIR}${PREFIX}/bin/emixer
+       ${BSD_INSTALL_DATA}     readme  ${DESTDIR}${PREFIX}/share/doc/emixer.readme



Home | Main Index | Thread Index | Old Index