2003-09-27 16:14:30 +00:00
|
|
|
# New ports collection makefile for: elmo
|
|
|
|
# Date created: 2003-09-27
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= elmo
|
2004-08-07 07:40:19 +00:00
|
|
|
PORTVERSION= 1.2.0
|
2003-09-27 16:14:30 +00:00
|
|
|
CATEGORIES= mail
|
2004-08-07 07:40:19 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-09-27 16:14:30 +00:00
|
|
|
|
2004-08-07 07:40:19 +00:00
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
2003-09-27 16:14:30 +00:00
|
|
|
COMMENT= Receive, filter, read, compose and send mail at the text console
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2004-03-30 19:20:22 +00:00
|
|
|
USE_ICONV= yes
|
2004-08-07 07:40:19 +00:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAN1= elmo.1 elmoconf.pl.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/lib/libgpgme.so) || defined(WITH_GPGME)
|
|
|
|
LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
|
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${ECHO_CMD} "Define WITH_GPGME=yes to build with gpgme support."
|
|
|
|
@${ECHO_CMD}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL}|" \
|
|
|
|
${WRKSRC}/src/elmoconf.pl
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|