diff options
-rw-r--r-- | vietnamese/vnroff/Makefile | 38 | ||||
-rw-r--r-- | vietnamese/vnroff/distinfo | 2 | ||||
-rw-r--r-- | vietnamese/vnroff/files/patch-01 | 20 | ||||
-rw-r--r-- | vietnamese/vnroff/files/patch-02 | 51 | ||||
-rw-r--r-- | vietnamese/vnroff/pkg-comment | 1 | ||||
-rw-r--r-- | vietnamese/vnroff/pkg-descr | 7 | ||||
-rw-r--r-- | vietnamese/vnroff/pkg-plist | 2 |
7 files changed, 121 insertions, 0 deletions
diff --git a/vietnamese/vnroff/Makefile b/vietnamese/vnroff/Makefile new file mode 100644 index 000000000000..cf619940ffe1 --- /dev/null +++ b/vietnamese/vnroff/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# Ports collection makefile for: vnTeX +# Version required: 2.0 +# Date created: Monday, Dec 9, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $ +# + +PKGNAME= vn-vnroff-2.0 +CATEGORIES= vietnamese +MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Troff/ +DISTFILES= vnroff.c.Z vnroff.1.Z + +MAINTAINER= obrien@cs.ucdavis.edu + +NO_WRKSUBDIR= yes +MAN1= vnroff.1 + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + @(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.c.Z \ + | /usr/bin/sed -e '1,/-cut here-/d' \ + > vnroff.c) + @(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.1.Z \ + | /usr/bin/sed -e '1,/Status:/d' -e '//,//d' \ + | /usr/bin/sed -e '1,1d' \ + > vnroff.1) + +do-build: + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o vnroff vnroff.c) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/vnroff ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/vnroff.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/vietnamese/vnroff/distinfo b/vietnamese/vnroff/distinfo new file mode 100644 index 000000000000..83e612ef029a --- /dev/null +++ b/vietnamese/vnroff/distinfo @@ -0,0 +1,2 @@ +MD5 (vnroff.c.Z) = 873d72108800be359a51e8c3a18cdbec +MD5 (vnroff.1.Z) = 50331cee1a7e715db25c32311901154b diff --git a/vietnamese/vnroff/files/patch-01 b/vietnamese/vnroff/files/patch-01 new file mode 100644 index 000000000000..a50368e29e5f --- /dev/null +++ b/vietnamese/vnroff/files/patch-01 @@ -0,0 +1,20 @@ +--- vnroff.c.orig Tue Dec 10 04:12:31 1996 ++++ vnroff.c Tue Dec 10 04:13:02 1996 +@@ -19,7 +19,7 @@ + * #define Dau_Mu '^' * + * #define Dau_Trang '(' * + * #define Dau_Rau '+' * +- * #define Escape_Symbol '#' * ++ * #define Escape_Symbol '\\' * + * * + * Change them to any symbol you are comfortable with. * + * * +@@ -54,7 +54,7 @@ + #define Dau_Mu '^' + #define Dau_Trang '(' + #define Dau_Rau '+' +-#define Escape_Symbol '#' ++#define Escape_Symbol '\\' + + #define NON 0 /* ^ as in a^ */ + #define RAU 1 /* + as in u+, o+ */ diff --git a/vietnamese/vnroff/files/patch-02 b/vietnamese/vnroff/files/patch-02 new file mode 100644 index 000000000000..4fc14a276a0b --- /dev/null +++ b/vietnamese/vnroff/files/patch-02 @@ -0,0 +1,51 @@ +--- vnroff.1.orig Wed Dec 25 04:16:16 1996 ++++ vnroff.1 Wed Dec 25 04:29:49 1996 +@@ -1,21 +1,21 @@ + .TH vnroff 1 + .SH NAME +-vnroff \- Vietnamese pre-processor for troff ++vnroff \- Vietnamese pre-processor for groff + .SH SYNTAX + .B vnroff +-filename | troff [\fItroff-options\fR] ++filename | groff [\fIgroff-options\fR] + .SH DESCRIPTION +-.NXB "troff command" ++.NXB "groff command" + This program processes a text file with special Vietnamese character + sequences giving an output suitable for +-.I troff(1) ++.I groff(1) + processing. + The output should work for all point sizes supported by +-.I troff(1) ++.I groff(1) + .sp + The default diacritical marks are defined as: + .br +- Dau_Sac \\ ++ Dau_Sac \' + Dau_Huyen ` + Dau_Hoi ? + Dau_Nga ~ +@@ -23,7 +23,7 @@ + Dau_Mu ^ + Dau_Trang ( + Dau_Rau + +- Escape_Symbol # ++ Escape_Symbol \\ + .sp + .SH SPELLING RULES + Only one diacritical mark: +@@ -43,7 +43,10 @@ + .br + i.e: the question Anh ddi dda^u? + .br +- should be typed Anh ddi dda^u#? ++ should be typed Anh ddi dda^u\\? ++.SH SEE ALSO ++groff(1), ++troff(1) + .SH AUTHORS + Written in Pascal by Hu+~u (University of California at Berkeley). + Converted to C & modified by Tra^`n H. Nha^n (Concurrent Computer). diff --git a/vietnamese/vnroff/pkg-comment b/vietnamese/vnroff/pkg-comment new file mode 100644 index 000000000000..9fa750f9f588 --- /dev/null +++ b/vietnamese/vnroff/pkg-comment @@ -0,0 +1 @@ +converts Vietnamese VIQR text into troff format diff --git a/vietnamese/vnroff/pkg-descr b/vietnamese/vnroff/pkg-descr new file mode 100644 index 000000000000..d12924c5324c --- /dev/null +++ b/vietnamese/vnroff/pkg-descr @@ -0,0 +1,7 @@ +VNroff converts VIQR format Vietnamese characters into troff format so +groff/troff can print it out. + + To use this program: + + vnroff file | groff | ... or + vnroff file | whater_program_that_print_out_a_troff_file diff --git a/vietnamese/vnroff/pkg-plist b/vietnamese/vnroff/pkg-plist new file mode 100644 index 000000000000..b8989a738845 --- /dev/null +++ b/vietnamese/vnroff/pkg-plist @@ -0,0 +1,2 @@ +bin/vnroff +man/man1/vnroff.1.gz |