1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- install hdfs.h (libhdfs)

- bump PORTREVISION

PR:		186615
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
Approved by:	pfg (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-12 12:08:35 +00:00
parent 61237efd1f
commit 38da5000d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343908
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= hadoop
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= ${PORTNAME}/core/${PORTNAME}-${PORTVERSION}
@ -21,7 +22,8 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_JAVA= yes
JAVA_VERSION= 1.6
USE_ANT= yes
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64 i386
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
@ -105,6 +107,7 @@ do-install:
${ECHO} "export HADOOP_PID_DIR=${HADOOP_RUNDIR}" > ${STAGEDIR}${ETCDIR}/envvars.d/004.hadoop_run.env
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${TAR} -cf - -C ${WRKSRC}/c++/${_HADOOP_ARCH} include lib | ${TAR} xf - -C ${STAGEDIR}${PREFIX}
${INSTALL_DATA} ${WRKSRC}/src/c++/libhdfs/hdfs.h ${STAGEDIR}${PREFIX}/include/hadoop/
.for f in ${DEFAULTS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}

View File

@ -288,6 +288,7 @@ bin/hadoop
@unexec if cmp -s %D/%%ETCDIR%%/fair-scheduler.xml %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml; then rm -f %D/%%ETCDIR%%/fair-scheduler.xml; fi
%%EXAMPLESDIR%%/conf/fair-scheduler.xml
@exec [ -f %D/%%ETCDIR%%/fair-scheduler.xml ] || cp %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml %D/%%ETCDIR%%
include/hadoop/hdfs.h
include/hadoop/StringUtils.hh
include/hadoop/SerialUtils.hh
include/hadoop/Pipes.hh