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
|
|
|
|
2005-01-16 09:53:46 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-27 16:14:30 +00:00
|
|
|
COMMENT= Receive, filter, read, compose and send mail at the text console
|
|
|
|
|
2004-08-08 15:56:52 +00:00
|
|
|
CONFLICTS= elmo-devel-*
|
|
|
|
|
2003-09-27 16:14:30 +00:00
|
|
|
GNU_CONFIGURE= 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
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAN1= elmo.1 elmoconf.pl.1
|
|
|
|
|
2006-08-07 13:57:21 +00:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
.endif
|
|
|
|
|
2004-08-07 07:40:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-12-21 08:59:42 +00:00
|
|
|
.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME)
|
|
|
|
LIB_DEPENDS+= gpgme03:${PORTSDIR}/security/gpgme03
|
2004-08-07 07:40:19 +00:00
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${ECHO_CMD} "Define WITH_GPGME=yes to build with gpgme support."
|
|
|
|
@${ECHO_CMD}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2004-08-07 15:42:12 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \
|
2004-08-07 07:40:19 +00:00
|
|
|
${WRKSRC}/src/elmoconf.pl
|
|
|
|
|
2004-08-07 15:42:12 +00:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-08-07 07:40:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|