summaryrefslogtreecommitdiff
path: root/mail/libesmtp/buildlink2.mk
blob: 4975fad1d1f38f2a7ec2d7c77edd9dd7eda47506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: buildlink2.mk,v 1.4 2004/03/26 02:27:44 wiz Exp $

.if !defined(LIBESMTP_BUILDLINK2_MK)
LIBESMTP_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libesmtp
BUILDLINK_DEPENDS.libesmtp?=	libesmtp>=1.0rc1nb1
BUILDLINK_RECOMMENDED.libesmtp?=	libesmtp>=1.0.1nb2
BUILDLINK_PKGSRCDIR.libesmtp?=	../../mail/libesmtp

EVAL_PREFIX+=	BUILDLINK_PREFIX.libesmtp=libesmtp
BUILDLINK_PREFIX.libesmtp_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.libesmtp=	include/libesmtp.h
BUILDLINK_FILES.libesmtp+=	include/auth-client.h
BUILDLINK_FILES.libesmtp+=	include/auth-plugin.h
BUILDLINK_FILES.libesmtp+=	lib/libesmtp.*
LIBESMTP=			-lesmtp

CONFIGURE_ENV+=			LIBESMTP="${LIBESMTP}"
MAKE_ENV+=			LIBESMTP="${LIBESMTP}"

BUILDLINK_TARGETS+=		libesmtp-buildlink

libesmtp-buildlink: _BUILDLINK_USE

.endif	# LIBESMTP_BUILDLINK2_MK