From f085fc0be29e9b309e2bf0863aaa5ee44ac0f012 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 1 Feb 2010 01:50:04 +0000 Subject: DESTDIR support --- audio/trm/Makefile | 6 +++++- audio/trm/distinfo | 4 ++-- audio/trm/patches/patch-ac | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) (limited to 'audio/trm') diff --git a/audio/trm/Makefile b/audio/trm/Makefile index ea04de478c1..4df16c170a2 100644 --- a/audio/trm/Makefile +++ b/audio/trm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/07/01 11:59:01 chris Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/01 01:50:04 joerg Exp $ # DISTNAME= trm-0.2.1 @@ -10,6 +10,8 @@ MAINTAINER= chris@NetBSD.org HOMEPAGE= http://www.musicbrainz.org/products/trmgen/download.html COMMENT= Acoustic signature generator +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= tunepimp-[0-9]* PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -20,6 +22,8 @@ USE_LANGUAGES= c c++ AUTOMAKE_REQD= 1.6.3 USE_TOOLS+= automake aclocal autoheader autoconf +INSTALLATION_DIRS+= bin + pre-configure: set -e; cd ${WRKSRC}; \ aclocal; autoheader; automake -a --foreign -i; autoconf diff --git a/audio/trm/distinfo b/audio/trm/distinfo index ecd14981c1c..fdacf34d2a1 100644 --- a/audio/trm/distinfo +++ b/audio/trm/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2007/07/01 11:59:01 chris Exp $ +$NetBSD: distinfo,v 1.4 2010/02/01 01:50:04 joerg Exp $ SHA1 (trm-0.2.1.tar.gz) = ea032c38ca83266026e0c10919749814282994e9 RMD160 (trm-0.2.1.tar.gz) = fb74d692920af62a7fcbbacfb32cd0e277e56126 Size (trm-0.2.1.tar.gz) = 131349 bytes SHA1 (patch-aa) = 152a7b8503ca887c641aeedfdd78f2520b88763b SHA1 (patch-ab) = 909c55da818a72b687c88c69a4e8d682f5a02df5 -SHA1 (patch-ac) = 980651e3f8b196575c09aa99cf33e9ce008a708f +SHA1 (patch-ac) = a189db1a7b5b85baa0cd813e10869146045303c7 diff --git a/audio/trm/patches/patch-ac b/audio/trm/patches/patch-ac index 5e82f0b1795..8b2a7121cfc 100644 --- a/audio/trm/patches/patch-ac +++ b/audio/trm/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.1 2007/07/01 11:59:01 chris Exp $ +$NetBSD: patch-ac,v 1.2 2010/02/01 01:50:04 joerg Exp $ --- ./Makefile.am.orig 2007-07-01 12:27:37.000000000 +0100 +++ ./Makefile.am @@ -7,4 +7,4 @@ $NetBSD: patch-ac,v 1.1 2007/07/01 11:59:01 chris Exp $ install: - $(INSTALL) -s -m 0655 trm $(prefix)/bin -+ $(INSTALL) -s -m 0755 trm $(prefix)/bin ++ $(INSTALL) -s -m 0755 trm ${DESTDIR}$(prefix)/bin -- cgit v1.2.3