diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-12-14 00:29:34 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-12-14 00:29:34 +0000 |
commit | 1e193f9abb4a5e81186589504d1fdde86e47a912 (patch) | |
tree | 338e2bdec4b962fba7490b23afe88afe11e4b752 /textproc/docdiff | |
parent | bf47b1ab7d3aac5b3a8e82945eaf15958dc5a826 (diff) |
Add port textproc/docdiff:
DocDiff compares two files and shows the difference. It can compare
files word by word, char by char, or line by line. It has several
output formats such as HTML, tty, Manued, or user-defined markup.
WWW: http://www.kt.rim.or.jp/~hisashim/docdiff/
Author: Hisashi MORITA <hisashim at kt dot rim dot or dot jp>
Inspired by: Debian package
Notes
Notes:
svn path=/head/; revision=203515
Diffstat (limited to 'textproc/docdiff')
-rw-r--r-- | textproc/docdiff/Makefile | 37 | ||||
-rw-r--r-- | textproc/docdiff/distinfo | 3 | ||||
-rw-r--r-- | textproc/docdiff/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/docdiff/pkg-plist | 21 |
4 files changed, 67 insertions, 0 deletions
diff --git a/textproc/docdiff/Makefile b/textproc/docdiff/Makefile new file mode 100644 index 000000000000..d152fabd0705 --- /dev/null +++ b/textproc/docdiff/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: docdiff +# Date created: 13 December 2007 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= docdiff +PORTVERSION= 0.3.4 +CATEGORIES= textproc +MASTER_SITES= SF + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Compare text word by word + +RUN_DEPENDS= *ruby*-uconv>=0:${PORTSDIR}/japanese/ruby-uconv + +USE_RUBY= yes +NO_BUILD= yes +PORTDOCS= readme.html readme.en.html readme.ja.html + +post-patch: + @${REINPLACE_CMD} -e '1s|#!.*|#!${RUBY}|;/ :format/s|html|tty|;\ + /SystemConfigFileName =/s|etc.*conf|${PREFIX}/etc/${PORTNAME}.conf|;\ + s|/etc/docdiff/docdiff.conf|${PREFIX}/etc/${PORTNAME}.conf|'\ + ${WRKSRC}/${PORTNAME}.rb + +do-install: + @cd ${WRKSRC}/&&${COPYTREE_SHARE} ${PORTNAME}/ ${RUBY_SITELIBDIR}/ + @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb ${PREFIX}/bin/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.example ${PREFIX}/etc/ +.ifndef NOPORTDOCS + @${INSTALL} -d ${DOCSDIR}/ + @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/textproc/docdiff/distinfo b/textproc/docdiff/distinfo new file mode 100644 index 000000000000..bdf525260852 --- /dev/null +++ b/textproc/docdiff/distinfo @@ -0,0 +1,3 @@ +MD5 (docdiff-0.3.4.tar.gz) = 3a848d7dd3664e7a4323df29c0614d82 +SHA256 (docdiff-0.3.4.tar.gz) = e0843efe9fe55425e692ed47f791b37174928889b11d569cb128f5343dc96040 +SIZE (docdiff-0.3.4.tar.gz) = 207003 diff --git a/textproc/docdiff/pkg-descr b/textproc/docdiff/pkg-descr new file mode 100644 index 000000000000..914cc0532075 --- /dev/null +++ b/textproc/docdiff/pkg-descr @@ -0,0 +1,6 @@ +DocDiff compares two files and shows the difference. It can compare +files word by word, char by char, or line by line. It has several +output formats such as HTML, tty, Manued, or user-defined markup. + +WWW: http://www.kt.rim.or.jp/~hisashim/docdiff/ +Author: Hisashi MORITA <hisashim at kt dot rim dot or dot jp> diff --git a/textproc/docdiff/pkg-plist b/textproc/docdiff/pkg-plist new file mode 100644 index 000000000000..cb2f6f504b85 --- /dev/null +++ b/textproc/docdiff/pkg-plist @@ -0,0 +1,21 @@ +bin/docdiff +etc/docdiff.conf.example +%%RUBY_SITELIBDIR%%/docdiff/charstring.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/diff.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 +@dirrm %%RUBY_SITELIBDIR%%/docdiff/diff +@dirrm %%RUBY_SITELIBDIR%%/docdiff/encoding +@dirrm %%RUBY_SITELIBDIR%%/docdiff |