From 38da5000d054586ede91a2d2159410f25f759602 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Wed, 12 Feb 2014 12:08:35 +0000 Subject: [PATCH] - install hdfs.h (libhdfs) - bump PORTREVISION PR: 186615 Submitted by: Gea-Suan Lin Approved by: pfg (maintainer) --- devel/hadoop/Makefile | 5 ++++- devel/hadoop/pkg-plist | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devel/hadoop/Makefile b/devel/hadoop/Makefile index c75e23b11418..82cb133c93e7 100644 --- a/devel/hadoop/Makefile +++ b/devel/hadoop/Makefile @@ -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} diff --git a/devel/hadoop/pkg-plist b/devel/hadoop/pkg-plist index 2717fc1590be..9689f0d3067c 100644 --- a/devel/hadoop/pkg-plist +++ b/devel/hadoop/pkg-plist @@ -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