From owner-svn-ports-head@freebsd.org Thu Jan 26 09:01:23 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22151CC0C69; Thu, 26 Jan 2017 09:01:23 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E54949BF; Thu, 26 Jan 2017 09:01:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0Q91Le2001289; Thu, 26 Jan 2017 09:01:21 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0Q91Lqg001288; Thu, 26 Jan 2017 09:01:21 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701260901.v0Q91Lqg001288@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 26 Jan 2017 09:01:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432475 - head/multimedia/vdr-plugin-iptv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 09:01:23 -0000 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