aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-08-05 01:04:18 +0800
committerMatthew Hunt <mph@FreeBSD.org>1998-08-05 01:04:18 +0800
commit960c51703644ab1e9beedd2fc64446af7999110c (patch)
tree6d79a858e1e7877a58763c33e7d181e02ec9c034 /misc
parent6dfbf36a01d6c450fe94feb45aea95b4edd637b4 (diff)
downloadfreebsd-ports-960c51703644ab1e9beedd2fc64446af7999110c.tar.gz
freebsd-ports-960c51703644ab1e9beedd2fc64446af7999110c.tar.zst
freebsd-ports-960c51703644ab1e9beedd2fc64446af7999110c.zip
Import of GNU diction and style, for finding possible errors in
text and evaluating its readability. I think I will stick with my brain in my quest to clean up */*/pkg/DESCR; while slower, I'll bet it's more accurate. :-) PR: 7479 Submitted by: J Han <hjh@best.com>
Notes
Notes: svn path=/head/; revision=12273
Diffstat (limited to 'misc')
-rw-r--r--misc/diction/Makefile22
-rw-r--r--misc/diction/distinfo1
-rw-r--r--misc/diction/files/patch-aa20
-rw-r--r--misc/diction/pkg-comment1
-rw-r--r--misc/diction/pkg-descr17
-rw-r--r--misc/diction/pkg-plist8
6 files changed, 69 insertions, 0 deletions
diff --git a/misc/diction/Makefile b/misc/diction/Makefile
new file mode 100644
index 000000000000..eda9fa7f5130
--- /dev/null
+++ b/misc/diction/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: diction
+# Version required: 0.6
+# Date created: 2 August 1998
+# Whom: J Han <hjh@best.com>
+#
+# $Id$
+#
+
+DISTNAME= diction-0.6
+CATEGORIES= misc
+MASTER_SITES= ftp://cantor.informatik.rwth-aachen.de/pub/unix/
+
+MAINTAINER= hjh@best.com
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAKE_ENV= MKDIR="$(MKDIR)"
+
+MAN1= diction.1 style.1
+
+.include <bsd.port.mk>
diff --git a/misc/diction/distinfo b/misc/diction/distinfo
new file mode 100644
index 000000000000..719fe7d548fa
--- /dev/null
+++ b/misc/diction/distinfo
@@ -0,0 +1 @@
+MD5 (diction-0.6.tar.gz) = a3fe587e57434193a8cd8713f90eaa3e
diff --git a/misc/diction/files/patch-aa b/misc/diction/files/patch-aa
new file mode 100644
index 000000000000..eaee92934c82
--- /dev/null
+++ b/misc/diction/files/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Tue Aug 4 12:55:19 1998
++++ Makefile.in Tue Aug 4 12:55:52 1998
+@@ -29,14 +29,14 @@
+ sed -e s+/usr/share+$(SHAREDIR)+ diction.1.in >$@
+
+ install: all
+- $(INSTALL) -m 755 -d $(BINDIR)
++ $(MKDIR) $(BINDIR)
+ $(INSTALL_PROGRAM) -s diction $(BINDIR)/diction
+ $(INSTALL_PROGRAM) -s style $(BINDIR)/style
+- $(INSTALL) -m 755 -d $(SHAREDIR)/diction
++ $(MKDIR) $(SHAREDIR)/diction
+ $(INSTALL_DATA) de $(SHAREDIR)/diction/de
+ $(INSTALL_DATA) en $(SHAREDIR)/diction/en
+ (cd $(SHAREDIR)/diction; rm -f C; ln en C)
+- $(INSTALL) -m 755 -d $(MANDIR)/man1
++ $(MKDIR) $(MANDIR)/man1
+ $(INSTALL_DATA) diction.1 $(MANDIR)/man1/diction.1
+ $(INSTALL_DATA) style.1 $(MANDIR)/man1/style.1
+
diff --git a/misc/diction/pkg-comment b/misc/diction/pkg-comment
new file mode 100644
index 000000000000..b7f0f69b0e57
--- /dev/null
+++ b/misc/diction/pkg-comment
@@ -0,0 +1 @@
+GNU diction and style
diff --git a/misc/diction/pkg-descr b/misc/diction/pkg-descr
new file mode 100644
index 000000000000..8b7b518ad9d8
--- /dev/null
+++ b/misc/diction/pkg-descr
@@ -0,0 +1,17 @@
+This is the snapshot release 0.6 beta of GNU diction and style, free
+implementations of old standard unix commands. For some reason,
+many modern systems lack them. Diction prints wordy and commonly
+misused phrases. Style analyses surface characteristics of a document,
+e.g. sentence length and various readability measures.
+
+Both commands support English and German documents.
+
+--
+http://www.fsf.org/software/diction/diction.html
+
+GNU style and diction are written by Michael Haardt
+
+http://cantor.informatik.rwth-aachen.de/~michael/
+
+--
+J Han <hjh@best.com>
diff --git a/misc/diction/pkg-plist b/misc/diction/pkg-plist
new file mode 100644
index 000000000000..5f9cd90b6c9c
--- /dev/null
+++ b/misc/diction/pkg-plist
@@ -0,0 +1,8 @@
+bin/diction
+bin/style
+man/man1/diction.1.gz
+man/man1/style.1.gz
+share/diction/C
+share/diction/de
+share/diction/en
+@dirrm share/diction