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
|
2012-12-26 18:38:13 +01:00
|
|
|
PORTVERSION= 0.90
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-08-15 04:49:45 +02:00
|
|
|
CATEGORIES= mail
|
2007-09-07 06:06:30 +02:00
|
|
|
# This is for beta versions, leave it in please:
|
|
|
|
#MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/ \
|
|
|
|
# http://www.lerctr.org/~ler/
|
|
|
|
# This is for release versions, leave it in please:
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION}
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2011-06-29 22:24:10 +02:00
|
|
|
MAINTAINER= uffe@uffe.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
|
2006-12-22 03:51:16 +01:00
|
|
|
BUILD_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
|
2012-01-21 18:40:15 +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
|
2011-04-11 10:34:17 +02:00
|
|
|
USE_NCURSES= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-08-15 04:49:45 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-09-10 13:47:54 +02:00
|
|
|
CONFIGURE_ARGS= -C --without-db --with-certdb=${PREFIX}/share/cone/rootcerts --prefix=${PREFIX} --exec-prefix=${PREFIX}
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2011-04-11 10:34:17 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash"
|
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
|
|
|
|
2007-02-11 20:19:20 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-03-09 13:18:05 +01:00
|
|
|
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
|
2007-02-11 20:19:20 +01:00
|
|
|
CPPFLAGS+= -I${WRKDIR} -D_XOPEN_SOURCE_EXTENDED
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKDIR}/ncursesw
|
|
|
|
${LN} -s ${LOCALBASE}/include/ncurses/ncurses.h ${WRKDIR}/ncursesw/curses.h
|
|
|
|
|
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.post.mk>
|