2003-08-15 04:49:45 +02:00
|
|
|
# ports collection Makefile for: cone
|
|
|
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
|
|
|
# Date created: 2003-06-19
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cone
|
2006-02-18 22:44:09 +01:00
|
|
|
PORTVERSION= 0.66.20060215
|
2003-08-15 04:49:45 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
# This is for beta versions, leave it in please:
|
2006-02-14 09:27:06 +01:00
|
|
|
MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/ \
|
|
|
|
http://www.lerctr.org/~ler/
|
2003-08-15 04:49:45 +02:00
|
|
|
# This is for release versions, leave it in please:
|
2006-02-14 09:27:06 +01:00
|
|
|
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
#MASTER_SITE_SUBDIR= courier
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2006-02-12 05:24:12 +01:00
|
|
|
MAINTAINER= ler@lerctr.org
|
2003-11-03 22:33:26 +01:00
|
|
|
COMMENT= Console based mail client with POP3/IMAP/SMAP support
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2005-07-14 22:50:14 +02:00
|
|
|
LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell
|
2003-12-04 13:03:10 +01:00
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
2003-11-03 22:33:26 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2005-06-27 03:10:57 +02:00
|
|
|
USE_FAM= yes
|
2004-04-18 18:55:34 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
2005-07-14 22:50:14 +02:00
|
|
|
USE_GNOME= libxml2
|
2004-04-18 18:55:34 +02:00
|
|
|
|
2003-08-15 04:49:45 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PERL5= yes
|
2003-11-03 22:33:26 +01:00
|
|
|
USE_GMAKE= yes
|
2003-08-15 04:49:45 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-02-12 11:23:42 +01:00
|
|
|
CONFIGURE_ARGS= -C --without-db --with-certdb --prefix=${PREFIX} --exec-prefix=${PREFIX}
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2003-10-06 10:16:28 +02:00
|
|
|
CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash" LDFLAGS=-L${LOCALBASE}/lib \
|
2003-08-15 04:49:45 +02:00
|
|
|
CPPFLAGS=-I${LOCALBASE}/include
|
2005-06-27 03:10:57 +02:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2003-08-15 04:49:45 +02:00
|
|
|
MAN1= cone.1 leaf.1 mailtool.1
|
2004-04-18 18:55:34 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2003-08-15 04:49:45 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${PREFIX}/sbin/cone-sysconftool
|
|
|
|
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PORTNAME} POST-INSTALL
|
|
|
|
${RM} -f ${PREFIX}/share/cone/rootcerts/.0
|
2004-04-18 18:55:34 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
|
|
|
.endif
|
2003-08-15 04:49:45 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-06-14 17:17:55 +02:00
|
|
|
.if ${OSVERSION} < 502010
|
2005-07-14 22:50:14 +02:00
|
|
|
IGNORE= not supported on FreeBSD versions before 5.2.1-RELEASE
|
2003-08-15 04:49:45 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|