diff --git a/sys-apps/hgrep/hgrep b/sys-apps/hgrep/hgrep index 737e5a2dd..356dec164 100755 --- a/sys-apps/hgrep/hgrep +++ b/sys-apps/hgrep/hgrep @@ -5,6 +5,6 @@ # Distributed under the terms of the MIT License. # -find $(finddir B_COMMON_DEVEOP_DIRECTORY/headers -type f -print0 | xargs -0 egrep "$@" +find $(finddir B_COMMON_DEVELOP_DIRECTORY)/headers -type f -print0 | xargs -0 egrep "$@" # TODO add other header directories to search? diff --git a/sys-apps/hgrep/hgrep-1.0.1.bep b/sys-apps/hgrep/hgrep-1.0.1.bep new file mode 100644 index 000000000..ccd83131e --- /dev/null +++ b/sys-apps/hgrep/hgrep-1.0.1.bep @@ -0,0 +1,20 @@ +DESCRIPTION="header grep" +HOMEPAGE="http://www.ports.haiku-files.org/" +SRC_URI="http://www.ports.haiku-files.org/export/1970/haikuports/trunk/sys-apps/hgrep/hgrep-1.0.zip" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +CHECKSUM_MD5="e909cea8f7ae7f6c73fe75a691b0440f" +BUILD { + cd hgrep-1.0.1 +} + +INSTALL { + cd hgrep-1.0.1 + BINDIR=`finddir B_COMMON_BIN_DIRECTORY` + mkdir -p $DESTDIR/$BINDIR + cp hgrep $DESTDIR/$BINDIR +} + +LICENSE="MIT" +COPYRIGHT="2011 Haiku, Inc." diff --git a/sys-apps/hgrep/hgrep-1.0.1.zip b/sys-apps/hgrep/hgrep-1.0.1.zip new file mode 100644 index 000000000..510a28806 Binary files /dev/null and b/sys-apps/hgrep/hgrep-1.0.1.zip differ