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

PORTNAME=   libesmtp
PORTVERSION=    1.0
PORTREVISION=   1
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/

MAINTAINER= coop9211@uidaho.edu

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_OPENSSL=    yes
USE_LIBTOOL=    yes
USE_PERL5_BUILD=yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        PTHREAD_LIBS="${PTHREAD_LIBS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        LIBS="-L${LOCALBASE}/lib"

# require-all-recipients (implied by enable-all) is required for Balsa
CONFIGURE_ARGS= --enable-all --disable-isoc

post-install:
.ifndef(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/Notes ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>