Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 09:00:53 +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: r428472 - head/multimedia/vdr-plugin-infosatepg
Message-ID:  <201612130900.uBD90r9b024085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 13 09:00:53 2016
New Revision: 428472
URL: https://svnweb.freebsd.org/changeset/ports/428472

Log:
  - Add LICENSE
  - Remove bogus HAVE_CONFIGURE
  - Don't install license with docs
  - Switch to options helpers

Modified:
  head/multimedia/vdr-plugin-infosatepg/Makefile

Modified: head/multimedia/vdr-plugin-infosatepg/Makefile
==============================================================================
--- head/multimedia/vdr-plugin-infosatepg/Makefile	Tue Dec 13 08:45:18 2016	(r428471)
+++ head/multimedia/vdr-plugin-infosatepg/Makefile	Tue Dec 13 09:00:53 2016	(r428472)
@@ -11,22 +11,29 @@ DISTNAME=	${PORTNAME:S/-plugin-/-/}-${DI
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Video Disk Recorder - infosat EPG plugin
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		tar:tgz
 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}
+	@${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
-	${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130900.uBD90r9b024085>