diff --git a/math/xgraph/Makefile b/math/xgraph/Makefile index c4b32efb0ee5..62424b4785f2 100644 --- a/math/xgraph/Makefile +++ b/math/xgraph/Makefile @@ -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