2003-09-27 18:14:30 +02:00
|
|
|
# New ports collection makefile for: elmo
|
|
|
|
# Date created: 2003-09-27
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= elmo
|
2004-10-14 17:33:10 +02:00
|
|
|
PORTVERSION= 1.3.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-09-27 18:14:30 +02:00
|
|
|
CATEGORIES= mail
|
2004-08-07 09:40:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-08-08 17:51:46 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2003-09-27 18:14:30 +02:00
|
|
|
|
2005-01-16 10:53:46 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-27 18:14:30 +02:00
|
|
|
COMMENT= Receive, filter, read, compose and send mail at the text console
|
|
|
|
|
2004-08-08 17:56:52 +02:00
|
|
|
CONFLICTS= elmo-[0-9]*
|
|
|
|
|
2003-09-27 18:14:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-30 21:20:22 +02:00
|
|
|
USE_ICONV= yes
|
2004-08-07 09:40:19 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_PERL5_RUN= yes
|
2004-08-08 17:51:46 +02:00
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
2004-08-07 09:40:19 +02:00
|
|
|
|
|
|
|
MAN1= elmo.1 elmoconf.pl.1
|
|
|
|
|
2006-08-07 15:35:49 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
.endif
|
|
|
|
|
2004-08-07 09:40:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-12-21 09:59:42 +01:00
|
|
|
.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME)
|
|
|
|
LIB_DEPENDS+= gpgme03:${PORTSDIR}/security/gpgme03
|
2004-08-07 09:40:19 +02: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 17:42:12 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \
|
2004-08-07 09:40:19 +02:00
|
|
|
${WRKSRC}/src/elmoconf.pl
|
|
|
|
|
2004-08-07 17:42:12 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-08-07 09:40:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|