pkgsrc-wip/xine-xcb/Makefile
Thomas Klausner 1e7233bd3c 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:32 +00:00

29 lines
887 B
Makefile

# $NetBSD: Makefile,v 1.2 2008/04/24 12:32:32 thomasklausner Exp $
#
.include "../../multimedia/xine-lib/Makefile.common"
PKGNAME= ${XINE_PKGNAME:S/lib/xcb/}
CATEGORIES= multimedia
COMMENT= The XCB video output plugins for xine-lib
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/video_out
CONFIGURE_ARGS+= --with-xcb
CONFIGURE_ARGS+= --without-x
INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/video_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_vo_out_xcbshm.la ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
cd ${WRKSRC}/src/video_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_vo_out_xcbxv.la ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../wip/libxcb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"