diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-03 22:27:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-03 22:27:34 +0000 |
commit | 1a5539c0641be332452c300ebb3e82bdf01d2595 (patch) | |
tree | b68edf0d05fb2010e46e72f21df8dd228a207a93 /www/raqdevil | |
parent | 82849c8603410b7749d0443ec1b37cd8c6752456 (diff) | |
download | ports-1a5539c0641be332452c300ebb3e82bdf01d2595.tar.gz ports-1a5539c0641be332452c300ebb3e82bdf01d2595.zip |
Notes
Diffstat (limited to 'www/raqdevil')
-rw-r--r-- | www/raqdevil/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/www/raqdevil/Makefile b/www/raqdevil/Makefile index 2a2cee3b02f6..b4570d51408e 100644 --- a/www/raqdevil/Makefile +++ b/www/raqdevil/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.raqdevil.com/ MAINTAINER= dodell@offmyserver.com COMMENT= A port of the Sun Cobalt RaQ550 software to FreeBSD -RUN_DEPENDS= ${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/sendmail-sasl \ +RUN_DEPENDS= ${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT} \ ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \ ${SITE_PERL}/mach/Quota.pm:${PORTSDIR}/sysutils/p5-Quota \ ${SITE_PERL}/mach/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \ @@ -47,18 +47,23 @@ LDCONFIG_DIRS= ${PREFIX}/raqdevil/lib .include <bsd.port.pre.mk> +.if !defined(SENDMAIL_MILTER_PORT) +SENDMAIL_MILTER_PORT?= sendmail-sasl +.else +.if ${SENDMAIL_MILTER_PORT} != "sendmail-sasl" +pre-everything:: + @${ECHO_MSG} "SENDMAIL_MILTER_PORT=${SENDMAIL_MILTER_PORT} + @${ECHO_MSG} "RAQdevil makes use of the sendmail-sasl metaport. Please set" + @${ECHO_MSG} "SENDMAIL_MILTER_PORT=sendmail-sasl in /etc/make.conf" + @${FALSE} +.endif +.endif + pre-extract: .if !defined(PACKAGE_BUILDING) @${SH} ${FILESDIR}/warning .endif -pre-configure: - @if [ -n "`${PKG_INFO} -xI '^sendmail+tls+sasl*' 2> /dev/null`" ]; then \ - ${ECHO_CMD} "${PKGNAME}: sendmail with sasl support is required for RAQdevil to properly function."; \ - ${ECHO_CMD} "Please install mail/sendmail-sasl." \ - ${FALSE}; \ - fi - post-extract: .if !defined(PACKAGE_BUILDING) ${CC} -o ${WRKSRC}/rdqchk ${FILESDIR}/rdqchk.c |