00abf90bb3
Remove Balsa site and volunteer maintainer's own personal website to host the tarball. Prune obsolete configure flags. Make PTHREADs functional. PR: 31546 Submitted by: Maintainer
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: libesmtp
|
|
# Date created: Sun Feb 21 2001
|
|
# Whom: tobez@tobez.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libesmtp
|
|
PORTVERSION= 0.8.6
|
|
PORTREVISION= 2
|
|
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= jmcoopr@webmail.bmi.net
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_OPENSSL= yes
|
|
USE_AUTOCONF= yes
|
|
USE_LIBTOOL= yes
|
|
LIBTOOLFILES= ${WRKSRC}/aclocal.m4 ${WRKSRC}/libltdl/aclocal.m4
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
# require-all-recipients is required for Balsa-1.2.x
|
|
CONFIGURE_ARGS= --enable-require-all-recipients \
|
|
--enable-etrn \
|
|
--disable-ltdl-install
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure.in
|
|
|
|
pre-build:
|
|
@${CP} ${WRKSRC}/libltdl/libtool ${WRKSRC}/libtool
|
|
|
|
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>
|