diff options
author | steve <steve@FreeBSD.org> | 1998-12-24 07:27:15 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-12-24 07:27:15 +0000 |
commit | fe0a64979f9c31db85c0e7773a7ea5f0760f2f82 (patch) | |
tree | e72aa8382bfb22e7e58d47fd17bd50ac359d91a2 /mail/maildrop/Makefile | |
parent | c5c99b9c053ea88abc43c800548e7ea4bf2fee20 (diff) | |
download | FreeBSD-ports-fe0a64979f9c31db85c0e7773a7ea5f0760f2f82.zip FreeBSD-ports-fe0a64979f9c31db85c0e7773a7ea5f0760f2f82.tar.gz |
Initial import of maildrop version 0.60.
A replacement local mail delivery agent, similar to procmail.
PR: 8713
Submitted by: Tom Hukins <tom@eborcom.com>
Diffstat (limited to 'mail/maildrop/Makefile')
-rw-r--r-- | mail/maildrop/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile new file mode 100644 index 0000000..5a58f5b --- /dev/null +++ b/mail/maildrop/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: maildrop +# Version required: 0.60 +# Date created: 16 November 1998 +# Whom: Tom Hukins <tom@eborcom.com> +# +# $Id$ +# + +DISTNAME= maildrop-0.60 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/mail/mailhandlers + +MAINTAINER= tom@eborcom.com + +ALL_TARGET= autoconf.h config.h all + +# Maildrop will be installed with suid permissions for MAILDROP_SUID, +# and sgid permissions for MAILDROP_SGID. If undefined, these values +# default to "root" and "mail" respectively, which should be suitable +# for most systems. +# +.if !defined(MAILDROP_SUID) +MAILDROP_SUID= root +.endif +.if !defined(MAILDROP_SGID) +MAILDROP_SGID= mail +.endif + +CONFIGURE_ARGS= --enable-syslog=1 \ + --enable-maildrop-uid="${MAILDROP_SUID}" \ + --enable-maildrop-gid="${MAILDROP_SGID}" +CONFIGURE_ENV+= CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS}" +GNU_CONFIGURE= yes + +.if defined(NOPORTDOCS) +PLIST= ${PKGDIR}/PLIST.nodocs +INSTALL_TARGET= install-exec all +.else +MAN1= dotlock.1 maildrop.1 reformail.1 +MAN5= maildropex.5 maildropfilter.5 +MANCOMPRESSED= yes +.endif + +post-patch: +.for file in README.html maildrop.1 maildrop.html maildropfilter.5 maildropfilter.html main.C recipenode.C + @${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.bak + @${SED} < ${WRKSRC}/${file}.bak > ${WRKSRC}/${file} s+!!PREFIX!!+${PREFIX}+g +.endfor + +.include <bsd.port.mk> |