f2c1924f11
Optimized edit distances for fuzzy matching, including Levenshtein and restricted Damerau-Levenshtein algorithms.
15 lines
504 B
Makefile
15 lines
504 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 23:13:39 pho Exp $
|
|
|
|
BUILDLINK_TREE+= hs-edit-distance
|
|
|
|
.if !defined(HS_EDIT_DISTANCE_BUILDLINK3_MK)
|
|
HS_EDIT_DISTANCE_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-edit-distance+= hs-edit-distance>=0.2.2
|
|
BUILDLINK_ABI_DEPENDS.hs-edit-distance+= hs-edit-distance>=0.2.2.1
|
|
BUILDLINK_PKGSRCDIR.hs-edit-distance?= ../../textproc/hs-edit-distance
|
|
|
|
.include "../../devel/hs-random/buildlink3.mk"
|
|
.endif # HS_EDIT_DISTANCE_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-edit-distance
|