2006-08-02 04:42:22 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2006/08/02 02:42:22 schmonz Exp $
|
2005-07-20 05:30:19 +02:00
|
|
|
#
|
|
|
|
|
2006-07-29 02:59:48 +02:00
|
|
|
DISTNAME= mailfront-0.98.1
|
2006-08-02 04:42:22 +02:00
|
|
|
PKGREVISION= 1
|
2005-07-20 05:30:19 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://untroubled.org/mailfront/
|
|
|
|
COMMENT= Mail server network protocol front-ends
|
|
|
|
|
|
|
|
DEPENDS+= cvm-[0-9]*:../../security/cvm
|
|
|
|
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
|
|
|
|
DEPENDS_QMAIL= qmail>=1.03nb8:../../mail/qmail
|
|
|
|
DEPENDS+= ${DEPENDS_QMAIL}
|
|
|
|
|
|
|
|
DJB_RESTRICTED= NO
|
2005-08-24 06:47:10 +02:00
|
|
|
DJB_MAKE_TARGETS= NO
|
2005-07-20 05:30:19 +02:00
|
|
|
|
|
|
|
RCD_SCRIPTS= smtpfront
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# Detect the PKG_SYSCONFDIR of the installed qmail, so we can create
|
|
|
|
# config files there and refer to them from rc.d scripts.
|
2006-07-11 00:59:26 +02:00
|
|
|
#
|
|
|
|
.if !defined(PKG_SYSCONFDIR.mailfront)
|
|
|
|
PKG_SYSCONFDIR.mailfront!= \
|
|
|
|
${PKG_INFO} -Q PKG_SYSCONFDIR \
|
|
|
|
${DEPENDS_QMAIL:C/:.*$//:Q} 2>/dev/null || \
|
|
|
|
${ECHO} "PKG_SYSCONFDIR.mailfront_not_set"
|
|
|
|
. if empty(PKG_SYSCONFDIR.mailfront:M*not_set)
|
|
|
|
MAKEVARS+= PKG_SYSCONFDIR.mailfront
|
2005-07-20 05:30:19 +02:00
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../devel/bglibs/buildlink3.mk"
|
|
|
|
.include "../../security/cvm/buildlink3.mk"
|
|
|
|
.include "../../mk/djbware.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|