Date: Mon, 6 Mar 2017 09:01:49 +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: r435523 - head/multimedia/vdr-plugin-epgsearch Message-ID: <201703060901.v2691nkA059323@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Mar 6 09:01:49 2017 New Revision: 435523 URL: https://svnweb.freebsd.org/changeset/ports/435523 Log: - Add LICENSE - Don't install license with docs - Switch to options helpers Modified: head/multimedia/vdr-plugin-epgsearch/Makefile Modified: head/multimedia/vdr-plugin-epgsearch/Makefile ============================================================================== --- head/multimedia/vdr-plugin-epgsearch/Makefile Mon Mar 6 08:51:07 2017 (r435522) +++ head/multimedia/vdr-plugin-epgsearch/Makefile Mon Mar 6 09:01:49 2017 (r435523) @@ -12,16 +12,22 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sn MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - EPG search plugin -LIB_DEPENDS+= libpcre.so:devel/pcre \ +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libpcre.so:devel/pcre \ libtre.so:textproc/libtre USES= pkgconfig tar:bzip2 PATCH_STRIP= -p1 -PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/vdr-plugin-${PLUGIN} -MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include -I${LOCALBASE}/include/vdr -I${WRKSRC}" +MAKE_ARGS= INCLUDES="-I${LOCALBASE}/include -I${LOCALBASE}/include/vdr -I${WRKSRC}" + +PORTDOCS= README HISTORY -.include "${.CURDIR}/../vdr/Makefile.plugins" +OPTIONS_DEFINE= DOCS NLS + +.include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin @${REINPLACE_CMD} -e 's/^#\(HAVE_PCREPOSIX=\)/\1/;' \ @@ -29,10 +35,12 @@ post-patch: post-patch-plugin ${WRKSRC}/Makefile pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales - ${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?201703060901.v2691nkA059323>