pkgsrc/devel/libconfig/buildlink3.mk
rillig 5422a0c913 Imported libconfig from pkgsrc-wip.
Libconfig is a simple library for manipulating structured configuration files.

Packaged by adam.hoka@gmail.com.
2007-11-03 14:58:01 +00:00

19 lines
605 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/11/03 14:58:01 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCONFIG_BUILDLINK3_MK:= ${LIBCONFIG_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libconfig
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibconfig}
BUILDLINK_PACKAGES+= libconfig
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libconfig
.if ${LIBCONFIG_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libconfig+= libconfig>=1.1.3
BUILDLINK_PKGSRCDIR.libconfig?= ../../devel/libconfig
.endif # LIBCONFIG_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}