aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smail/Makefile
blob: 5754c2f93a166c58eff7bc9631283f92c028daad (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.1.1.1 1994/10/23 01:22:34 torstenb Exp $
#

DISTNAME=   smail-3.1.29
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>