Date: Mon, 13 Feb 2017 09:01:32 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433980 - head/multimedia/vdr-plugin-softhddevice Message-ID: <201702130901.v1D91WcM049269@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Feb 13 09:01:32 2017 New Revision: 433980 URL: https://svnweb.freebsd.org/changeset/ports/433980 Log: - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers Modified: head/multimedia/vdr-plugin-softhddevice/Makefile Modified: head/multimedia/vdr-plugin-softhddevice/Makefile ============================================================================== --- head/multimedia/vdr-plugin-softhddevice/Makefile Mon Feb 13 07:38:10 2017 (r433979) +++ head/multimedia/vdr-plugin-softhddevice/Makefile Mon Feb 13 09:01:32 2017 (r433980) @@ -11,36 +11,37 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DI MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - softhddevice plugin -LIB_DEPENDS+= libavcodec0.so:multimedia/ffmpeg0 \ +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/AGPL-3.0.txt + +LIB_DEPENDS= libavcodec0.so:multimedia/ffmpeg0 \ libvdpau.so:multimedia/libvdpau \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libasound.so:audio/alsa-lib USES= compiler:features pkgconfig tar:tgz -USE_XORG+= xv x11 xcb xinerama -USE_GL+= gl glu +USE_XORG= xv x11 xcb xinerama +USE_GL= gl glu PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= AGPL-3.0.txt ChangeLog README.txt CONFIG+= -DLOCALBASE=\\\"${LOCALBASE}\\\" CONFIG+= -DUSE_VDPAU CONFIG+= -DUSE_OSS -MAKE_ARGS+= CONFIG="${CONFIG}" +MAKE_ARGS= CONFIG="${CONFIG}" WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION} -.include "${.CURDIR}/../vdr/Makefile.plugins" +PORTDOCS= ChangeLog README.txt OPTIONS_DEFINE= VAAPI DOCS NLS VAAPI_DESC= Enable vaapi support (experimental) -.include <bsd.port.pre.mk> +VAAPI_LIB_DEPENDS= libva.so:multimedia/libva +VAAPI_VARS= CONFIG+=-DUSE_VAAPI -.if ${PORT_OPTIONS:MVAAPI} -LIB_DEPENDS+= libva.so:multimedia/libva -CONFIG+= -DUSE_VAAPI -.endif +.include "${.CURDIR}/../vdr/Makefile.plugins" -.if !(${COMPILER_TYPE} == clang) +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} != clang USE_GCC= yes .endif @@ -54,12 +55,12 @@ post-patch: post-patch-plugin ${WRKSRC}/*.c ${WRKSRC}/*.cpp pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702130901.v1D91WcM049269>