summaryrefslogtreecommitdiff
path: root/audio/mad123
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-07 09:24:32 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-07 09:24:32 +0000
commit722fe0f6dcc0bffc1353458e4544ffccb623415f (patch)
tree268272070223c6045997e0757b5e48cbd1865d80 /audio/mad123
parent1603ba437ca5edaa7be24785245e348fc90944ca (diff)
downloadpkgsrc-722fe0f6dcc0bffc1353458e4544ffccb623415f.tar.gz
DESTDIR support.
Diffstat (limited to 'audio/mad123')
-rw-r--r--audio/mad123/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/mad123/Makefile b/audio/mad123/Makefile
index a19cded232a..89c94f91c3a 100644
--- a/audio/mad123/Makefile
+++ b/audio/mad123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/03/09 21:04:40 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2006/11/07 09:24:32 joerg Exp $
#
DISTNAME= mad123-0.8.5
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mctavish.co.uk/mad123/
COMMENT= Command-line MPEG audio player
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.mad123
@@ -38,8 +40,8 @@ MAKE_FLAGS+= USE_SUN=yes
INSTALLATION_DIRS= bin man/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123
- ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${DESTDIR}${PREFIX}/bin/mad123
+ ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${DESTDIR}${PREFIX}/man/man1/
.include "../../audio/taglib/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"