diff options
Diffstat (limited to 'mail/libesmtp/buildlink2.mk')
-rw-r--r-- | mail/libesmtp/buildlink2.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/libesmtp/buildlink2.mk b/mail/libesmtp/buildlink2.mk new file mode 100644 index 00000000000..bf104cfe263 --- /dev/null +++ b/mail/libesmtp/buildlink2.mk @@ -0,0 +1,26 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/09/22 13:01:24 cjep Exp $ + +.if !defined(LIBESMTP_BUILDLINK2_MK) +LIBESMTP_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libesmtp +BUILDLINK_DEPENDS.libesmtp?= libesmtp>=1.0rc1 +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 +.endif + +CONFIGURE_ENV+= LIBESMTP="${LIBESMTP}" +MAKE_ENV+= LIBESMTP="${LIBESMTP}" + +BUILDLINK_TARGETS+= libesmtp-buildlink + +libesmtp-buildlink: _BUILDLINK_USE + +.endif # LIBESMTP_BUILDLINK2_MK |