pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/cawf cawf 4.10 - from DESCR:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e84177410a1f
branches:  trunk
changeset: 487807:e84177410a1f
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Jan 20 17:59:12 2005 +0000

description:
cawf 4.10 - from DESCR:

Cawf is a C version of awf, Henry Spencer's Amazingly Workable (text)
Formatter.  (Awf is written in awk and appears in comp.sources.unix,
Volume 23, Issue 27.)  Cawf and awf provide a usable subset of raw nroff
capabilities and the styles of the man(7), me(7) (only cawf supports
me(7)), and ms(7) macro sets.

Like awf, cawf is completely independent of any licensed Unix source
code.  In comparison to awf, cawf supports more nroff functions and one
more macro set, me(7).

diffstat:

 textproc/cawf/DESCR            |   9 +++++++++
 textproc/cawf/Makefile         |  32 ++++++++++++++++++++++++++++++++
 textproc/cawf/PLIST            |  12 ++++++++++++
 textproc/cawf/distinfo         |   5 +++++
 textproc/cawf/patches/patch-aa |  28 ++++++++++++++++++++++++++++
 5 files changed, 86 insertions(+), 0 deletions(-)

diffs (106 lines):

diff -r a41f321b426e -r e84177410a1f textproc/cawf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/DESCR       Thu Jan 20 17:59:12 2005 +0000
@@ -0,0 +1,9 @@
+Cawf is a C version of awf, Henry Spencer's Amazingly Workable (text)
+Formatter.  (Awf is written in awk and appears in comp.sources.unix,
+Volume 23, Issue 27.)  Cawf and awf provide a usable subset of raw nroff
+capabilities and the styles of the man(7), me(7) (only cawf supports
+me(7)), and ms(7) macro sets.
+
+Like awf, cawf is completely independent of any licensed Unix source
+code.  In comparison to awf, cawf supports more nroff functions and one
+more macro set, me(7).
diff -r a41f321b426e -r e84177410a1f textproc/cawf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/Makefile    Thu Jan 20 17:59:12 2005 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/20 17:59:12 tv Exp $
+#
+
+DISTNAME=              cawf
+PKGNAME=               cawf-4.10
+CATEGORIES=            textproc
+MASTER_SITES=          http://www.tux.org/pub/sites/vic.cc.purdue.edu/
+DIST_SUBDIR=           ${PKGNAME_NOREV}
+EXTRACT_SUFX=          .zip
+
+MAINTAINER=            tv%duh.org@localhost
+HOMEPAGE=              http://www.tux.org/pub/sites/vic.cc.purdue.edu/
+COMMENT=               Simplistic nroff-like formatter in C, like "awf"
+
+WRKSRC=                        ${WRKDIR}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+USE_BUILDLINK3=                yes
+
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS+=             -DUNIX -DUSG -DSTDLIB -DCAWFLIB='\"${PREFIX}/share/cawf\"'
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bsfilt ${WRKSRC}/cawf ${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/*.1 ${PREFIX}/man/man1/
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/cawf
+       ${INSTALL_DATA} ${WRKSRC}/device.cf ${PREFIX}/share/cawf/
+       ${INSTALL_DATA} ${WRKSRC}/*.dev ${WRKSRC}/*.mac ${PREFIX}/share/cawf/
+       ${INSTALL_DATA} ${WRKSRC}/00diffs ${PREFIX}/share/cawf/DIFFS
+
+.include "../../mk/bsd.pkg.mk"
diff -r a41f321b426e -r e84177410a1f textproc/cawf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/PLIST       Thu Jan 20 17:59:12 2005 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/20 17:59:12 tv Exp $
+bin/bsfilt
+bin/cawf
+man/man1/bsfilt.1
+man/man1/cawf.1
+share/cawf/DIFFS
+share/cawf/device.cf
+share/cawf/dumb.dev
+share/cawf/man.mac
+share/cawf/me.mac
+share/cawf/ms.mac
+@dirrm share/cawf
diff -r a41f321b426e -r e84177410a1f textproc/cawf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/distinfo    Thu Jan 20 17:59:12 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/20 17:59:13 tv Exp $
+
+SHA1 (cawf-4.10/cawf.zip) = c16985f79c5d9b11de62dff6ed24d210ca12eb40
+Size (cawf-4.10/cawf.zip) = 287677 bytes
+SHA1 (patch-aa) = 21ff1ae5d3fb3a32cb855c2b4353ffbe62ebcd17
diff -r a41f321b426e -r e84177410a1f textproc/cawf/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/patches/patch-aa    Thu Jan 20 17:59:12 2005 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/20 17:59:13 tv Exp $
+
+--- Makefile.orig      2005-01-20 12:32:21.000000000 -0500
++++ Makefile
+@@ -34,10 +34,6 @@
+ #
+ #DEFS = -DUNIX -DMALLOCH
+ 
+-DEFS = -DUNIX -DSTDLIB -D_NEXT_SOURCE -ansi -pedantic
+-
+-CFLAGS = -O ${DEFS}
+-
+ HDR = ansi.h cawf.h cawflib.h proto.h regexp.h regmagic.h
+ 
+ SRC = cawf.c device.c error.c expand.c expr.c getopt.c macsup.c nreq.c \
+@@ -49,10 +45,10 @@ OBJ = cawf.o device.o error.o expand.o e
+ all:  bsfilt cawf
+ 
+ bsfilt: bsfilt.c
+-      ${CC} ${CFLAGS} bsfilt.c -o bsfilt
++      ${COMPILE.c} -o bsfilt bsfilt.c
+ 
+ cawf: ${OBJ}
+-      ${CC} ${CFLAGS} ${OBJ} -o cawf
++      ${LINK.c} -o cawf ${OBJ}
+ 
+ clean:
+       rm -f *.o a.out core *errs bsfilt cawf



Home | Main Index | Thread Index | Old Index