# New ports collection makefile for: zmailer # Date created: 4 January 1999 # Whom: Alex Perel # # $FreeBSD$ # PORTNAME= zmailer PORTVERSION= 2.99.57 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.funet.fi/pub/unix/mail/zmailer/src/ MAINTAINER= gahr@FreeBSD.org COMMENT= A fully functional fast, robust SMTP server and transport agent CONFLICTS= courier-0.* postfix-1.* postfix-2.* sendmail-8.* sendmail-*-8.* smail-3.* OPTIONS= SSL "Enable SSL support" ON GNU_CONFIGURE= yes USE_PERL5= yes .include .if ${OSVERSION} >= 900007 EXTRA_PATCHES= ${FILESDIR}/extra-utmpx .endif .if defined(WITHOUT_SSL) CONFIGURE_ARGS= --without-openssl .else .include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS= --with-openssl .endif CONFIGURE_ARGS+=--prefix=${PREFIX}/ \ --with-mailbin=${PREFIX}/sbin \ --with-mailbox=/var/mail \ --with-logdir=/var/log/mail \ --with-zconfig=${PREFIX}/etc/zmailer/zmailer.conf \ --with-zmailer=${PREFIX}/etc/zmailer/zmailer.conf \ --with-system-malloc \ --with-sendmailpath=${PREFIX}/sbin/sendmail \ --with-rmailpath=${PREFIX}/sbin/rmail \ --with-mailshare=${PREFIX}/etc/zmailer \ --with-mailvar=${PREFIX}/etc/zmailer \ --with-postoffice=/var/spool/postoffice \ --with-vacationpath=${PREFIX}/bin/vacation \ --includedir=${PREFIX}/include \ --libdir=${PREFIX}/lib \ --with-ta-mmap MAN1= rmail.1zm vacation.1zm zmailer.1zm zmsh.1zm mboxpath.1zm mailq.1zm \ mailrm.1zm newaliases.1zm MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= ZMailer::mailq.3 MAN5= aliases.5zm mailq-m.5zm zdbases.conf.5zm zmailer.conf.5zm MAN8= hold.8zm router.8zm scheduler.8zm sendmail.8zm sm.8zm smtp.8zm \ smtpserver.8zm mprobe.8zm expirer.8zm errormail.8zm mailbox.8zm \ manual-expirer.8zm manual-rerouter.8zm reroute.8zm SUB_FILES= pkg-install PKGINSTALL= ${WRKDIR}/pkg-install USE_RC_SUBR= zmailer.sh # local variable (we can't use ${SED} here) DOMAIN!= /bin/hostname | ${SED} -e "s:^"`/bin/hostname -s`"\.*::g" .if (${DOMAIN} == "") DOMAIN= "mydomain.com" .endif pre-install: cd ${WRKSRC}/man && make install post-install: @${SETENV} PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL # set up the initial mail.conf with reasonable settings. @${ECHO_CMD} "# Where am I?" > ${PREFIX}/etc/zmailer/mail.conf.sample @${ECHO_CMD} "orgdomain="${DOMAIN} >> ${PREFIX}/etc/zmailer/mail.conf.sample @${ECHO_CMD} "# Who am I?" >> ${PREFIX}/etc/zmailer/mail.conf.sample @${ECHO_CMD} "hostname="`/bin/hostname -s`'.$$orgdomain' >> ${PREFIX}/etc/zmailer/mail.conf.sample @${ECHO_CMD} "# Who do I claim to be?" >> ${PREFIX}/etc/zmailer/mail.conf.sample @${ECHO_CMD} 'mydomain=$$orgdomain' >> ${PREFIX}/etc/zmailer/mail.conf.sample @${CAT} ${PKGMESSAGE} .include -2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Conversion to a single libtool environment.ade2006-02-232-1/+3
* - Fix buildpav2005-12-311-0/+11
* - Add SHA256pav2005-11-251-0/+1
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1
* - Update to 0.8.0pav2005-09-015-76/+141
* I hit 'x' too many times, and deleted the trailing 't' in gnometarget.marcus2005-02-131-1/+1
* * Fix the build on 4.Xmarcus2005-02-133-2/+92
* Update to 0.7.0.marcus2005-02-125-192/+85
* Fix build with gcc-3.4krion2004-08-111-0/+134
* Apply a big libtool patch to allow porters to use the libtool installed bymarcus2004-07-101-1/+1
* Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1
* - Support LOCALBASE properlykrion2004-02-191-1/+2
* - Fix PORTVERSIONkrion2004-02-071-2/+1
* - Update to version 0.6.6krion2004-02-064-57/+44
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* SIZEify.trevor2004-01-291-0/+1