svn commit: r434929 - head/math/xgraph

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Feb 27 12:46:18 UTC 2017


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 at 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


More information about the svn-ports-head mailing list