summaryrefslogtreecommitdiff
path: root/graphics/jpgraph2
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-10-02 12:51:30 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-10-02 12:51:30 +0000
commit455eee4b11d54925c15bb02ec61fd3b6548562c4 (patch)
treed31f9a8cc460183d7edda84961082a62db05a0fd /graphics/jpgraph2
parentBump PORTVERSION for latest commit. (diff)
Install language files.
PR: ports/116491 Submitted by: edwin
Notes
Notes: svn path=/head/; revision=200654
Diffstat (limited to 'graphics/jpgraph2')
-rw-r--r--graphics/jpgraph2/Makefile5
-rw-r--r--graphics/jpgraph2/pkg-plist4
2 files changed, 7 insertions, 2 deletions
diff --git a/graphics/jpgraph2/Makefile b/graphics/jpgraph2/Makefile
index e19a0a54556d..1d01efeaf98a 100644
--- a/graphics/jpgraph2/Makefile
+++ b/graphics/jpgraph2/Makefile
@@ -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}
diff --git a/graphics/jpgraph2/pkg-plist b/graphics/jpgraph2/pkg-plist
index fd40411578b2..8d0b19277bc0 100644
--- a/graphics/jpgraph2/pkg-plist
+++ b/graphics/jpgraph2/pkg-plist
@@ -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