Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 09:01:20 +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: r432546 - head/multimedia/vdr-plugin-skinenigmang
Message-ID:  <201701270901.v0R91KS2097275@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 27 09:01:20 2017
New Revision: 432546
URL: https://svnweb.freebsd.org/changeset/ports/432546

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

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

Modified: head/multimedia/vdr-plugin-skinenigmang/Makefile
==============================================================================
--- head/multimedia/vdr-plugin-skinenigmang/Makefile	Fri Jan 27 03:23:40 2017	(r432545)
+++ head/multimedia/vdr-plugin-skinenigmang/Makefile	Fri Jan 27 09:01:20 2017	(r432546)
@@ -14,22 +14,29 @@ DISTFILES=	${DISTNAME}.tar.bz2:snapshot 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Video Disk Recorder - Enigma-NG skin plugin
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 PATCH_STRIP=	-p1
-HAVE_CONFIGURE=	yes
-PORTDOCS=	COPYING README HISTORY
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+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
 	(cd ${WRKDIR}/${PLUGIN} && \
-		${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
+
+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?201701270901.v0R91KS2097275>