summaryrefslogtreecommitdiff
path: root/audio/mp3check
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/mp3check
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.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/mp3check')
-rw-r--r--audio/mp3check/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/mp3check/Makefile b/audio/mp3check/Makefile
index a89d795c092..090f74b0c27 100644
--- a/audio/mp3check/Makefile
+++ b/audio/mp3check/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/08/31 10:37:36 drochner Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $
DISTNAME= mp3check-0.8.3
CATEGORIES= audio
@@ -8,6 +8,8 @@ MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://jo.ath.cx/soft/mp3check/
COMMENT= Check MP3 files for consistency
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
@@ -16,7 +18,7 @@ BUILD_TARGET= mp3check
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mp3check ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/mp3check.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/mp3check ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/mp3check.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"