Files
haikuports/dev-util/global/global-6.5.7.recipe
2017-09-18 17:34:20 +02:00

72 lines
1.8 KiB
Bash

SUMMARY="A source code tagging system"
DESCRIPTION="GNU GLOBAL is a source code tagging system that works the same \
way across diverse environments (emacs, vi, less, bash, web browser, etc). \
You can locate symbols in source files and move there easily. It is useful \
for hacking a large project containing many sub-directories, many #ifdef and \
many main() functions. It is similar to ctags or etags but is different from \
them at the point of independence of any editor. It runs on a UNIX(POSIX) \
compatible operating system like GNU and BSD."
HOMEPAGE="http://www.gnu.org/software/global/"
COPYRIGHT="2000-2013 Tama Communications Corporation
2007-2013 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftp.gnu.org/pub/gnu/global/global-$portVersion.tar.gz"
CHECKSUM_SHA256="d9c08fa524f9499b54241cb2d72f8a7df01453b6d5e012a63784ded08e3acd32"
PATCHES="global-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
global = $portVersion compat >= 6.3
cmd:global = $portVersion compat >= 6.3
cmd:gtags = $portVersion compat >= 6.3
cmd:globash = $portVersion compat >= 6.3
cmd:gozilla = $portVersion compat >= 6.3
cmd:gtags_cscope = $portVersion compat >= 6.3
cmd:htags = $portVersion compat >= 6.3
cmd:htags_server = $portVersion compat >= 6.3
"
REQUIRES="
haiku
lib:libltdl
lib:libncurses
cmd:ctags
cmd:sort
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:aclocal
cmd:autoconf
cmd:libtool
cmd:gcc
cmd:make
cmd:ld
cmd:find
cmd:sed
cmd:grep
cmd:perl
cmd:ctags
cmd:sort
"
BUILD()
{
autoreconf -fi
runConfigure ./configure \
--with-ncurses \
--with-exuberant-ctags=${portPackageLinksDir}/cmd~ctags/bin/ctags \
--with-posix-sort=${portPackageLinksDir}/cmd~sort/bin/sort
make
}
INSTALL()
{
make install
}