summaryrefslogtreecommitdiff
path: root/devel/libnet/buildlink2.mk
blob: ee39e4ffdf3bf681f8f9d87377741d6d928c14d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:32 jlam Exp $

.if !defined(LIBNET_BUILDLINK2_MK)
LIBNET_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libnet
BUILDLINK_DEPENDS.libnet?=	libnet-[0-9]*
BUILDLINK_PKGSRCDIR.libnet?=	../../devel/libnet

EVAL_PREFIX+=			BUILDLINK_PREFIX.libnet=libnet
BUILDLINK_PREFIX.libnet_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.libnet=		include/libnet.h
BUILDLINK_FILES.libnet+=	include/libnet/*
BUILDLINK_FILES.libnet+=	lib/libnet.*

BUILDLINK_TARGETS+=	libnet-buildlink

libnet-buildlink: _BUILDLINK_USE

.endif	# LIBNET_BUILDLINK2_MK