2001-03-07 10:52:05 +00:00
|
|
|
# New ports collection makefile for: libesmtp
|
|
|
|
# Date created: Sun Feb 21 2001
|
|
|
|
# Whom: tobez@tobez.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libesmtp
|
2001-11-18 22:48:04 +00:00
|
|
|
PORTVERSION= 0.8.7
|
2001-03-07 10:52:05 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
|
2001-10-30 21:59:31 +00:00
|
|
|
http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \
|
|
|
|
http://www.borgsdemons.com/distfiles/
|
2001-03-07 10:52:05 +00:00
|
|
|
|
2001-07-14 21:38:26 +00:00
|
|
|
MAINTAINER= jmcoopr@webmail.bmi.net
|
2001-03-07 10:52:05 +00:00
|
|
|
|
2001-07-14 21:38:26 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2001-07-20 09:58:19 +00:00
|
|
|
USE_OPENSSL= yes
|
2001-10-18 11:33:51 +00:00
|
|
|
USE_AUTOCONF= yes
|
2001-10-30 21:59:31 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFILES= ${WRKSRC}/aclocal.m4 ${WRKSRC}/libltdl/aclocal.m4
|
2001-03-07 10:52:05 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-11-18 22:48:04 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
2001-10-30 21:59:31 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
|
2001-11-18 22:48:04 +00:00
|
|
|
# require-all-recipients (implied by enable-all) is required for Balsa-1.2.x
|
|
|
|
CONFIGURE_ARGS= --enable-all \
|
2001-10-30 21:59:31 +00:00
|
|
|
--disable-ltdl-install
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${CP} ${WRKSRC}/libltdl/libtool ${WRKSRC}/libtool
|
2001-03-07 10:52:05 +00:00
|
|
|
|
|
|
|
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>
|