mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 03:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
72 lines
1.8 KiB
Bash
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="2"
|
|
SOURCE_URI="http://ftp.gnu.org/pub/gnu/global/global-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="cbee98ef6c1b064bc5b062d14a6d94dca67289e8374860817057db7688bc651c"
|
|
PATCHES="global-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
global = $portVersion compat >= 6.3
|
|
cmd:global = $portVersion compat >= 6.3
|
|
cmd:globash = $portVersion compat >= 6.3
|
|
cmd:gozilla = $portVersion compat >= 6.3
|
|
cmd:gtags = $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
|
|
cmd:ctags
|
|
cmd:sort
|
|
lib:libltdl
|
|
lib:libncurses >= 6
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libncurses >= 6
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoreconf
|
|
cmd:ctags
|
|
cmd:find
|
|
cmd:gcc
|
|
cmd:grep
|
|
cmd:ld
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:sed
|
|
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
|
|
}
|