summaryrefslogtreecommitdiff
path: root/pkg/less
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/less')
-rw-r--r--pkg/less/.gitignore2
-rw-r--r--pkg/less/defines.h99
-rw-r--r--pkg/less/gen.rc17
-rw-r--r--pkg/less/rev1
-rw-r--r--pkg/less/sha2561
-rw-r--r--pkg/less/url1
6 files changed, 121 insertions, 0 deletions
diff --git a/pkg/less/.gitignore b/pkg/less/.gitignore
new file mode 100644
index 00000000..937c7e72
--- /dev/null
+++ b/pkg/less/.gitignore
@@ -0,0 +1,2 @@
+/less-481.tar.gz
+/src
diff --git a/pkg/less/defines.h b/pkg/less/defines.h
new file mode 100644
index 00000000..5dc06828
--- /dev/null
+++ b/pkg/less/defines.h
@@ -0,0 +1,99 @@
+#include <config-posix.h>
+
+#define BINDIR "/bin"
+#define SYSDIR "/etc"
+
+#define SECURE SECURE_COMPILE
+#define SHELL_ESCAPE (!SECURE)
+#define EXAMINE (!SECURE)
+#define TAB_COMPLETE_FILENAME (!SECURE)
+#define CMD_HISTORY 1
+#define HILITE_SEARCH 1
+#define EDITOR (!SECURE)
+#define TAGS (!SECURE)
+#define USERFILE (!SECURE)
+#define GLOB (!SECURE)
+#define PIPEC (!SECURE)
+#define LOGFILE (!SECURE)
+#define GNU_OPTIONS 1
+#define ONLY_RETURN 0
+#define LESSKEYFILE ".less"
+#define LESSKEYFILE_SYS SYSDIR "/sysless"
+#define DEF_LESSKEYINFILE ".lesskey"
+#define LESSHISTFILE ".lesshst"
+#define MSDOS_COMPILER 0
+#define PATHNAME_SEP "/"
+#define TGETENT_OK 1
+/* #undef HAVE_SGSTAT_H */
+#define HAVE_PERROR 1
+#define HAVE_TIME 1
+#define HAVE_SHELL 1
+#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~"
+#define DEF_METAESCAPE "\\"
+#define HAVE_DUP 1
+#if 0 /* old sizes for small memory machines */
+#define CMDBUF_SIZE 512 /* Buffer for multichar commands */
+#define UNGOT_SIZE 100 /* Max chars to unget() */
+#define LINEBUF_SIZE 1024 /* Max size of line in input file */
+#define OUTBUF_SIZE 1024 /* Output buffer */
+#define PROMPT_SIZE 200 /* Max size of prompt string */
+#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */
+#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */
+#define TAGLINE_SIZE 512 /* Max size of line in tags file */
+#define TABSTOP_MAX 32 /* Max number of custom tab stops */
+#else /* more reasonable sizes for modern machines */
+#define CMDBUF_SIZE 2048 /* Buffer for multichar commands */
+#define UNGOT_SIZE 200 /* Max chars to unget() */
+#define LINEBUF_SIZE 1024 /* Initial max size of line in input file */
+#define OUTBUF_SIZE 1024 /* Output buffer */
+#define PROMPT_SIZE 2048 /* Max size of prompt string */
+#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */
+#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */
+#define TAGLINE_SIZE 1024 /* Max size of line in tags file */
+#define TABSTOP_MAX 128 /* Max number of custom tab stops */
+#endif
+#define EDIT_PGM "vi"
+#define HAVE_CONST 1
+#define HAVE_FLOAT 1
+/* #undef HAVE_GNU_REGEX */
+#define HAVE_LOCALE 1
+#define HAVE_MEMORY_H 1
+#define HAVE_OSPEED 1
+/* #undef HAVE_PCRE */
+#define HAVE_POSIX_REGCOMP 1
+/* #undef HAVE_REGCMP */
+/* #undef HAVE_REGEXEC2 */
+/* #undef HAVE_RE_COMP */
+/* #undef HAVE_SIGSETMASK */
+#define HAVE_SIGSET_T 1
+#define HAVE_STAT_INO 1
+#define HAVE_SYS_ERRLIST 1
+#define HAVE_SYS_IOCTL_H 1
+/* #undef HAVE_SYS_STREAM_H */
+#define HAVE_TERMCAP_H 1
+#define HAVE_TERMIOS_FUNCS 1
+/* #undef HAVE_TERMIO_H */
+#define HAVE_UPPER_LOWER 1
+/* #undef HAVE_V8_REGCOMP */
+#define HAVE_VALUES_H 1
+#define HAVE_VOID 1
+/* #undef MUST_DEFINE_ERRNO */
+/* #undef MUST_DEFINE_OSPEED */
+/* #undef NO_REGEX */
+#define PACKAGE_BUGREPORT ""
+#define PACKAGE_NAME "less"
+#define PACKAGE_STRING "less 1"
+#define PACKAGE_TARNAME "less"
+#define PACKAGE_URL ""
+#define PACKAGE_VERSION "1"
+#define SECURE_COMPILE 0
+/* #undef STAT_MACROS_BROKEN */
+#define TIME_WITH_SYS_TIME 1
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+/* #undef _FILE_OFFSET_BITS */
+/* #undef _LARGE_FILES */
+/* #undef const */
+/* #undef off_t */
+/* #undef size_t */
diff --git a/pkg/less/gen.rc b/pkg/less/gen.rc
new file mode 100644
index 00000000..ee0d16b4
--- /dev/null
+++ b/pkg/less/gen.rc
@@ -0,0 +1,17 @@
+cflags\
+ -isystem '$builddir'/pkg/ncurses/include\
+ -I include\
+ -I '$dir'
+
+exe less -d pkg/ncurses/headers\
+ main.c screen.c brac.c ch.c charset.c cmdbuf.c\
+ command.c cvt.c decode.c edit.c filename.c forwback.c\
+ help.c ifile.c input.c jump.c line.c linenum.c\
+ lsystem.c mark.c optfunc.c option.c opttbl.c os.c\
+ output.c pattern.c position.c prompt.c search.c signal.c\
+ tags.c ttyin.c version.c\
+ '$builddir'/pkg/ncurses/libncurses.a
+file bin/less '$outdir'/less 755
+file share/man/man1/less.1 '$srcdir'/less.nro 644
+
+fetch curl
diff --git a/pkg/less/rev b/pkg/less/rev
new file mode 100644
index 00000000..d00491fd
--- /dev/null
+++ b/pkg/less/rev
@@ -0,0 +1 @@
+1
diff --git a/pkg/less/sha256 b/pkg/less/sha256
new file mode 100644
index 00000000..f404456f
--- /dev/null
+++ b/pkg/less/sha256
@@ -0,0 +1 @@
+3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5 less-481.tar.gz
diff --git a/pkg/less/url b/pkg/less/url
new file mode 100644
index 00000000..1d361f40
--- /dev/null
+++ b/pkg/less/url
@@ -0,0 +1 @@
+url = "http://www.greenwoodsoftware.com/less/less-481.tar.gz"