summaryrefslogtreecommitdiff
path: root/mail/smail/Makefile
blob: d8aed8ecd0a61d74654bb9d741a743a8625b177c (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
# New ports collection makefile for:	smail
# Version required:	3.1.29
# Date created:		16 Oct 1994
# Whom:			torstenb
#
# $Id: Makefile,v 1.2 1994/11/11 02:25:54 gpalmer Exp $
#

DISTNAME=	smail-3.1.29.1
MASTER_SITES=	ftp://ftp.uu.net/networking/mail/smail/
.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>