Date: Tue, 21 Feb 2017 09:01:35 +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: r434511 - head/multimedia/vdr-plugin-vdrmanager Message-ID: <201702210901.v1L91ZPb079765@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Feb 21 09:01:34 2017 New Revision: 434511 URL: https://svnweb.freebsd.org/changeset/ports/434511 Log: - Add LICENSE - Don't install license with docs - Switch to options helpers - Pet portlint Modified: head/multimedia/vdr-plugin-vdrmanager/Makefile Modified: head/multimedia/vdr-plugin-vdrmanager/Makefile ============================================================================== --- head/multimedia/vdr-plugin-vdrmanager/Makefile Tue Feb 21 08:43:49 2017 (r434510) +++ head/multimedia/vdr-plugin-vdrmanager/Makefile Tue Feb 21 09:01:34 2017 (r434511) @@ -11,21 +11,29 @@ DISTNAME= ${PORTNAME:S/-plugin//}-${PORT MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - VDR-Manager server plugin +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + PATCH_STRIP= -p1 -PORTDOCS= COPYING README HISTORY + +PORTDOCS= README HISTORY + +OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins - @${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf \ + ${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample - ${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?201702210901.v1L91ZPb079765>