aboutsummaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
blob: d23b6633e8d6c04bb2d5106663f16e064706bd37 (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
# New ports collection makefile for:	popa3d
# Version required:	0.4
# Date created:		Sun Feb  6 12:31:29 MSK 2000
# Whom:			Sergey Samoyloff <gonza@techline.ru>
#
# $FreeBSD$
#

DISTNAME=	popa3d-0.4
CATEGORIES=	mail
MASTER_SITES=	ftp://ftp.false.com/pub/security/popa3d/

MAINTAINER=	gonza@techline.ru

post-install:

	@ ${ECHO} "==========================================================================="
	@ ${ECHO} "1. Edit your /etc/inetd.conf to use popa3d. The line should look like this:"
	@ ${ECHO} ""
	@ ${ECHO} "pop3	stream	tcp	nowait	root	/usr/local/libexec/popa3d   popa3d"
	@ ${ECHO} ""
	@ ${ECHO} "Note: when started via an inetd clone, the logging of connections is left"
	@ ${ECHO} "up to that inetd clone or TCP wrappers."
	@ ${ECHO} ""
	@ ${ECHO} "2. Restart inetd by sending it a SIGHUP:"
	@ ${ECHO} ""
	@ ${ECHO} "# killall -HUP inetd"
	@ ${ECHO} "==========================================================================="

do-install:
	${INSTALL} ${COPY} -o root -g wheel -m 500 \
	    ${WRKSRC}/popa3d ${PREFIX}/libexec/popa3d

.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/popa3d
	${INSTALL_MAN} ${WRKSRC}/INSTALL \
		${PREFIX}/share/doc/popa3d
	${INSTALL_MAN} ${WRKSRC}/DESIGN \
		${PREFIX}/share/doc/popa3d
	${INSTALL_MAN} ${WRKSRC}/COPYING \
		${PREFIX}/share/doc/popa3d
.endif

pre-install:
	${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL

.include <bsd.port.mk>