summaryrefslogtreecommitdiff
path: root/mail/smail/Makefile
blob: 43365a51b87922cc0d6f02cef3b08cba1aa624f5 (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
# New ports collection makefile for:	smail
# Version required:	3.1.29
# Date created:		16 Oct 1994
# Whom:			torstenb
#
# $Id: Makefile,v 1.3 1995/01/15 05:32:30 gpalmer Exp $
#

DISTNAME=	smail-3.1.29.1
MASTER_SITES=	ftp://ftp.uu.net/networking/mail/smail/
CATEGORIES+=	mail
.if !exists(/usr/local/bin/bash)
DEPENDS=	${PORTSDIR}/shells/bash
.endif
MAKE_FLAGS=	"SHELL=/usr/local/bin/bash"

pre-install:
	@mkdir -p ${PREFIX}/bin
	@mkdir -p ${PREFIX}/lib/smail
	@mkdir -p ${PREFIX}/man/man1
	@mkdir -p ${PREFIX}/man/man5
	@mkdir -p ${PREFIX}/man/man8
	@cp ${WRKSRC}/samples/generic/config ${PREFIX}/lib/smail/config.sample
	@cp ${WRKSRC}/samples/generic/directors ${PREFIX}/lib/smail/directorys.sample
	@cp ${WRKSRC}/samples/generic/routers ${PREFIX}/lib/smail/routers.sample
	@cp ${WRKSRC}/samples/generic/transports ${PREFIX}/lib/smail/transports.sample

.include <bsd.port.mk>