Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 10:50:22 +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: r456608 - head/graphics/xwpick
Message-ID:  <201712181050.vBIAoMbY041605@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 18 10:50:21 2017
New Revision: 456608
URL: https://svnweb.freebsd.org/changeset/ports/456608

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/graphics/xwpick/Makefile

Modified: head/graphics/xwpick/Makefile
==============================================================================
--- head/graphics/xwpick/Makefile	Mon Dec 18 10:50:02 2017	(r456607)
+++ head/graphics/xwpick/Makefile	Mon Dec 18 10:50:21 2017	(r456608)
@@ -10,12 +10,20 @@ MASTER_SITES=	XCONTRIB/applications
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Image pick up utility for X Window System
 
+LICENSE=	xwpick
+LICENSE_NAME=	xwpick license  # non-commercial
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
 USES=		imake
 USE_XORG=	x11 xext
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+post-extract:
+	@${SED} -ne '/COPYRIGHT NOTICE/,$$ p' ${WRKSRC}/0README >${WRKSRC}/COPYING
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/CNL_ARTICLE.PS ${STAGEDIR}${DOCSDIR}



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