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-08 15:51:46 +00:00
|
|
|
PORTVERSION= 1.3.1
|
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}
|
2004-08-08 15:51:46 +00:00
|
|
|
PKGNAMESUFFIX= -devel
|
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
|
|
|
|
|
2004-08-08 15:56:52 +00:00
|
|
|
CONFLICTS= elmo-[0-9]*
|
|
|
|
|
2003-09-27 16:14:30 +00:00
|
|
|
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
|
2004-08-08 15:51:46 +00:00
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
2004-08-07 07:40:19 +00:00
|
|
|
|
|
|
|
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:
|
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>
|