aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nail/Makefile
blob: eb5a3d34a5f5d4bd1d62775ed8681290a8257805 (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
# New ports collection makefile for:    nail
# Date created:     20 October 2000
# Whom:         Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nail
PORTVERSION=    11.13
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    BSD mail utility with MIME extensions

USE_BZIP2=  yes
USE_ICONV=  yes
USE_OPENSSL=    yes
MAKE_ARGS=  PREFIX="${PREFIX}" \
        SYSCONFDIR="${PREFIX}/etc" \
        SENDMAIL="/usr/sbin/sendmail"

MAN1=       nail.1
PLIST_FILES=    bin/nail etc/nail.rc

CPPFLAGS=   -I${LOCALBASE}/include -DHAVE_ICONV -DHAVE_IPv6_FUNCS
LDFLAGS=    -L${LOCALBASE}/lib -liconv

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc
    ${INSTALL_MAN} ${WRKSRC}/nail.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>