Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 09:01:36 +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: r431164 - head/multimedia/vdr-plugin-sleeptimer
Message-ID:  <201701110901.v0B91a2Q073379@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jan 11 09:01:36 2017
New Revision: 431164
URL: https://svnweb.freebsd.org/changeset/ports/431164

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

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

Modified: head/multimedia/vdr-plugin-sleeptimer/Makefile
==============================================================================
--- head/multimedia/vdr-plugin-sleeptimer/Makefile	Wed Jan 11 08:51:54 2017	(r431163)
+++ head/multimedia/vdr-plugin-sleeptimer/Makefile	Wed Jan 11 09:01:36 2017	(r431164)
@@ -10,21 +10,28 @@ MASTER_SITES=	http://projects.vdr-develo
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Video Disk Recorder - sleep timer plugin
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		tar:tgz
 PATCH_STRIP=	-p1
-HAVE_CONFIGURE=	yes
-PORTDOCS=	COPYING README HISTORY
 WRKSRC=		${WRKDIR}/${PLUGIN}-${PORTVERSION}
 
+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?201701110901.v0B91a2Q073379>