summaryrefslogtreecommitdiff
path: root/mail/libesmtp/buildlink2.mk
blob: 455abc1b21cc5e469157c7b1d3efb9f113c1dfff (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
# $NetBSD: buildlink2.mk,v 1.3 2003/05/02 11:55:39 wiz Exp $

.if !defined(LIBESMTP_BUILDLINK2_MK)
LIBESMTP_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libesmtp
BUILDLINK_DEPENDS.libesmtp?=	libesmtp>=1.0rc1nb1
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