2003-08-14 22:49:45 -04:00
|
|
|
# ports collection Makefile for: cone
|
|
|
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
|
|
|
# Date created: 2003-06-19
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cone
|
2003-12-04 07:03:10 -05:00
|
|
|
PORTVERSION= 0.56
|
2004-02-04 00:21:48 -05:00
|
|
|
PORTREVISION= 1
|
2003-08-14 22:49:45 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
# This is for beta versions, leave it in please:
|
2003-11-03 16:33:26 -05:00
|
|
|
#MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/
|
2003-08-14 22:49:45 -04:00
|
|
|
# This is for release versions, leave it in please:
|
2003-11-03 16:33:26 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= courier
|
2003-08-14 22:49:45 -04:00
|
|
|
|
2004-02-26 12:30:10 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-03 16:33:26 -05:00
|
|
|
COMMENT= Console based mail client with POP3/IMAP/SMAP support
|
2003-08-14 22:49:45 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
2003-11-03 16:33:26 -05:00
|
|
|
aspell.15:${PORTSDIR}/textproc/aspell \
|
|
|
|
ncurses.5:${PORTSDIR}/devel/ncurses
|
2003-12-04 07:03:10 -05:00
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
2003-11-03 16:33:26 -05:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2003-08-14 22:49:45 -04:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PERL5= yes
|
2003-11-03 16:33:26 -05:00
|
|
|
USE_GMAKE= yes
|
2003-08-14 22:49:45 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= -C --without-db --prefix=${PREFIX} --exec-prefix=${PREFIX}
|
|
|
|
|
2003-10-06 04:16:28 -04:00
|
|
|
CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash" LDFLAGS=-L${LOCALBASE}/lib \
|
2003-08-14 22:49:45 -04:00
|
|
|
CPPFLAGS=-I${LOCALBASE}/include
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= cone.1 leaf.1 mailtool.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && make install-strip
|
2003-12-04 07:03:10 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-09-25 05:47:10 -04:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
2003-12-04 07:03:10 -05:00
|
|
|
.endif
|
2003-08-14 22:49:45 -04: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
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= "does not build on FreeBSD versions before FreeBSD 5"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|