pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/freepats The package supports installation to DE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1f71fc1664e
branches:  trunk
changeset: 537955:b1f71fc1664e
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Mon Jan 21 21:07:29 2008 +0000

description:
The package supports installation to DESTDIR.

diffstat:

 audio/freepats/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r f1cd4cb0fee6 -r b1f71fc1664e audio/freepats/Makefile
--- a/audio/freepats/Makefile   Mon Jan 21 20:34:42 2008 +0000
+++ b/audio/freepats/Makefile   Mon Jan 21 21:07:29 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/02/22 19:01:13 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/01/21 21:07:29 heinz Exp $
 #
 
 DISTNAME=      freepats-20060219
@@ -10,9 +10,12 @@
 HOMEPAGE=      http://freepats.opensrc.org/
 COMMENT=       Free patches (audio samples) for TiMidity
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/freepats
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
+USE_LANGUAGES= # empty
 
 MESSAGE_SUBST+=        PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
 
@@ -23,6 +26,6 @@
        cat ${WRKSRC}/freepats.cfg >>${WRKSRC}/timidity.cfg
 
 do-install:
-       cd ${WRKDIR} && pax -rw -pp freepats ${PREFIX}/share
+       cd ${WRKDIR} && pax -rw -pp freepats ${DESTDIR}${PREFIX}/share
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index