diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/mpg123-esound | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-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/mpg123-esound')
-rw-r--r-- | audio/mpg123-esound/Makefile | 10 |
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" |