summaryrefslogtreecommitdiffstats
path: root/mail/im/Makefile
blob: a4c59dc87b1efd27d8617e7683df699e22559ca5 (plain)
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
41
42
# New ports collection makefile for: IM
# Date created:		13 November 1997
# Whom:			Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	im
PORTVERSION=	148
CATEGORIES=	mail
MASTER_SITES=	http://tats.haun.org/im/ \
		${MASTER_SITE_PORTS_JP}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Set of user interfaces of Email and NetNews

USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--libdir=${PREFIX}/etc
MAKE_ARGS=	prefix=${PREFIX} imlibdir=${PREFIX}/etc/im

# Use RPOP instead of APOP
.if defined(WITH_RPOP)
CONFIGURE_ARGS+=	--enable-rpop
.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/00* ${DOCSDIR}
	@${MKDIR} ${DOCSDIR}/man
	${INSTALL_DATA} ${WRKSRC}/man/* ${DOCSDIR}/man
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/dot.im/* ${EXAMPLESDIR}
.endif

## for make PLIST (only maintainer use)
#arrange:
#	${MAKE} -DPLIST_OVERRIDE \
#	DIRRMDEPTH=1 plist

.include <bsd.port.mk>
OpenPOWER on IntegriCloud