pkgsrc/geography/geos/buildlink3.mk

20 lines
582 B
Makefile

# $NetBSD: buildlink3.mk,v 1.7 2008/02/16 01:29:00 gdt Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GEOS_BUILDLINK3_MK:= ${GEOS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= geos
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngeos}
BUILDLINK_PACKAGES+= geos
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}geos
.if !empty(GEOS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.geos+= geos>=2.2.3
BUILDLINK_ABI_DEPENDS.geos?= geos>=3.0.0
BUILDLINK_PKGSRCDIR.geos?= ../../geography/geos
.endif # GEOS_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}