summaryrefslogtreecommitdiff
path: root/audio/mpg123-esound
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/mpg123-esound
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/mpg123-esound')
-rw-r--r--audio/mpg123-esound/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/mpg123-esound/Makefile b/audio/mpg123-esound/Makefile
index aa6f6dc1863..00eae5e1b97 100644
--- a/audio/mpg123-esound/Makefile
+++ b/audio/mpg123-esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/01/07 09:13:47 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:33 jlam Exp $
PKGNAME= mpg123-esound-${MPG123_VERSION}
PKGREVISION= 7
@@ -6,6 +6,8 @@ COMMENT= Command-line player for mpeg layer 1, 2 and 3 audio with EsounD
MAINTAINER= pkgsrc-users@NetBSD.org
+PKG_DESTDIR_SUPPORT= user-destdir
+
TARGET_SUFFIX= -esd
PKG_OPTIONS_VAR=PKG_OPTIONS.mpg123-esound
@@ -14,8 +16,10 @@ PKG_OPTIONS_VAR=PKG_OPTIONS.mpg123-esound
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mpg123 ${PREFIX}/bin/mpg123-esound
- ${INSTALL_MAN} ${WRKSRC}/mpg123.1 ${PREFIX}/${PKGMANDIR}/man1/mpg123-esound.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/mpg123 \
+ ${DESTDIR}${PREFIX}/bin/mpg123-esound
+ ${INSTALL_MAN} ${WRKSRC}/mpg123.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mpg123-esound.1
.include "../../audio/esound/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"