Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 12:46:17 +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: r434929 - head/math/xgraph
Message-ID:  <201702271246.v1RCkHSG068977@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 27 12:46:16 2017
New Revision: 434929
URL: https://svnweb.freebsd.org/changeset/ports/434929

Log:
  - Add LICENSE

Modified:
  head/math/xgraph/Makefile

Modified: head/math/xgraph/Makefile
==============================================================================
--- head/math/xgraph/Makefile	Mon Feb 27 12:45:31 2017	(r434928)
+++ head/math/xgraph/Makefile	Mon Feb 27 12:46:16 2017	(r434929)
@@ -11,10 +11,18 @@ DISTNAME=	xgraph-11
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program that helps you plot graphs
 
+LICENSE=	XGRAPH
+LICENSE_NAME=	xgraph license
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
 USES=		imake tar:Z
 USE_XORG=	x11 xext
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+post-extract:
+	@${SED} -ne '2,19 {s|^ \* *||;p;}' < ${WRKSRC}/copyright.h > ${WRKSRC}/COPYING
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/xgraph
 	${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${STAGEDIR}${PREFIX}/share/examples/xgraph



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