View | Details | Raw Unified | Return to bug 51356
Collapse All | Expand All

(-)Makefile (-7 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	smtpd
8
PORTNAME=	smtpd
9
PORTVERSION=	2.0
9
PORTVERSION=	2.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	mail security
11
CATEGORIES=	mail security
12
MASTER_SITES=	ftp://ftp.obtuse.com/pub/smtpd/
12
MASTER_SITES=	ftp://ftp.obtuse.com/pub/smtpd/
13
13
Lines 17-24 Link Here
17
MAINTAINER=	ports@FreeBSD.org
17
MAINTAINER=	ports@FreeBSD.org
18
COMMENT=	Obtuse smtpd/smtpfwdd, part of the Juniper firewall toolkit
18
COMMENT=	Obtuse smtpd/smtpfwdd, part of the Juniper firewall toolkit
19
19
20
RUN_DEPENDS=	${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/sendmail-old
21
22
#  Directory where smtpd will chroot to, and put the received mail
20
#  Directory where smtpd will chroot to, and put the received mail
23
#  If you change it here, change also patches/patch-aa
21
#  If you change it here, change also patches/patch-aa
24
SPOOLBASE=	/var/smtpd
22
SPOOLBASE=	/var/smtpd
Lines 27-36 Link Here
27
	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.tmp
25
	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.tmp
28
	@${SED} s+!!SPOOLBASE!!+${SPOOLBASE}+g < ${WRKSRC}/Makefile.tmp \
26
	@${SED} s+!!SPOOLBASE!!+${SPOOLBASE}+g < ${WRKSRC}/Makefile.tmp \
29
	                                    > ${WRKSRC}/Makefile
27
	                                    > ${WRKSRC}/Makefile
30
31
pre-install:
32
	@${ECHO_CMD} "Does not work with Sendmail-8.12, checking Version:"
33
	${LOCALBASE}/sbin/sendmail -d -t </dev/null | grep Version.8.11
34
28
35
post-install:
29
post-install:
36
	@${MKDIR} ${PREFIX}/share/doc/smtpd
30
	@${MKDIR} ${PREFIX}/share/doc/smtpd

Return to bug 51356