summaryrefslogtreecommitdiffstats
path: root/mail/libesmtp/Makefile
blob: 34e692b8968dd7c8cc38df0f870d1242e1b71104 (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
# New ports collection makefile for:    libesmtp
# Date created:         Sun Feb 21 2001
# Whom:                 tobez@tobez.org
#
# $FreeBSD$

PORTNAME=	libesmtp
PORTVERSION=	0.8.6
CATEGORIES=	mail
MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp/ \
		http://www.theochem.kth.se/~pawsa/balsa/ \
		http://www.tobez.org/download/port-mirrors/mail/libesmtp/

MAINTAINER=	jmcoopr@webmail.bmi.net

LIB_DEPENDS=	ltdl.1:${PORTSDIR}/devel/libtool

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_OPENSSL=	yes
USE_AUTOCONF=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

# require-all-recipients is required for Balsa-1.1.7
CONFIGURE_ARGS=	--enable-require-all-recipients --enable-starttls

post-install:
.ifndef(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/examples/libesmtp
	${MKDIR} ${PREFIX}/share/doc/libesmtp
	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/libesmtp
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/libesmtp
	${INSTALL_DATA} ${WRKSRC}/Notes ${PREFIX}/share/doc/libesmtp
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libesmtp
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud