Date: Wed, 18 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: r431782 - head/multimedia/vdr-plugin-ttxtsubs Message-ID: <201701180901.v0I91D3l034047@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jan 18 09:01:13 2017 New Revision: 431782 URL: https://svnweb.freebsd.org/changeset/ports/431782 Log: - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers Modified: head/multimedia/vdr-plugin-ttxtsubs/Makefile Modified: head/multimedia/vdr-plugin-ttxtsubs/Makefile ============================================================================== --- head/multimedia/vdr-plugin-ttxtsubs/Makefile Wed Jan 18 08:05:21 2017 (r431781) +++ head/multimedia/vdr-plugin-ttxtsubs/Makefile Wed Jan 18 09:01:13 2017 (r431782) @@ -11,20 +11,27 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DI MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - teletext subtitle plugin +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION} +PORTDOCS= README HISTORY + +OPTIONS_DEFINE= DOCS NLS + .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin 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?201701180901.v0I91D3l034047>