2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2011/04/22 13:44:02 obache Exp $
|
2007-11-13 19:02:15 +01:00
|
|
|
|
2010-11-05 15:18:52 +01:00
|
|
|
DISTNAME= cone-0.84
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 1
|
2007-11-13 19:02:15 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2010-03-21 17:29:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-11-13 19:02:15 +01:00
|
|
|
HOMEPAGE= http://www.courier-mta.org/cone/
|
2008-02-20 14:18:24 +01:00
|
|
|
COMMENT= Console newsreader and emailer
|
2007-11-13 19:02:15 +01:00
|
|
|
|
2008-02-20 23:31:06 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-11-13 19:02:15 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2010-05-18 15:24:15 +02:00
|
|
|
USE_TOOLS+= gmake perl true
|
2007-11-13 19:02:15 +01:00
|
|
|
GCC_REQD+= 3.0 # need Standard C++ Library
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2010-05-18 15:24:15 +02:00
|
|
|
CONFIGURE_ARGS+= --with-certdb=${SSLCERTS}
|
2007-11-13 19:02:15 +01:00
|
|
|
|
2007-11-19 21:28:57 +01:00
|
|
|
# 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}
|
|
|
|
|
2007-11-13 19:02:15 +01:00
|
|
|
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 "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|