From 84bce18905bcecdcbf5f8c1c9003179de1527ed7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 18 Jan 2017 09:01:13 +0000 Subject: [PATCH] - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers --- multimedia/vdr-plugin-ttxtsubs/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/multimedia/vdr-plugin-ttxtsubs/Makefile b/multimedia/vdr-plugin-ttxtsubs/Makefile index a8965f58e976..2ff6ab3f9cea 100644 --- a/multimedia/vdr-plugin-ttxtsubs/Makefile +++ b/multimedia/vdr-plugin-ttxtsubs/Makefile @@ -11,20 +11,27 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS 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