diff options
Diffstat (limited to 'mail/mailfront/Makefile')
-rw-r--r-- | mail/mailfront/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile new file mode 100644 index 00000000000..6b305e7249f --- /dev/null +++ b/mail/mailfront/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/07/20 03:30:19 schmonz Exp $ +# + +DISTNAME= mailfront-0.96 +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} + +BUILD_TARGET= all +INSTALL_TARGET= install + +DJB_RESTRICTED= NO + +USE_PKGINSTALL= YES +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. +.if !empty(PHASES_AFTER_EXTRACT:M${PKG_PHASE}) +INSTALLED_QMAIL!= ${PKG_BEST_EXISTS} ${DEPENDS_QMAIL:C/:.*$//:Q:S/\ / /g} +. if empty(INSTALLED_QMAIL:M*_not_found_) +. if !defined(PKG_SYSCONFDIR.mailfront) +PKG_SYSCONFDIR.mailfront!= ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_QMAIL} +. endif +. endif +.endif + +.include "../../devel/bglibs/buildlink3.mk" +.include "../../security/cvm/buildlink3.mk" +.include "../../mk/djbware.mk" +.include "../../mk/bsd.pkg.mk" |