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
commit33be9d571979426caf74e11b4f9a9f2be70808b5 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/mp3_check
parent49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff)
downloadpkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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"