2000-07-14 11:39:55 +02:00
|
|
|
# New ports collection makefile for: p5-Mail-CClient
|
|
|
|
# Date created: 01 July 2000
|
|
|
|
# Whom: Kelly Yancey <kbyanc@posi.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= CClient
|
2004-04-28 18:53:14 +02:00
|
|
|
PORTVERSION= 1.9
|
2000-07-14 11:39:55 +02:00
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
2003-10-02 19:18:12 +02:00
|
|
|
MASTER_SITE_SUBDIR= Mail/HDIAS
|
2000-07-14 11:39:55 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
DISTNAME= Mail-Cclient-${PORTVERSION}
|
|
|
|
|
2003-10-02 19:18:12 +02:00
|
|
|
MAINTAINER= mat@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Perl interface to the c-client mailbox API
|
2000-07-14 11:39:55 +02:00
|
|
|
|
2001-03-23 04:10:48 +01:00
|
|
|
LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
|
2000-07-14 11:39:55 +02:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2003-10-02 19:18:12 +02:00
|
|
|
CONFIGURE_ARGS= --cclient_dir=${LOCALBASE} \
|
|
|
|
--with-shared_cclient \
|
|
|
|
--with-pam \
|
|
|
|
--with-cclient-includes=${LOCALBASE}/include/c-client
|
2000-07-14 11:39:55 +02:00
|
|
|
|
|
|
|
MAN3= Mail::Cclient.3
|
|
|
|
|
2003-10-02 19:18:12 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's/-lc-client/-lc-client4/g;' \
|
|
|
|
-e 's/"-lc"/"-L\$$CCLIENT_DIR\/lib "/g;' \
|
|
|
|
-e 's/ -lpam_misc//g;' \
|
|
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
|
2000-07-14 11:39:55 +02:00
|
|
|
.include <bsd.port.mk>
|