aboutsummaryrefslogtreecommitdiff
path: root/textproc/idnits
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2006-01-05 02:34:42 +0000
committerBill Fenner <fenner@FreeBSD.org>2006-01-05 02:34:42 +0000
commit59f737488c80f36929d8f2e4018742fd16327ac9 (patch)
treeb66ffd59c134ba4742108ddc83dfb442fa47a7a2 /textproc/idnits
parentfba8a7b7b76cb501e3f480e9b255f6c54dfac2b9 (diff)
downloadports-59f737488c80f36929d8f2e4018742fd16327ac9.tar.gz
ports-59f737488c80f36929d8f2e4018742fd16327ac9.zip
idnits uses bash-specific features, so RUN_DEPENDS on it and patch
the hash-bang line in the script.
Notes
Notes: svn path=/head/; revision=152775
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