1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add LICENSE

This commit is contained in:
Dmitry Marakasov 2017-02-27 12:46:16 +00:00
parent 5e7a3f62f0
commit 0f94ae500a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434929

View File

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