pkgsrc/mail/cone/Makefile
jlam 54647cda0e Don't look for openssl or c_rehash binaries because cone doesn't
actually need them at all.  Add a "fam" option to cone which allows
it to be notified by the OS about changes to local Maildirs.  Bump
the PKGREVISION to 1.
2007-11-19 20:28:57 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2007/11/19 20:28:57 jlam Exp $
DISTNAME= cone-0.73
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jlam@pkgsrc.org
HOMEPAGE= http://www.courier-mta.org/cone/
COMMENT= console newsreader and emailer
USE_TOOLS+= gmake perl true
USE_LANGUAGES= c c++
GCC_REQD+= 3.0 # need Standard C++ Library
.include "options.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-certdb
# Cone doesn't really need the openssl or c_rehash binaries, but the
# rootcerts/configure script is written poorly and directly overrides
# variables that were meant for the builder to use. Fix that by
# overriding the special ac_cv_* configure cache variables as a last
# resort.
#
CONFIGURE_ENV+= ac_cv_path_OPENSSL=${TOOLS_TRUE}
CONFIGURE_ENV+= ac_cv_path_REHASH=${TOOLS_TRUE}
EGDIR= ${PREFIX}/share/examples/cone
INSTALL_AM_MAKEFLAGS+= sysconfdir=${EGDIR:Q}
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
CONF_FILES= ${EGDIR}/cone.dist ${PKG_SYSCONFDIR}/cone
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"