- Hand maintainership to submitter. - Replace HADOOP_HOME with DATADIR and HADOOP_ETC with ETCDIR. - Replace pkg-install and pkg-deinstall with pkg-plist entries. - Support staging. - Fix build on FreeBSD 10 (clang, libc++, hardcoded gcc). PR: ports/183307 Submitted by: Pedro Giffuni <pfg@apache.org>
7 lines
111 B
Bash
7 lines
111 B
Bash
#!/usr/bin/env bash
|
|
for i in `ls %%ETCDIR%%/envvars.d/*.env`
|
|
do
|
|
. ${i}
|
|
done
|
|
|
|
exec %%DATADIR%%/bin/hadoop $@
|