blob: 1d4e2bf637e36c97c7d484ac4f8ab4e1a8bbc988 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: libesmtp
# Date created: Sun Feb 21 2001
# Whom: tobez@tobez.org
#
# $FreeBSD$
PORTNAME= libesmtp
PORTVERSION= 1.0.4
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \
http://www.borgsdemons.com/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= mnag@FreeBSD.org
COMMENT= A library for posting electronic mail
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# require-all-recipients (implied by enable-all) is required for Balsa
CONFIGURE_ARGS= --enable-all --disable-isoc
OPTIONS= OPENSSL "Enable TLS support" on \
DEBUG "Enables debugging support" off
DOCS= AUTHORS ChangeLog NEWS Notes README TODO
EXAMPLES= examples/*
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_OPENSSL)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
PLIST_SUB+= NEED_OPENSSL=""
.else
CONFIGURE_ARGS+= --without-openssl
PLIST_SUB+= NEED_OPENSSL="@comment "
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|