summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-10 12:21:22 +0000
committerwiz <wiz@pkgsrc.org>2014-08-10 12:21:22 +0000
commit153677e5d87fe97a5d99b8000fe7293179fffdbb (patch)
treee1326491ba6a1939e2b083e45a16f627456c66fa /textproc
parent57243d7cd011901d67f18b28581480d3b8c0f773 (diff)
downloadpkgsrc-153677e5d87fe97a5d99b8000fe7293179fffdbb.tar.gz
Import igor-0.0.20140517 as textproc/igor.
The many rules for man pages and DocBook are a bit much to remember when months can pass between working on the various types. After not finding much to do automated checking, I slapped together a Perl program called "igor" that does some of this. At present it checks all types of files for repeated words ("is is"), common spelling mistakes collected from FreeBSD documents, FreeBSD obsolete features (just "cvsup" so far), bad phrases ("the to"), and bad whitespace (blank lines with whitespace or lines with trailing whitespace). There's a separate style check that makes some subjective suggestions. There are also particular tests for mdoc(7) and DocBook files.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/igor/DESCR12
-rw-r--r--textproc/igor/Makefile31
-rw-r--r--textproc/igor/PLIST4
-rw-r--r--textproc/igor/distinfo11
4 files changed, 58 insertions, 0 deletions
diff --git a/textproc/igor/DESCR b/textproc/igor/DESCR
new file mode 100644
index 00000000000..300716bb098
--- /dev/null
+++ b/textproc/igor/DESCR
@@ -0,0 +1,12 @@
+The many rules for man pages and DocBook are a bit much to remember when
+months can pass between working on the various types.
+
+After not finding much to do automated checking, I slapped together a
+Perl program called "igor" that does some of this. At present it checks
+all types of files for repeated words ("is is"), common spelling
+mistakes collected from FreeBSD documents, FreeBSD obsolete features
+(just "cvsup" so far), bad phrases ("the to"), and bad whitespace (blank
+lines with whitespace or lines with trailing whitespace).
+There's a separate style check that makes some subjective suggestions.
+
+There are also particular tests for mdoc(7) and DocBook files.
diff --git a/textproc/igor/Makefile b/textproc/igor/Makefile
new file mode 100644
index 00000000000..e7d9eb2e010
--- /dev/null
+++ b/textproc/igor/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2014/08/10 12:21:22 wiz Exp $
+
+DISTNAME= igor
+PKGNAME= igor-0.0.20140517
+CATEGORIES= textproc
+MASTER_SITES= http://www.wonkity.com/~wblock/igor/
+DISTFILES= igor igor.pdf readme.txt
+EXTRACT_SUFX= # none
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.wonkity.com/~wblock/igor/
+COMMENT= FreeBSD Project documentation sanity checker
+LICENSE= 2-clause-bsd
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+REPLACE_PERL= igor
+
+INSTALLATION_DIRS= bin share/doc/igor
+
+do-build:
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/igor ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/igor.pdf ${DESTDIR}${PREFIX}/share/doc/igor
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/igor
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/igor/PLIST b/textproc/igor/PLIST
new file mode 100644
index 00000000000..7825e50901b
--- /dev/null
+++ b/textproc/igor/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/10 12:21:22 wiz Exp $
+bin/igor
+share/doc/igor/igor.pdf
+share/doc/igor/readme.txt
diff --git a/textproc/igor/distinfo b/textproc/igor/distinfo
new file mode 100644
index 00000000000..e4c9e0fb52f
--- /dev/null
+++ b/textproc/igor/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2014/08/10 12:21:22 wiz Exp $
+
+SHA1 (igor-20140517/igor) = a4aacf6446c1442680e7a41c703f98099b757237
+RMD160 (igor-20140517/igor) = 863486a9d198c83f1d68c3e1a85ff22b02e44c1d
+Size (igor-20140517/igor) = 59454 bytes
+SHA1 (igor-20140517/igor.pdf) = 60f4cf911351f89bcc93af72c1943cf913e68eb2
+RMD160 (igor-20140517/igor.pdf) = 97bfbc41570ce7513ef6e63e6a633fce7b4ec09a
+Size (igor-20140517/igor.pdf) = 319381 bytes
+SHA1 (igor-20140517/readme.txt) = 04dfc4fca773bb0d700de04c8ab8009104dbacf8
+RMD160 (igor-20140517/readme.txt) = dda23e5bf173d7406456d973ea43c191f99d3c84
+Size (igor-20140517/readme.txt) = 3691 bytes