summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2008-04-24 12:32:22 +0000
committerwiz <wiz>2008-04-24 12:32:22 +0000
commit373024ba2b6dcd1e1d706b4f82557d1c6a832a5d (patch)
treea6e77578402d046963c639f14ff723685d02f5b3 /audio
parentbb1fdfe3fa8a30c205ddb92aafe9f78c94c8d5c9 (diff)
downloadpkgsrc-373024ba2b6dcd1e1d706b4f82557d1c6a832a5d.tar.gz
Add a variable XINE_MOD_DIR_VER that contains the subdirectory name
for the modules. Use it in xine-lib and its dependencies. Fixes a bug in xine-esound and installation of wip/xine-xcb.
Diffstat (limited to 'audio')
-rw-r--r--audio/xine-arts/Makefile6
-rw-r--r--audio/xine-esound/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/audio/xine-arts/Makefile b/audio/xine-arts/Makefile
index 180ae9b0a9c..9a780e1669b 100644
--- a/audio/xine-arts/Makefile
+++ b/audio/xine-arts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/04/15 19:25:28 drochner Exp $
+# $NetBSD: Makefile,v 1.30 2008/04/24 12:32:22 wiz Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
@@ -15,13 +15,13 @@ BUILD_DIRS= ${WRKSRC}/src/audio_out
CONFIGURE_ARGS+= --with-arts
CONFIGURE_ARGS+= --without-x
-INSTALLATION_DIRS= lib/xine/plugins/1.21
+INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/audio_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_ao_out_arts.la \
- ${DESTDIR}${PREFIX}/lib/xine/plugins/1.21
+ ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../audio/arts/buildlink3.mk"
.include "../../audio/libao/buildlink3.mk"
diff --git a/audio/xine-esound/Makefile b/audio/xine-esound/Makefile
index ecae5928f23..4b2dbefe6a9 100644
--- a/audio/xine-esound/Makefile
+++ b/audio/xine-esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/04/15 19:25:28 drochner Exp $
+# $NetBSD: Makefile,v 1.23 2008/04/24 12:32:22 wiz Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
@@ -14,13 +14,13 @@ DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/audio_out
CONFIGURE_ARGS+= --without-x
-INSTALLATION_DIRS= lib/xine/plugins/1.20
+INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/audio_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_ao_out_esd.la \
- ${DESTDIR}${PREFIX}/lib/xine/plugins/1.21/
+ ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../audio/esound/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"