Date: Thu, 19 Jan 2017 09:01:13 +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: r431854 - head/multimedia/vdr-plugin-control Message-ID: <201701190901.v0J91Dcs031453@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Jan 19 09:01:13 2017 New Revision: 431854 URL: https://svnweb.freebsd.org/changeset/ports/431854 Log: - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers Modified: head/multimedia/vdr-plugin-control/Makefile Modified: head/multimedia/vdr-plugin-control/Makefile ============================================================================== --- head/multimedia/vdr-plugin-control/Makefile Thu Jan 19 07:13:10 2017 (r431853) +++ head/multimedia/vdr-plugin-control/Makefile Thu Jan 19 09:01:13 2017 (r431854) @@ -15,25 +15,30 @@ PATCHFILES= ${PORTNAME}_${PORTVERSION:S/ MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - telnet control plugin +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= tar:tgz PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a45/a/} +PORTDOCS= README HISTORY + +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin - ${RM} ${WRKSRC}/vdr-plugin-${PLUGIN}-${DISTVERSION:S/a45/a/}/debian/patches/90* - for i in ${WRKSRC}/vdr-plugin-${PLUGIN}-${DISTVERSION:S/a45/a/}/debian/patches/*.dpatch; do \ + @${RM} ${WRKSRC}/vdr-plugin-${PLUGIN}-${DISTVERSION:S/a45/a/}/debian/patches/90* + @for i in ${WRKSRC}/vdr-plugin-${PLUGIN}-${DISTVERSION:S/a45/a/}/debian/patches/*.dpatch; do \ ${PATCH} -d ${WRKSRC} `${SED} -n '/^#PATCHOPTIONS:/{s///;p;q;}' $$i` --forward --quiet <$$i ;\ done pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr -post-install: - ${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?201701190901.v0J91Dcs031453>