diff --git a/textproc/Makefile b/textproc/Makefile index e1b1d2f22359..a3aa75c68a0d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -407,6 +407,7 @@ SUBDIR += libcss SUBDIR += libcsv SUBDIR += libcue + SUBDIR += libdiff SUBDIR += libe-book SUBDIR += libebml SUBDIR += libepubgen diff --git a/textproc/libdiff/Makefile b/textproc/libdiff/Makefile new file mode 100644 index 000000000000..ec1ebbbb3b89 --- /dev/null +++ b/textproc/libdiff/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= libdiff +PORTVERSION= 0.1.0 +CATEGORIES= textproc +MASTER_SITES= http://kristaps.bsd.lv/libdiff/snapshots/ + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Library to generate arbitrary sequence diffs + +LICENSE= ISCL + +PLIST_FILES= lib/libdiff.a \ + include/diff.h \ + man/man3/diff.3.gz +HAS_CONFIGURE= yes + +.include diff --git a/textproc/libdiff/distinfo b/textproc/libdiff/distinfo new file mode 100644 index 000000000000..95965cdc606e --- /dev/null +++ b/textproc/libdiff/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1537598498 +SHA256 (libdiff-0.1.0.tar.gz) = 2012d2eae9ecaf9717c77ecefd9bdff4e38f485d8b9ad8f916cff1fdf1151512 +SIZE (libdiff-0.1.0.tar.gz) = 19316 diff --git a/textproc/libdiff/pkg-descr b/textproc/libdiff/pkg-descr new file mode 100644 index 000000000000..afd745647e06 --- /dev/null +++ b/textproc/libdiff/pkg-descr @@ -0,0 +1,5 @@ +libdiff is a C library generating the shortest edit script, longest common +subsequence, and edit distance between arbitrary sequences of bytes. It derives +from Tatsuhiko Kubo's onp and dtl. + +WWW: https://github.com/kristapsdz/libdiff