summaryrefslogtreecommitdiff
path: root/audio/xmp
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-07 21:10:47 +0000
committerjoerg <joerg>2009-02-07 21:10:47 +0000
commit14929dc0357bb7935f08308c0c565313f7c7df8a (patch)
tree6ae6d2f597dc5bba1ca3fe7ad9ec5695f8475881 /audio/xmp
parent44330e849da81c606c7cec0866ee7090b21eddd9 (diff)
downloadpkgsrc-14929dc0357bb7935f08308c0c565313f7c7df8a.tar.gz
DESTDIR support. Needs pkg-config.
Diffstat (limited to 'audio/xmp')
-rw-r--r--audio/xmp/Makefile13
-rw-r--r--audio/xmp/distinfo4
-rw-r--r--audio/xmp/patches/patch-ac6
3 files changed, 13 insertions, 10 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 9e9f6d60be4..85ddf956155 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/01/09 20:43:53 shattered Exp $
+# $NetBSD: Makefile,v 1.22 2009/02/07 21:10:47 joerg Exp $
DISTNAME= xmp-2.5.1
CATEGORIES= audio
@@ -8,18 +8,24 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://xmp.sourceforge.net/
COMMENT= Player for many different Amiga and PC module formats
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-alsa \
--disable-oss \
--disable-xmms \
--sysconfdir=${PKG_SYSCONFDIR}
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pkg-config
EGDIR= ${PREFIX}/share/examples/xmp
CONF_FILES= ${EGDIR}/xmp-modules.conf ${PKG_SYSCONFDIR}/xmp-modules.conf
CONF_FILES+= ${EGDIR}/xmp.conf ${PKG_SYSCONFDIR}/xmp.conf
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
+
+INSTALL_MAKE_FLAGS+= INSTALL=${INSTALL}
+
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
@@ -28,7 +34,4 @@ CONF_FILES+= ${EGDIR}/xmp.conf ${PKG_SYSCONFDIR}/xmp.conf
.include "../../audio/esound/buildlink3.mk"
.endif
-pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmp/distinfo b/audio/xmp/distinfo
index 9321ddd6b13..0888394b412 100644
--- a/audio/xmp/distinfo
+++ b/audio/xmp/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2009/01/09 20:43:53 shattered Exp $
+$NetBSD: distinfo,v 1.11 2009/02/07 21:10:48 joerg Exp $
SHA1 (xmp-2.5.1.tar.gz) = 20ce22f453e49adb590b3cbd3ae3e812eb7de4ee
RMD160 (xmp-2.5.1.tar.gz) = 5fcd7f62b34424e5848806244485d5960a068cc8
Size (xmp-2.5.1.tar.gz) = 772595 bytes
-SHA1 (patch-ac) = e6db4ff056954cf25030160cf12c30e45b24fda1
+SHA1 (patch-ac) = 5831f36e9b13c9e658c7e204b3fdb33f08e560d0
SHA1 (patch-ag) = 813d3c73334cb025b2900d398fb8be8ec2b42d22
SHA1 (patch-ah) = 0807af0d328f578cacf121d12370cd59841d9924
SHA1 (patch-al) = d909468c772325acf3d5e16daeaf7e62a36c7582
diff --git a/audio/xmp/patches/patch-ac b/audio/xmp/patches/patch-ac
index 5e44161719d..60724dade43 100644
--- a/audio/xmp/patches/patch-ac
+++ b/audio/xmp/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.4 2009/01/09 20:43:53 shattered Exp $
+$NetBSD: patch-ac,v 1.5 2009/02/07 21:10:48 joerg Exp $
--- etc/Makefile.orig 2007-10-23 11:28:30.000000000 +0000
+++ etc/Makefile
@@ -9,6 +9,6 @@ $NetBSD: patch-ac,v 1.4 2009/01/09 20:43:53 shattered Exp $
- @echo Installing xmp.conf and xmp-modules.conf in $(SYSCONFDIR)...
- @[ -d $(DESTDIR)$(SYSCONFDIR) ] || mkdir -p $(DESTDIR)$(SYSCONFDIR)
- $(INSTALL) -m644 xmp.conf xmp-modules.conf $(DESTDIR)$(SYSCONFDIR)/
-+ @echo Installing xmp.conf and xmp-modules.conf in $(datarootdir)/examples/xmp...
-+ $(INSTALL) -m644 xmp.conf xmp-modules.conf $(datarootdir)/examples/xmp
++ @echo Installing xmp.conf and xmp-modules.conf in ${DESTDIR}$(datarootdir)/examples/xmp...
++ $(INSTALL) -m644 xmp.conf xmp-modules.conf ${DESTDIR}$(datarootdir)/examples/xmp