1994-10-23 01:24:26 +00:00
|
|
|
# New ports collection makefile for: smail
|
1996-11-17 23:43:03 +00:00
|
|
|
# Version required: 3.2
|
1994-10-23 01:24:26 +00:00
|
|
|
# Date created: 16 Oct 1994
|
|
|
|
# Whom: torstenb
|
|
|
|
#
|
1997-10-15 09:38:57 +00:00
|
|
|
# $Id: Makefile,v 1.18 1997/10/15 09:16:03 torstenb Exp $
|
1994-10-23 01:24:26 +00:00
|
|
|
#
|
|
|
|
|
1997-10-15 09:16:07 +00:00
|
|
|
DISTNAME= smail-3.2.0.97
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1997-10-15 09:16:07 +00:00
|
|
|
MASTER_SITES= ftp://ftp.uu.net/networking/mail/smail/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/mail/smail/
|
1995-04-11 20:28:32 +00:00
|
|
|
|
1995-05-05 21:44:54 +00:00
|
|
|
MAINTAINER= torstenb@FreeBSD.ORG
|
|
|
|
|
1997-10-15 09:38:57 +00:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libident.a:${PORTSDIR}/security/libident \ ${PREFIX}/lib/libwrap.a:${PORTSDIR}/security/tcp_wrapper
|
1996-11-17 23:43:03 +00:00
|
|
|
|
|
|
|
INSTALL_TARGET= install installman
|
1995-04-11 20:28:32 +00:00
|
|
|
|
1996-11-17 07:42:58 +00:00
|
|
|
MAN1= pathto.1 uuwho.1 uupath.1
|
1996-11-17 23:43:03 +00:00
|
|
|
MAN5= smailconf.5 smail.5 smaildrct.5 smailmeth.5 smailqual.5 \
|
|
|
|
smailrtrs.5 smailrtry.5 smailtrns.5
|
1996-11-17 07:42:58 +00:00
|
|
|
MAN8= pathalias.8 mkdbm.8 mkline.8 mksort.8 mkaliases.8 smail.8 \
|
|
|
|
mkpath.8 pathmerge.8 checkerr.8 getmap.8 mkhpath.8 savelog.8 \
|
|
|
|
mkuuwho.8 mailq.8 sendmail.8 runq.8 rmail.8 rsmtp.8 smtpd.8
|
1994-10-23 01:24:26 +00:00
|
|
|
|
1995-05-05 21:38:16 +00:00
|
|
|
post-install:
|
1996-11-17 23:43:03 +00:00
|
|
|
@echo "If you want to replace sendmail with links to smail, type"
|
|
|
|
@echo "the following command as \"root\":"
|
|
|
|
@echo ""
|
|
|
|
@echo " make replace"
|
1994-10-23 01:24:26 +00:00
|
|
|
|
1996-11-17 23:43:03 +00:00
|
|
|
replace:
|
|
|
|
@echo "===> Replacing sendmail"
|
1996-11-30 01:03:24 +00:00
|
|
|
if [ -e /usr/sbin/sendmail ]; then \
|
|
|
|
mv -f /usr/sbin/sendmail /usr/sbin/sendmail.BAK; \
|
|
|
|
if [ -f /usr/sbin/sendmail.BAK ]; then \
|
|
|
|
chmod 0 /usr/sbin/sendmail.BAK; \
|
|
|
|
fi;\
|
|
|
|
fi
|
|
|
|
if [ -e /usr/local/bin/smail ]; then \
|
|
|
|
cp -fp /usr/local/bin/smail /usr/sbin/sendmail; \
|
|
|
|
fi
|
|
|
|
if [ -f /usr/sbin/mailstats ]; then \
|
|
|
|
chmod 0 /usr/sbin/mailstats; \
|
|
|
|
fi
|
|
|
|
if [ -e /usr/bin/newaliases ]; then \
|
|
|
|
mv -f /usr/bin/newaliases /usr/bin/newaliases.BAK; \
|
|
|
|
if [ -f /usr/bin/newaliases.BAK ]; then \
|
|
|
|
chmod 0 /usr/bin/newaliases.BAK; \
|
|
|
|
fi;\
|
|
|
|
fi
|
|
|
|
if [ -e /usr/local/bin/newaliases ]; then \
|
|
|
|
cp -fp /usr/local/bin/newaliases /usr/bin/newaliases; \
|
|
|
|
fi
|
|
|
|
if [ -e /usr/bin/mailq ]; then \
|
|
|
|
mv -f /usr/bin/mailq /usr/bin/mailq.BAK; \
|
|
|
|
if [ -f /usr/bin/mailq.BAK ]; then \
|
|
|
|
chmod 0 /usr/bin/mailq.BAK; \
|
|
|
|
fi;\
|
|
|
|
fi
|
|
|
|
if [ -e /usr/local/bin/mailq ]; then \
|
|
|
|
cp -fp /usr/local/bin/mailq /usr/bin/mailq; \
|
|
|
|
fi
|
1996-11-17 23:43:03 +00:00
|
|
|
|
1994-10-23 01:24:26 +00:00
|
|
|
.include <bsd.port.mk>
|