Add DESTDIR support

This commit is contained in:
joerg 2010-06-25 20:21:47 +00:00
parent 7c4948f2dd
commit aff251d93c
3 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2009/05/20 23:29:21 zafer Exp $
# $NetBSD: Makefile,v 1.8 2010/06/25 20:21:47 joerg Exp $
#
DISTNAME= xmms-wma-1.0.5
@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mcmcc.bat.ru/xmms-wma/
COMMENT= WMA input plugin for XMMS
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= *-*-i386 # Doesn't seem to be very portable...
USE_TOOLS+= gmake

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.5 2008/01/06 18:21:37 rillig Exp $
$NetBSD: distinfo,v 1.6 2010/06/25 20:21:47 joerg Exp $
SHA1 (xmms-wma-1.0.5.tar.bz2) = 168a97e540601c7ad939a7d06ab3c23eb73ebdb9
RMD160 (xmms-wma-1.0.5.tar.bz2) = 7c2418fce81f41bffe699e676b62fbb1ca24456a
Size (xmms-wma-1.0.5.tar.bz2) = 146687 bytes
SHA1 (patch-aa) = 817d7969c904d46cced1fbd93c753fa3d84f461a
SHA1 (patch-ab) = 6a7daf57e68ca1bde8c9f9fb14af25843f5ba34e
SHA1 (patch-ad) = aee4ea1a154f71b2d4d1672bd8226ed76e0f909a
SHA1 (patch-ad) = 8796e214e84d881c3a206f332c12496a84204194

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ad,v 1.1.1.1 2005/03/01 01:17:01 xtraeme Exp $
$NetBSD: patch-ad,v 1.2 2010/06/25 20:21:47 joerg Exp $
--- Makefile.orig 2005-03-01 02:09:43.000000000 +0100
+++ Makefile 2005-03-01 02:10:42.000000000 +0100
@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2005/03/01 01:17:01 xtraeme Exp $
.PHONY: all install install-home uninstall uninstall-home clean
-INSTALL_DIR := /usr/lib/xmms/Input
+INSTALL_DIR := `xmms-config --input-plugin-dir`
+INSTALL_DIR := ${DESTDIR}`xmms-config --input-plugin-dir`
INSTALL_DIR_HOME := ~/.xmms/Plugins/Input
export PLUGIN_FILE := libwma.so