Date: Thu, 26 Jan 2017 09:01:21 +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: r432475 - head/multimedia/vdr-plugin-iptv Message-ID: <201701260901.v0Q91Lqg001288@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Jan 26 09:01:21 2017 New Revision: 432475 URL: https://svnweb.freebsd.org/changeset/ports/432475 Log: - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers - Pet portlint Modified: head/multimedia/vdr-plugin-iptv/Makefile Modified: head/multimedia/vdr-plugin-iptv/Makefile ============================================================================== --- head/multimedia/vdr-plugin-iptv/Makefile Thu Jan 26 08:54:12 2017 (r432474) +++ head/multimedia/vdr-plugin-iptv/Makefile Thu Jan 26 09:01:21 2017 (r432475) @@ -11,14 +11,19 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DI MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - IP television plugin +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= tar:tgz PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= COPYING README HISTORY -PORTEXAMPLES= channels.conf.iptv -MAKE_ARGS+= IPTV_EXTSHELL=/bin/sh +MAKE_ARGS= IPTV_EXTSHELL=/bin/sh WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION} +PORTDOCS= README HISTORY +PORTEXAMPLES= channels.conf.iptv + +OPTIONS_DEFINE= DOCS EXAMPLES NLS + .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin @@ -27,28 +32,32 @@ post-patch: post-patch-plugin ${WRKSRC}/iptv/vlc2iptv pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput - @${INSTALL_DATA} ${FILESDIR}/vlcinput/*.conf ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/image.sh \ + ${INSTALL_DATA} ${FILESDIR}/vlcinput/*.conf ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/image.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/image.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/internetradio.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream-notrap.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/linein.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlc2iptv.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/webcam.sh.sample - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/channels.conf.iptv ${STAGEDIR}${EXAMPLESDIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701260901.v0Q91Lqg001288>