aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-01-02 15:10:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-01-02 15:10:16 +0000
commit9b6dfc441f50254c003eec8aff31aa0be86ae3ff (patch)
treea1eed5fb2c5bdec0cb290df68e94cb916b565acc /textproc
parent8ce416bed2b7e59c29018dd35029584dd2c6fae0 (diff)
downloadports-9b6dfc441f50254c003eec8aff31aa0be86ae3ff.tar.gz
ports-9b6dfc441f50254c003eec8aff31aa0be86ae3ff.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rubygem-docdiff/Makefile29
-rw-r--r--textproc/rubygem-docdiff/distinfo5
-rw-r--r--textproc/rubygem-docdiff/pkg-descr2
-rw-r--r--textproc/rubygem-docdiff/pkg-plist18
4 files changed, 10 insertions, 44 deletions
diff --git a/textproc/rubygem-docdiff/Makefile b/textproc/rubygem-docdiff/Makefile
index cafa706d0d1a..e43187e82927 100644
--- a/textproc/rubygem-docdiff/Makefile
+++ b/textproc/rubygem-docdiff/Makefile
@@ -2,36 +2,19 @@
# $FreeBSD$
PORTNAME= docdiff
-PORTVERSION= 0.4.0
-CATEGORIES= textproc
-MASTER_SITES= SF
+PORTVERSION= 0.5.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Compares two text files by word, by character, or by line
LICENSE= BSD3CLAUSE
-OPTIONS_DEFINE= DOCS
-
-NO_BUILD= yes
+NO_ARCH= yes
USE_RUBY= yes
-USES= shebangfix
-
-PORTDOCS= readme.html readme.en.html readme.ja.html
-
-SHEBANG_FILES= ${PORTNAME}.rb
-
-post-patch:
- @${REINPLACE_CMD} -e '/ :format/ s|html|tty|' \
- -e '/SystemConfigFileName =/ s|etc.*conf|${PREFIX}/etc/${PORTNAME}.conf|' \
- -e 's|/etc/${PORTNAME}/${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|' \
- ${WRKSRC}/${PORTNAME}.rb
+USES= gem
-do-install:
- cd ${WRKSRC}/${PORTNAME}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME}/
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.example ${STAGEDIR}${PREFIX}/etc/
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+PLIST_FILES= bin/docdiff
.include <bsd.port.mk>
diff --git a/textproc/rubygem-docdiff/distinfo b/textproc/rubygem-docdiff/distinfo
index 252e0d1b6695..b05fdf032fa2 100644
--- a/textproc/rubygem-docdiff/distinfo
+++ b/textproc/rubygem-docdiff/distinfo
@@ -1,2 +1,3 @@
-SHA256 (docdiff-0.4.0.tar.gz) = 38f1e7d7e02c1bab801aab32c8e366a73a228b40516c71e1c1d3888d3ae2a935
-SIZE (docdiff-0.4.0.tar.gz) = 212317
+TIMESTAMP = 1483308291
+SHA256 (rubygem/docdiff-0.5.0.gem) = 44510176e2bd635789975cde94cf822f2ddfad64cc76348ceaab9e8386633bb9
+SIZE (rubygem/docdiff-0.5.0.gem) = 203264
diff --git a/textproc/rubygem-docdiff/pkg-descr b/textproc/rubygem-docdiff/pkg-descr
index 8f4d64054b09..69d4d4ae6a2f 100644
--- a/textproc/rubygem-docdiff/pkg-descr
+++ b/textproc/rubygem-docdiff/pkg-descr
@@ -6,4 +6,4 @@ It supports several encodings and end-of-line characters, including ASCII (and
other single byte encodings such as ISO-8859-*), UTF-8, EUC-JP, Shift_JIS, CR,
LF, and CRLF.
-WWW: http://docdiff.sourceforge.net/
+WWW: https://github.com/hisashim/docdiff
diff --git a/textproc/rubygem-docdiff/pkg-plist b/textproc/rubygem-docdiff/pkg-plist
deleted file mode 100644
index b80073bd2d8e..000000000000
--- a/textproc/rubygem-docdiff/pkg-plist
+++ /dev/null
@@ -1,18 +0,0 @@
-bin/docdiff
-etc/docdiff.conf.example
-%%RUBY_SITELIBDIR%%/docdiff/charstring.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/contours.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/editscript.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/rcsdiff.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/shortestpath.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/speculative.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/subsequence.rb
-%%RUBY_SITELIBDIR%%/docdiff/diff/unidiff.rb
-%%RUBY_SITELIBDIR%%/docdiff/difference.rb
-%%RUBY_SITELIBDIR%%/docdiff/document.rb
-%%RUBY_SITELIBDIR%%/docdiff/encoding/en_ascii.rb
-%%RUBY_SITELIBDIR%%/docdiff/encoding/ja_eucjp.rb
-%%RUBY_SITELIBDIR%%/docdiff/encoding/ja_sjis.rb
-%%RUBY_SITELIBDIR%%/docdiff/encoding/ja_utf8.rb
-%%RUBY_SITELIBDIR%%/docdiff/view.rb