diff --git a/net-ftp/ftp/ftp-20121221.recipe b/net-ftp/ftp/ftp-20121221.recipe new file mode 100644 index 000000000..adeb2c922 --- /dev/null +++ b/net-ftp/ftp/ftp-20121221.recipe @@ -0,0 +1,49 @@ +SUMMARY="Standard FTP client" +DESCRIPTION="ftp is a standard command line client for connecting to FTP \ +servers. The File Transfer protocol (defined in RFC 959) is used for \ +transferring files from one computer to another over a network." +HOMEPAGE="http://netbsd.org/" +SRC_URI="cvs://anoncvs@anoncvs.NetBSD.org:/cvsroot/src/usr.bin/ftp#2012-12-21" +REVISION="1" +LICENSE="BSD (3-clause)" +COPYRIGHT="1997-2012 The NetBSD Foundation, Inc." + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + ftp = $portVersion + cmd:ftp + " + +REQUIRES=" + haiku + lib:libedit + " + +BUILD_REQUIRES=" + haiku_devel + devel:libedit + " + +BUILD_PREREQUIRES=" + cmd:gcc + " + +PATCH() +{ + sed -i 's/#include //g' *.c +} + +BUILD() +{ + gcc -Dlint -DDIRENT_MISSING_D_NAMLEN -DINFTIM=-1 -DSECSPERHOUR=3600 -DSECSPERDAY=86400 \ + cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \ + progressbar.c ruserpass.c util.c -o ftp \ + -lnetwork -ledit -lbsd +} + +INSTALL() +{ + mkdir -p $binDir + cp ftp $binDir +}