1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/mail/masqmail/Makefile
Edwin Groothuis 5799d9acd6 [PATCH] change MAINTAINER email address for all my ports.
PR:		ports/75559
Submitted by:	Andrey Slusar <anray@inet.ua>
2004-12-30 02:37:15 +00:00

61 lines
1.7 KiB
Makefile

# Ports collection makefile for: masqmail
# Date created: 4 Apr 2004
# Whom: Andrey Slusar <vasallia@ukr.net>
#
# $FreeBSD$
#
PORTNAME= masqmail
PORTVERSION= 0.1.17
CATEGORIES= mail
MASTER_SITES= http://innominate.org/kurth/masqmail/download/
DISTNAME= MasqMail-${PORTVERSION}
MAINTAINER= anrays@gmail.com
COMMENT= Mail server for hosts, not permanently connected to the internet
CONFLICTS= masqmail-0.2*
MAN5= masqmail.aliases.5 masqmail.conf.5 masqmail.get.5 masqmail.route.5
MAN8= masqmail.8
GNU_CONFIGURE= yes
CFLAGS+= -Wno-trigraphs
CONFIGURE_ARGS+= --mandir=${PREFIX}/man --with-user=mailnull --with-group=mail \
--with-conffile=${PREFIX}/etc/masqmail --with-logdir=/var/log/masqmail
.if defined(WITHOUT_POP3)
CONFIGURE_ARGS+= --disable-pop3
.endif
.if defined(WITH_AUTH)
CONFIGURE_ARGS+= --enable-auth
.endif
.if defined(WITH_IDENT)
CONFIGURE_ARGS+= --enable-ident
.endif
USE_GNOME= glib12
USE_RC_SUBR= yes
post-build:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%RC_SUBR%%,${RC_SUBR},g' \
${FILESDIR}/masqmail.sh > ${WRKDIR}/masqmail.sh
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/masqmail.sh ${PREFIX}/etc/rc.d/masqmail.sh
${MKDIR} ${PREFIX}/etc/masqmail
${CHOWN} mailnull:mail ${PREFIX}/etc/masqmail
${INSTALL_DATA} -o mailnull -g mail ${WRKSRC}/examples/masqmail.conf ${PREFIX}/etc/masqmail/masqmail.conf-dist
${INSTALL_DATA} -o mailnull -g mail ${WRKSRC}/examples/example.get ${PREFIX}/etc/masqmail/masqmail.get-dist
${INSTALL_DATA} -o mailnull -g mail ${WRKSRC}/examples/example.route ${PREFIX}/etc/masqmail/masqmail.route-dist
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYING INSTALL NEWS README THOUGHTS TODO docs/install.html
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>