blob: 159637db3ca4227a9df1e5108dbbe1a877f47a57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: smail
# Version required: 3.2
# Date created: 16 Oct 1994
# Whom: torstenb
#
# $Id: Makefile,v 1.16 1996/11/19 11:16:37 torstenb Exp $
#
DISTNAME= smail-3.2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.uu.net/networking/mail/smail/
MAINTAINER= torstenb@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libident.a:${PORTSDIR}/security/libident
INSTALL_TARGET= install installman
MAN1= pathto.1 uuwho.1 uupath.1
MAN5= smailconf.5 smail.5 smaildrct.5 smailmeth.5 smailqual.5 \
smailrtrs.5 smailrtry.5 smailtrns.5
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
post-install:
@echo "If you want to replace sendmail with links to smail, type"
@echo "the following command as \"root\":"
@echo ""
@echo " make replace"
replace:
@echo "===> Replacing sendmail"
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
.include <bsd.port.mk>
|