diff --git a/dev-vcs/tig/tig-0.16.recipe b/dev-vcs/tig/tig-0.16.recipe deleted file mode 100644 index 53e29959a..000000000 --- a/dev-vcs/tig/tig-0.16.recipe +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION="Tig is a text-mode git repository browser" -HOMEPAGE="http://jonas.nitro.dk/tig/" -SRC_URI="http://jonas.nitro.dk/tig/releases/tig-0.16.tar.gz" -CHECKSUM_MD5="684572d93033d6cbfc5ee71cffe02935" -REVISION="1" -STATUS_HAIKU="untested" -DEPEND="sys-libs/ncurses >= 5.7" -BUILD() -{ - cd tig-0.16 - libtoolize --force --copy --install - autoreconf -i - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} - -INSTALL() -{ - cd tig-0.16 - make install -} -LICENSE="GNU GPL v2" -COPYRIGHT="2006-2010 Jonas Fonseca" diff --git a/dev-vcs/tig/tig-2.0.2.recipe b/dev-vcs/tig/tig-2.0.2.recipe new file mode 100644 index 000000000..0602a4ab4 --- /dev/null +++ b/dev-vcs/tig/tig-2.0.2.recipe @@ -0,0 +1,60 @@ +SUMMARY="Tig: text mode interface for git" +DESCRIPTION="Tig is a text-mode git repository browser" +HOMEPAGE="http://jonas.nitro.dk/tig/" +SRC_URI="http://jonas.nitro.dk/tig/releases/tig-2.0.2.tar.gz" +CHECKSUM_SHA256="b91cf0b3d044f643a1032c3a7c7cd855685bb8ead5f71f4703eb0c19238e273e" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="2006-2014 Jonas Fonseca" + +ARCHITECTURES="x86 ?x86_64" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + tig$secondaryArchSuffix = $portVersion + cmd:tig$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libiconv$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + lib:libreadline$secondaryArchSuffix + cmd:git + " + +BUILD_REQUIRES=" + devel:libiconv$secondaryArchSuffix + devel:libncurses$secondaryArchSuffix + devel:libreadline$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:asciidoc + cmd:autoconf + cmd:git + cmd:libtoolize + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + " + +GLOBAL_WRITABLE_FILES="settings/tigrc keep-old" + +BUILD() +{ + libtoolize --force --copy --install + ./autogen.sh + runConfigure ./configure + make +} + +INSTALL() +{ + make install +}