summaryrefslogtreecommitdiff
path: root/mail/elm+ME/Makefile
blob: 195f78ea567624cb35f763c65bde0a1ddf5901d2 (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
# New ports collection makefile for:    elm
# See also: http://www.ozone.fmi.fi/KEH/
# Version required:     2.4.25.ME+29
# Date created:         26 June 1995
# Whom:                 ache
#
# $Id: Makefile,v 1.35 1996/12/20 02:40:11 asami Exp $
#

DISTNAME=       elm-2.4ME+29
CATEGORIES=	mail
MASTER_SITES=   ftp://dionysos.fmi.fi/KEH/ \
		ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \
		ftp://ftp.ibp.fr/pub/unix/mail/elm-me/

MAINTAINER=	ache@FreeBSD.ORG

WRKSRC=         ${WRKDIR}/elm2.4.ME+.29
MAN1=           answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \
		listalias.1 messages.1 newalias.1 printmail.1 readmsg.1

HAS_CONFIGURE=  Yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ENV+= PREFIX="${PREFIX}"
CONFIGURE_ARGS+= -S

post-install:
	cd ${WRKSRC}/nls; ${MAKE} install
	if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \
		${INSTALL_DATA} \
			${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
	else \
		${INSTALL_DATA} \
			${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
	fi

.include <bsd.port.mk>