blob: e3983f79bb229cc060363f7fb6af1e73d159c8e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= XLConnect
PORTVERSION= 1.0.7
CATEGORIES= math
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
COMMENT= R package for manipulating Microsoft Excel files
WWW= https://cran.r-project.org/package=XLConnect
LICENSE= GPLv3
BUILD_DEPENDS= R-cran-rJava>0:devel/R-cran-rJava
RUN_DEPENDS= R-cran-rJava>0:devel/R-cran-rJava \
apache-poi>0:textproc/apache-poi \
SparseBitSet>0:devel/sparsebitset \
apache-xmlbeans>0:textproc/apache-xmlbeans \
apache-commons-math>0:math/apache-commons-math \
apache-commons-codec>0:java/apache-commons-codec \
apache-commons-compress>0:archivers/apache-commons-compress \
apache-commons-collections4>0:java/apache-commons-collections4
USES= cran
USE_JAVA= yes
DEP_JARS= commons-codec commons-collections4 commons-compress commons-io \
log4j-api log4j-core poi poi-ooxml poi-ooxml-full SparseBitSet \
xmlbeans
post-install:
.for j in ${DEP_JARS}
${LN} -sf ${JAVALIBDIR}/${j}.jar ${STAGEDIR}${PREFIX}/${R_MOD_DIR}/java/
.endfor
${LN} -sf ${JAVALIBDIR}/commons-math.jar \
${STAGEDIR}${PREFIX}/${R_MOD_DIR}/java/commons-math3.jar
${LN} -sf ${JAVALIBDIR}/commons-codec.jar \
${STAGEDIR}${PREFIX}/${R_MOD_DIR}/java/commons-codec-1.15.jar
.include <bsd.port.mk>
|