1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Install language files.

PR:		ports/116491
Submitted by:	edwin
This commit is contained in:
Alex Dupre 2007-10-02 12:51:30 +00:00
parent 907b90afa8
commit 455eee4b11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200654
2 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= jpgraph
PORTVERSION= 2.1.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://web.comhem.se/jpgraph/jpgdownloads/
@ -26,10 +26,11 @@ PORTDOCS= *
LATEST_LINK= jpgraph2
do-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${DATADIR}/lang
${CP} ${WRKSRC}/src/*.php ${DATADIR}
${CP} ${WRKSRC}/src/*.inc ${DATADIR}
${CP} ${WRKSRC}/src/*.dat ${DATADIR}
${CP} ${WRKSRC}/src/lang/*.php ${DATADIR}/lang
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}

View File

@ -37,6 +37,10 @@
%%DATADIR%%/jpgraph_scatter.php
%%DATADIR%%/jpgraph_stock.php
%%DATADIR%%/jpgraph_utils.inc.php
%%DATADIR%%/lang/de.inc.php
%%DATADIR%%/lang/en.inc.php
%%DATADIR%%/lang/prog.inc.php
@dirrm %%DATADIR%%/lang
@dirrm %%DATADIR%%
%%PORTDOCS%%%%EXAMPLESDIR%%/accbarex1.php
%%PORTDOCS%%%%EXAMPLESDIR%%/alphabarex1.php