1994-10-22 21:24:26 -04:00
|
|
|
# New ports collection makefile for: smail
|
1996-11-17 18:43:03 -05:00
|
|
|
# Version required: 3.2
|
1994-10-22 21:24:26 -04:00
|
|
|
# Date created: 16 Oct 1994
|
|
|
|
# Whom: torstenb
|
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1994-10-22 21:24:26 -04:00
|
|
|
#
|
|
|
|
|
2000-02-12 14:23:45 -05:00
|
|
|
DISTNAME= smail-3.2.0.110
|
1996-11-10 16:32:56 -05:00
|
|
|
CATEGORIES= mail
|
1997-10-15 05:16:07 -04:00
|
|
|
MASTER_SITES= ftp://ftp.uu.net/networking/mail/smail/ \
|
1998-01-25 15:45:19 -05:00
|
|
|
ftp://ftp.planix.com/pub/Smail/ \
|
1997-10-15 05:16:07 -04:00
|
|
|
ftp://ftp.fu-berlin.de/unix/mail/smail/
|
1995-04-11 16:28:32 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= torstenb@FreeBSD.org
|
1995-05-05 17:44:54 -04:00
|
|
|
|
1998-09-17 06:53:31 -04:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libident.a:${PORTSDIR}/security/libident
|
1999-08-22 15:01:07 -04:00
|
|
|
.if !exists(/usr/include/tcpd.h)
|
1998-09-17 06:53:31 -04:00
|
|
|
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
1999-08-22 15:01:07 -04:00
|
|
|
.endif
|
1996-11-17 18:43:03 -05:00
|
|
|
|
|
|
|
INSTALL_TARGET= install installman
|
1995-04-11 16:28:32 -04:00
|
|
|
|
1996-11-17 02:42:58 -05:00
|
|
|
MAN1= pathto.1 uuwho.1 uupath.1
|
1996-11-17 18:43:03 -05:00
|
|
|
MAN5= smailconf.5 smail.5 smaildrct.5 smailmeth.5 smailqual.5 \
|
1999-05-02 16:27:15 -04:00
|
|
|
smailrtrs.5 smailrtry.5 smailtrns.5
|
1996-11-17 02:42:58 -05: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 \
|
1999-09-10 07:44:40 -04:00
|
|
|
mkuuwho.8 mailq.8 sendmail.8 runq.8 rmail.8 rsmtp.8 smtpd.8 \
|
|
|
|
newaliases.8 smailbug.8
|
1994-10-22 21:24:26 -04:00
|
|
|
|
1995-05-05 17:38:16 -04:00
|
|
|
post-install:
|
1999-08-27 18:30:39 -04:00
|
|
|
@${ECHO_MSG} "If you want to replace sendmail with links to smail, type"
|
|
|
|
@${ECHO_MSG} "the following command as \"root\":"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " make replace"
|
1994-10-22 21:24:26 -04:00
|
|
|
|
1996-11-17 18:43:03 -05:00
|
|
|
replace:
|
1999-08-27 18:30:39 -04:00
|
|
|
@${ECHO_MSG} "===> Replacing sendmail"
|
1996-11-29 20:03:24 -05:00
|
|
|
if [ -e /usr/sbin/sendmail ]; then \
|
1999-05-02 16:27:15 -04:00
|
|
|
${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
if [ -f /usr/sbin/sendmail.BAK ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 0 /usr/sbin/sendmail.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi;\
|
|
|
|
fi
|
1999-05-02 16:27:15 -04:00
|
|
|
if [ -e ${PREFIX}/bin/smail ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CP} -fp ${PREFIX}/bin/smail /usr/sbin/sendmail; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi
|
|
|
|
if [ -f /usr/sbin/mailstats ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 0 /usr/sbin/mailstats; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi
|
|
|
|
if [ -e /usr/bin/newaliases ]; then \
|
1999-05-02 16:27:15 -04:00
|
|
|
${MV} -f /usr/bin/newaliases /usr/bin/newaliases.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
if [ -f /usr/bin/newaliases.BAK ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 0 /usr/bin/newaliases.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi;\
|
|
|
|
fi
|
1999-05-02 16:27:15 -04:00
|
|
|
if [ -e ${PREFIX}/bin/newaliases ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CP} -fp ${PREFIX}/bin/newaliases /usr/bin/newaliases; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi
|
|
|
|
if [ -e /usr/bin/mailq ]; then \
|
1999-05-02 16:27:15 -04:00
|
|
|
${MV} -f /usr/bin/mailq /usr/bin/mailq.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
if [ -f /usr/bin/mailq.BAK ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 0 /usr/bin/mailq.BAK; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi;\
|
|
|
|
fi
|
1999-05-02 16:27:15 -04:00
|
|
|
if [ -e ${PREFIX}/bin/mailq ]; then \
|
|
|
|
${CP} -fp ${PREFIX}/bin/mailq /usr/bin/mailq; \
|
1996-11-29 20:03:24 -05:00
|
|
|
fi
|
1998-09-17 06:53:31 -04:00
|
|
|
|
1994-10-22 21:24:26 -04:00
|
|
|
.include <bsd.port.mk>
|