From 79948b074c1af81e9b91b990ff6b1455030f2d33 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 25 Apr 2013 17:58:16 +0200 Subject: [PATCH] Convert nano 2.2.6 recipe to an actual recipe --- app-editors/nano/nano-2.2.6.recipe | 46 +++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/app-editors/nano/nano-2.2.6.recipe b/app-editors/nano/nano-2.2.6.recipe index 9abbc2515..74951a39e 100644 --- a/app-editors/nano/nano-2.2.6.recipe +++ b/app-editors/nano/nano-2.2.6.recipe @@ -1,27 +1,45 @@ -DESCRIPTION="GNU GPL'd Pico clone with more functionality" +SUMMARY="GNU GPL'd Pico clone with more functionality" +DESCRIPTION="GNU GPL'd Pico clone with more functionality." HOMEPAGE="http://www.nano-editor.org/" SRC_URI="http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="sys-libs/ncurses >= 5.6 - sys-apps/groff >= 1.20.1" CHECKSUM_MD5="03233ae480689a008eb98feb1b599807" +LICENSE="GNU GPL v3" +COPYRIGHT="1999-2010 Free Software Foundation, Inc. " +REVISION="2" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + nano = $portVersion compat >= 2 + cmd:nano = $portVersion compat >= 2 + cmd:rnano = $portVersion compat >= 2 + " +REQUIRES=" + haiku >= $haikuVersion + cmd:groff + lib:libncurses + " +BUILD_REQUIRES=" + cmd:gcc + cmd:groff + cmd:ld + cmd:libtoolize + cmd:make + ncurses + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName" + BUILD() { - cd nano-2.2.6 - COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --datadir=`finddir B_COMMON_DATA_DIRECTORY` \ - --infodir=$COMMON_DOCS/info \ - --mandir=$COMMON_DOCS/man + runConfigure ./configure make } INSTALL() { - cd nano-2.2.6 make install } -LICENSE="GNU GPL v3" -COPYRIGHT="1999-2010 Free Software Foundation, Inc. "