stu 1c4de51ffa Import devel/diffutiltcl.
OK sthen@

A Tcl extension providing utilities for comparisons of strings, lists and files.

The base comparison is a Longest Common Substring algorithm based on
J. W. Hunt and M. D. McIlroy, "An algorithm for differential file comparison,"
Comp. Sci. Tech. Rep. #41, Bell Telephone Laboratories (1976).
Available on the Web at the second author's personal site:
http://www.cs.dartmouth.edu/~doug/

It is basically an LCS diff algorithm implemented in C on top of Tcl's API,
thus giving full Unicode and VFS support.
2018-02-23 16:33:00 +00:00

36 lines
817 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/02/23 16:33:00 stu Exp $
COMMENT = diff functions for Tcl
V = 0.4.0
DISTNAME = diffutiltcl-${V}
GH_ACCOUNT = pspjuth
GH_PROJECT = DiffUtilTcl
GH_COMMIT = 6e65388c48ff21fc3a4ded3d1539892e6b50312e
CATEGORIES = devel
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/tcl
MODTCL_VERSION = 8.6
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
FAKE_FLAGS = PKG_DIR=diffutiltcl
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-tcl=${MODTCL_LIBDIR} --libdir=${MODTCL_TCLDIR}
TEST_TARGET = test
SUBST_VARS = VER
VER = ${V:S/.//g}
# No need to regen the docs
post-configure:
mkdir -p ${WRKBUILD}/doc
touch ${WRKBUILD}/doc/diffutil.{n,html}
.include <bsd.port.mk>