diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-06 12:38:53 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-06 12:38:53 +0000 |
commit | a327c7c4dc653ecca5bb6f1f21b65343f0e8ca94 (patch) | |
tree | d1e0888e881481aeb9f65381654a5b4d6687dac9 /vietnamese | |
parent | b93ba8e95ca25fb68e7d4b8c9e43068d6d1bd694 (diff) | |
download | ports-a327c7c4dc653ecca5bb6f1f21b65343f0e8ca94.tar.gz ports-a327c7c4dc653ecca5bb6f1f21b65343f0e8ca94.zip |
Notes
Diffstat (limited to 'vietnamese')
-rw-r--r-- | vietnamese/vnless/Makefile | 28 | ||||
-rw-r--r-- | vietnamese/vnless/distinfo | 1 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-01 | 67 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-02 | 27 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-03 | 20 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-04 | 33 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-05 | 13 | ||||
-rw-r--r-- | vietnamese/vnless/pkg-comment | 1 | ||||
-rw-r--r-- | vietnamese/vnless/pkg-descr | 12 | ||||
-rw-r--r-- | vietnamese/vnless/pkg-plist | 5 |
10 files changed, 207 insertions, 0 deletions
diff --git a/vietnamese/vnless/Makefile b/vietnamese/vnless/Makefile new file mode 100644 index 000000000000..781e7afaf9ed --- /dev/null +++ b/vietnamese/vnless/Makefile @@ -0,0 +1,28 @@ +# ex:ts=8 +# New ports collection makefile for: vnless +# Version required: 1.0 +# Date created: Tue Dec 3, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $ +# + +DISTNAME= vnless +PKGNAME= vn-vnless-1.0 +CATEGORIES= vietnamese +MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \ + ftp://ftp.monash.edu.au/pub/vietnam/unix/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= obrien@cs.ucdavis.edu + +ALL_TARGET= clobber all +MAN1= vnless.1 vnlesskey.1 + +post-install: + @strip ${PREFIX}/bin/vnless* + @chmod a+rx ${PREFIX}/bin/vnless* + @chmod a+r ${PREFIX}/share/misc/vnless.help + @chmod a+r ${PREFIX}/man/man1/vnless*.1* + +.include <bsd.port.mk> diff --git a/vietnamese/vnless/distinfo b/vietnamese/vnless/distinfo new file mode 100644 index 000000000000..006d309bef3a --- /dev/null +++ b/vietnamese/vnless/distinfo @@ -0,0 +1 @@ +MD5 (vnless.tar.Z) = 24e434135a6148f64e826960a9a25edd diff --git a/vietnamese/vnless/files/patch-01 b/vietnamese/vnless/files/patch-01 new file mode 100644 index 000000000000..bcb2df2044b7 --- /dev/null +++ b/vietnamese/vnless/files/patch-01 @@ -0,0 +1,67 @@ +--- Makefile.orig Mon Feb 24 13:15:42 1992 ++++ Makefile Wed Dec 4 03:26:44 1996 +@@ -31,15 +31,15 @@ + # INSTALL_HELP is a list of the public version of the help file. + # INSTALL_LESSMAN is a list of the public versions of the less manual page. + # INSTALL_KEYMAN is a list of the public versions of the lesskey manual page. +-ROOT = ../../VN ++ROOT = ${PREFIX} + INSTALL_LESS = $(ROOT)/bin/vnless +-INSTALL_KEY = $(ROOT)/bin/lesskey +-INSTALL_HELP = $(ROOT)/man/less.help +-INSTALL_LESSMAN = $(ROOT)/man/vnless.1 +-INSTALL_KEYMAN = $(ROOT)/man/lesskey.1 ++INSTALL_KEY = $(ROOT)/bin/vnlesskey ++INSTALL_HELP = $(ROOT)/share/misc/vnless.help ++INSTALL_LESSMAN = $(ROOT)/man/man1/vnless.1 ++INSTALL_KEYMAN = $(ROOT)/man/man1/vnlesskey.1 + LESS_MANUAL = less.man + KEY_MANUAL = lesskey.man +-HELPFILE = $(ROOT)/man/less.help ++HELPFILE = $(ROOT)/share/misc/vnless.help + + + # OPTIM is passed to the compiler and the loader. +@@ -49,6 +49,7 @@ + #CFLAGS = $(OPTIM) + CFLAGS = -O + LDFLAGS = ++LDLIBS = -lcompat + + + ########################################################################## +@@ -82,24 +83,24 @@ + $(CC) $(CFLAGS) -c -DHELPFILE=\"$(HELPFILE)\" help.c + + install_less: vnless +- for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done +- touch install_less ++ @for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done ++ @touch install_less + + install_key: lesskey +- for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done +- touch install_key ++ @for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done ++ @touch install_key + + install_help: less.help +- for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done +- touch install_help ++ @for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done ++ @touch install_help + + install_lman: $(LESS_MANUAL) +- for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done +- touch install_lman ++ @for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done ++ @touch install_lman + + install_kman: $(KEY_MANUAL) +- for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done +- touch install_kman ++ @for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done ++ @touch install_kman + + ########################################################################## + # Maintenance diff --git a/vietnamese/vnless/files/patch-02 b/vietnamese/vnless/files/patch-02 new file mode 100644 index 000000000000..8a5f11712c62 --- /dev/null +++ b/vietnamese/vnless/files/patch-02 @@ -0,0 +1,27 @@ +--- less.h.orig Mon Feb 24 12:45:38 1992 ++++ less.h Wed Dec 4 02:35:12 1996 +@@ -31,7 +31,11 @@ + * The type of signal handler functions. + * Usually int, although it should be void. + */ ++#if VOID ++typedef void HANDLER; ++#else + typedef int HANDLER; ++#endif + + + #define FILENAME 128 /* Max size of a filename */ +@@ -74,7 +78,12 @@ + #define SIGNAL(sig,func) signal(sig,func) + + /* Library function declarations */ ++#ifdef USE_FBSD_STD_HDRS + offset_t lseek(); + char *calloc(); ++#else ++#include <stdlib.h> ++#include <unistd.h> ++#endif + + #include "funcs.h" diff --git a/vietnamese/vnless/files/patch-03 b/vietnamese/vnless/files/patch-03 new file mode 100644 index 000000000000..97d89a25eaa7 --- /dev/null +++ b/vietnamese/vnless/files/patch-03 @@ -0,0 +1,20 @@ +--- defines.h.orig Mon Feb 24 12:45:37 1992 ++++ defines.h Wed Dec 4 02:33:51 1996 +@@ -47,7 +47,7 @@ + * This is normally the case only for BSD 4.2, + * not for BSD 4.1 or System 5. + */ +-#define SIGSETMASK 0 ++#define SIGSETMASK 1 + + /* + * REGCMP is 1 if your system has the regcmp() function. +@@ -73,7 +73,7 @@ + * EDIT_PGM is the name of the (default) editor to be invoked. + */ + #define EDITOR 1 +-#define EDIT_PGM "/usr/local/bin/vi" ++#define EDIT_PGM "/usr/bin/vi" + + /* + * TAGS is 1 if you wish to support tag files. diff --git a/vietnamese/vnless/files/patch-04 b/vietnamese/vnless/files/patch-04 new file mode 100644 index 000000000000..85f3794b9a34 --- /dev/null +++ b/vietnamese/vnless/files/patch-04 @@ -0,0 +1,33 @@ +--- os.c.orig Mon Feb 24 12:45:40 1992 ++++ os.c Wed Dec 4 02:36:59 1996 +@@ -13,6 +13,7 @@ + #include <stdio.h> + #include <signal.h> + #include <setjmp.h> ++#include <time.h> + #include "less.h" + + char *getenv(); +@@ -153,7 +154,7 @@ + public long + get_time() + { +- long t; ++ time_t t; + + time(&t); + return (t); +@@ -294,9 +295,13 @@ + + #if PERROR + ++#ifdef USE_FBSD_STD_HDRS + extern char *sys_errlist[]; + extern int sys_nerr; + extern int errno; ++#else ++#include <errno.h> ++#endif + + public char * + errno_message(filename, message, len) diff --git a/vietnamese/vnless/files/patch-05 b/vietnamese/vnless/files/patch-05 new file mode 100644 index 000000000000..0a72b2dde54e --- /dev/null +++ b/vietnamese/vnless/files/patch-05 @@ -0,0 +1,13 @@ +--- regerror.c.orig Mon Feb 24 12:45:41 1992 ++++ regerror.c Wed Dec 4 02:42:23 1996 +@@ -1,7 +1,9 @@ + #include <stdio.h> ++ ++#ifdef FBSD_HAS_THIS_IN_LIBCOMPAT + regerror(str) + char *str; + { + /* fprintf(stderr,"%s\n",str); */ + } +- ++#endif diff --git a/vietnamese/vnless/pkg-comment b/vietnamese/vnless/pkg-comment new file mode 100644 index 000000000000..8cbaeccdb5ce --- /dev/null +++ b/vietnamese/vnless/pkg-comment @@ -0,0 +1 @@ +A pager utility that speaks Vietnamese diff --git a/vietnamese/vnless/pkg-descr b/vietnamese/vnless/pkg-descr new file mode 100644 index 000000000000..0c36450ca469 --- /dev/null +++ b/vietnamese/vnless/pkg-descr @@ -0,0 +1,12 @@ +A paginator similar to "more" or "pg", but much more powerful and speaks +Vietnamese. + +VNless is a port of a very old version of GNU's less that suports the display +of files written in the Vietnamese language using the VISCII (VIetnamese +Standard Code for Information Interchange) encoding. + +VNless should be run w/in a VNterm or simular terminal emulator supporting +Vietnamese language encodings. + +David O'Brien +obrien@cs.ucdavis.edu diff --git a/vietnamese/vnless/pkg-plist b/vietnamese/vnless/pkg-plist new file mode 100644 index 000000000000..7335bd831f44 --- /dev/null +++ b/vietnamese/vnless/pkg-plist @@ -0,0 +1,5 @@ +bin/vnless +bin/vnlesskey +share/misc/vnless.help +man/man1/vnless.1.gz +man/man1/vnlesskey.1.gz |