pkgsrc/audio/xine-esound/Makefile
wiz e9e122fdb2 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.
2008-04-24 12:32:22 +00:00

27 lines
738 B
Makefile

# $NetBSD: Makefile,v 1.23 2008/04/24 12:32:22 wiz Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/xine-lib/Makefile.common"
PKGNAME= ${XINE_PKGNAME:S/lib/esound/}
CATEGORIES= audio
COMMENT= The esound audio output plugin for xine-lib
DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/audio_out
CONFIGURE_ARGS+= --without-x
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/${XINE_MOD_DIR_VER}
.include "../../audio/esound/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"