Date: Sun, 27 Apr 2014 19:40:52 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352454 - head/graphics/jpgraph2 Message-ID: <201404271940.s3RJeqqF007914@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sun Apr 27 19:40:51 2014 New Revision: 352454 URL: http://svnweb.freebsd.org/changeset/ports/352454 QAT: https://qat.redports.org/buildarchive/r352454/ Log: - Add staging support - Convert to USES=tar:bzip2, new options framework Modified: head/graphics/jpgraph2/Makefile Modified: head/graphics/jpgraph2/Makefile ============================================================================== --- head/graphics/jpgraph2/Makefile Sun Apr 27 19:27:58 2014 (r352453) +++ head/graphics/jpgraph2/Makefile Sun Apr 27 19:40:51 2014 (r352454) @@ -5,15 +5,15 @@ PORTNAME= jpgraph PORTVERSION= 3.0.7 CATEGORIES= graphics MASTER_SITES= http://hem.bredband.net/jpgraph2/ +PKGNAMESUFFIX= 2 MAINTAINER= ports@FreeBSD.org COMMENT= Draw both "quick and dirty" graphs with a minimum of code -USE_BZIP2= yes +USES= tar:bzip2 NO_BUILD= yes NO_WRKSUBDIR= yes USE_PHP= gd -NO_STAGE= yes NO_CDROM= The free version cannot be used in a commercial context @@ -21,20 +21,16 @@ PORTDATA= * PORTDOCS= * PORTEXAMPLES= * -LATEST_LINK= jpgraph2 +OPTIONS_DEFINE= DOCS EXAMPLES do-install: - @${MKDIR} ${DATADIR} - ${CP} ${WRKSRC}/src/*.php ${DATADIR} - ${CP} ${WRKSRC}/src/*.dat ${DATADIR} - ${CP} -R ${WRKSRC}/src/lang ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/docportal/* ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + ${CP} ${WRKSRC}/src/*.php ${STAGEDIR}${DATADIR} + ${CP} ${WRKSRC}/src/*.dat ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/src/lang ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/docportal/* ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/src/Examples/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404271940.s3RJeqqF007914>