2013-05-06 17:34:17 +02:00
|
|
|
# Created by: Matthias Andree <matthias.andree@gmx.de>
|
2003-08-15 04:49:45 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cone
|
2016-12-29 15:42:20 +01:00
|
|
|
PORTVERSION= 0.94
|
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
|
|
|
|
2016-10-10 00:01:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.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
|
|
|
|
2014-06-24 22:08:33 +02:00
|
|
|
LICENSE= GPLv3
|
2017-02-26 10:01:42 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
|
2014-06-24 22:08:33 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libaspell.so:textproc/aspell \
|
2016-12-29 15:42:20 +01:00
|
|
|
libcourier-unicode.so:devel/courier-unicode
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= gpgv:security/gnupg1
|
2017-02-26 10:01:42 +01:00
|
|
|
RUN_DEPENDS= gpgv:security/gnupg1
|
2003-08-15 04:49:45 +02:00
|
|
|
|
2017-02-26 10:01:42 +01:00
|
|
|
USES= fam gettext gmake iconv localbase:ldflags ncurses perl5 shebangfix ssl tar:bzip2
|
2014-06-24 22:08:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2017-02-26 10:01:42 +01:00
|
|
|
CONFIGURE_ARGS= --with-certdb=${PREFIX}/share/cone/rootcerts --exec-prefix=${PREFIX}
|
|
|
|
SHEBANG_FILES= sysconftool
|
|
|
|
USE_GNOME= libxml2
|
2014-06-24 22:08:33 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2007-02-11 20:19:20 +01:00
|
|
|
|
2017-02-26 10:01:42 +01:00
|
|
|
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
|
|
|
|
|
2014-07-16 05:00:46 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2003-08-15 04:49:45 +02:00
|
|
|
post-install:
|
2017-02-26 10:01:42 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leaf
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mailtool
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/cone
|
2016-12-29 15:42:20 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${STAGEDIR}${PREFIX}/sbin/cone-sysconftool
|
2017-02-26 10:01:42 +01:00
|
|
|
@${RM} ${STAGEDIR}${PREFIX}/share/cone/rootcerts/.0
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2016-12-29 15:42:20 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
2014-06-24 22:08:33 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|