aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-format
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
commitc6941c482ece145e97bdb2cd8f5ae1f8938298ea (patch)
tree6cba635ca6a0900686686afe6df65efafe2cb104 /textproc/ruby-format
parentfa4bf2ee1d039ae33718a8286802e7bf7ceb3387 (diff)
downloadports-c6941c482ece145e97bdb2cd8f5ae1f8938298ea.tar.gz
ports-c6941c482ece145e97bdb2cd8f5ae1f8938298ea.zip
Add DOCS option where PORTDOCS is in plist.
Notes
Notes: svn path=/head/; revision=362024
Diffstat (limited to 'textproc/ruby-format')
-rw-r--r--textproc/ruby-format/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/ruby-format/Makefile b/textproc/ruby-format/Makefile
index 41672c71a232..6a1d562b204b 100644
--- a/textproc/ruby-format/Makefile
+++ b/textproc/ruby-format/Makefile
@@ -16,6 +16,8 @@ USE_RUBY= yes
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
${RUBY} -i.orig -pe 'gsub(/"(format_test\.pl)/, "\"./\\1")' ${WRKSRC}/test_format.rb