aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/idnits
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2006-01-05 10:34:42 +0800
committerfenner <fenner@FreeBSD.org>2006-01-05 10:34:42 +0800
commitc3b827c1bfd109ddccfd6107af4ea70749e398ce (patch)
tree56abc7b4f9bf9be56973658cdc15769af3894a76 /textproc/idnits
parent8f2cea92982b7d816417805cace117a546afd725 (diff)
downloadfreebsd-ports-gnome-c3b827c1bfd109ddccfd6107af4ea70749e398ce.tar.gz
freebsd-ports-gnome-c3b827c1bfd109ddccfd6107af4ea70749e398ce.tar.zst
freebsd-ports-gnome-c3b827c1bfd109ddccfd6107af4ea70749e398ce.zip
idnits uses bash-specific features, so RUN_DEPENDS on it and patch
the hash-bang line in the script.
Diffstat (limited to 'textproc/idnits')
-rw-r--r--textproc/idnits/Makefile2
-rw-r--r--textproc/idnits/files/patch-idnits11
2 files changed, 13 insertions, 0 deletions
diff --git a/textproc/idnits/Makefile b/textproc/idnits/Makefile
index b47a904f8dfb..86e7cf9f6eee 100644
--- a/textproc/idnits/Makefile
+++ b/textproc/idnits/Makefile
@@ -13,6 +13,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= fenner@FreeBSD.Org
COMMENT= Looks for problems in internet draft formatting
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
NO_BUILD= YES
do-install:
diff --git a/textproc/idnits/files/patch-idnits b/textproc/idnits/files/patch-idnits
new file mode 100644
index 000000000000..597aa55c79ab
--- /dev/null
+++ b/textproc/idnits/files/patch-idnits
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- idnits.orig
++++ idnits
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+ #
+ # 'idnits' looks for violations of Section 2.1 and 2.2 of the
+ # requirements listed on http://www.ietf.org/ID-Checklist.html