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/xine-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/xine-esound')
-rw-r--r-- | audio/xine-esound/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/xine-esound/Makefile b/audio/xine-esound/Makefile index cc2714432ce..c6ad54ae78a 100644 --- a/audio/xine-esound/Makefile +++ b/audio/xine-esound/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2006/12/08 18:48:52 drochner Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:34 jlam Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../multimedia/xine-lib/Makefile.common" PKGNAME= ${XINE_PKGNAME:S/lib/esound/} @@ -17,7 +19,8 @@ INSTALLATION_DIRS= lib/xine/plugins/${XINE_LIB_VER} do-install: cd ${WRKSRC}/src/audio_out && \ ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - xineplug_ao_out_esd.la ${PREFIX}/lib/xine/plugins/${XINE_LIB_VER}/ + xineplug_ao_out_esd.la \ + ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_LIB_VER}/ .include "../../audio/esound/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" |