freebsd-ports/mail/cone/Makefile
Guido Falsi 2dd9174342 - Update devel/courier-unicode to 2.1
- Convert to USES localbase
- Update mail/cone to 1.0 [1]
- Update mail/courier-imap to 5.0.0
- Add LICENSE
- Update mail/maildrop to 3.0.0
- Remove IDN option since it's now mandatory
- Update mail/sqwebmail to 6.0.0 [2]
- Update security/courier-authlib to 0.69.0
- Add note to UPDATING
- Silence some portlint warnings

PR:			231471 [1]
Submitted by:		me
Approved by:		Maintainer timeout [1],
			oliver@ [2]
Differential Revision:	https://reviews.freebsd.org/D17234
2018-10-10 11:54:58 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Matthias Andree <matthias.andree@gmx.de>
# $FreeBSD$
PORTNAME= cone
PORTVERSION= 1.0
CATEGORIES= mail
# 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:
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION}
MAINTAINER= chris@bsdjunk.com
COMMENT= Console based mail client with POP3/IMAP/SMAP support
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
LIB_DEPENDS= libaspell.so:textproc/aspell \
libidn.so:dns/libidn \
libcourier-unicode.so:devel/courier-unicode
BUILD_DEPENDS= gpgv:security/gnupg1
RUN_DEPENDS= gpgv:security/gnupg1
USES= compiler:c++11-lang fam gettext gmake iconv localbase:ldflags \
ncurses perl5 pkgconfig shebangfix ssl tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-certdb=${PREFIX}/share/cone/rootcerts --exec-prefix=${PREFIX} \
--with-notice=unicode
SHEBANG_FILES= sysconftool
USE_GNOME= libxml2
INSTALL_TARGET= install-strip
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leaf
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mailtool
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/cone
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${STAGEDIR}${PREFIX}/sbin/cone-sysconftool
@${RM} ${STAGEDIR}${PREFIX}/share/cone/rootcerts/.0
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>