summaryrefslogtreecommitdiff
path: root/mail/im/Makefile
blob: 80142fc7d5cb8a781930bcaa353b985913cde0a6 (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
# Created by: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
# $FreeBSD$

PORTNAME=	im
PORTVERSION=	151
CATEGORIES=	mail
MASTER_SITES=	http://tats.haun.org/im/

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

USES=		perl5
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-hostname=_domain_of_your_mail_address_
MAKE_ARGS=	prefix=${PREFIX} imlibdir=${ETCDIR}

# 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
.endif
.if !defined(NOPORTEXAMPLES)
	@${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>