pkgsrc/multimedia/xine-v4l/Makefile
drochner 47a8569c96 reset PKGREV for xine-lib update, and use ${XINE_MOD_DIR_VER}
(as done in audio/xine-* by obache - thanks!)
2011-11-17 18:22:27 +00:00

29 lines
771 B
Makefile

# $NetBSD: Makefile,v 1.6 2011/11/17 18:22:27 drochner Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/xine-lib/Makefile.common"
PKGNAME= ${XINE_PKGNAME:S/lib/v4l/}
CATEGORIES= multimedia
COMMENT= The v4l input plugin for xine-lib
# NetBSD supports only v4l2, whose plugin is in ../xine-v4l2.
NOT_FOR_PLATFORM= NetBSD-*-*
DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/input
CONFIGURE_ARGS+= --without-x
INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/input && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_inp_v4l.la \
${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"