aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smail/Makefile
blob: b68c5bd70cab784cf4cfbb10101d872494733a57 (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
# New ports collection makefile for:    smail
# Version required: 3.1.29
# Date created:     16 Oct 1994
# Whom:         torstenb
#
# $Id: Makefile,v 1.9 1995/05/12 07:25:12 asami Exp $
#

DISTNAME=   smail-3.1.29.1
CATEGORIES+=    mail
MASTER_SITES=   ftp://ftp.uu.net/networking/mail/smail/

MAINTAINER= torstenb@FreeBSD.ORG

BUILD_DEPENDS=  bash:${PREFIX}/shells/bash

MAKE_FLAGS= "SHELL=/usr/local/bin/bash"

pre-install:
    mkdir -p ${PREFIX}/lib/smail

post-install:
    @cp ${WRKSRC}/samples/generic/config ${PREFIX}/lib/smail/config.sample
    @cp ${WRKSRC}/samples/generic/directors ${PREFIX}/lib/smail/directors.sample
    @cp ${WRKSRC}/samples/generic/routers ${PREFIX}/lib/smail/routers.sample
    @cp ${WRKSRC}/samples/generic/transports ${PREFIX}/lib/smail/transports.sample
    gzip -9nf ${PREFIX}/man/man1/pathto.1 ${PREFIX}/man/man1/uuwho.1 \
    ${PREFIX}/man/man1/uupath.1 ${PREFIX}/man/man5/smail.5 \
    ${PREFIX}/man/man8/pathalias.8 ${PREFIX}/man/man8/mkdbm.8 \
    ${PREFIX}/man/man8/mkline.8 ${PREFIX}/man/man8/mksort.8 \
    ${PREFIX}/man/man8/mkaliases.8 ${PREFIX}/man/man8/smail.8 \
    ${PREFIX}/man/man8/mkpath.8 ${PREFIX}/man/man8/pathmerge.8 \
    ${PREFIX}/man/man8/checkerr.8 ${PREFIX}/man/man8/getmap.8 \
    ${PREFIX}/man/man8/mkhpath.8 ${PREFIX}/man/man8/savelog.8 \
    ${PREFIX}/man/man8/mkuuwho.8 ${PREFIX}/man/man8/mailq.8 \
    ${PREFIX}/man/man8/sendmail.8 ${PREFIX}/man/man8/runq.8 \
    ${PREFIX}/man/man8/rmail.8 ${PREFIX}/man/man8/rsmtp.8 \
    ${PREFIX}/man/man8/smtpd.8

.include <bsd.port.mk>