summaryrefslogtreecommitdiff
path: root/audio/mp3_check
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/mp3_check
parent6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff)
downloadpkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/mp3_check')
-rw-r--r--audio/mp3_check/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/mp3_check/Makefile b/audio/mp3_check/Makefile
index 6e2c24d5922..694665f6b34 100644
--- a/audio/mp3_check/Makefile
+++ b/audio/mp3_check/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:28:57 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $
#
DISTNAME= mp3_check-1.98
@@ -9,9 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mp3check.sourceforge.net/
COMMENT= mp3 file checker
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mp3_check ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mp3_check ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"