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

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

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

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/00copyright

USES=		perl5
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-hostname=_domain_of_your_mail_address_
CONFIGURE_ENV=	im_path_perl=${PERL}
MAKE_ARGS=	prefix=${PREFIX} imlibdir=${ETCDIR}
NO_ARCH=	yes
NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS EXAMPLES RPOP

RPOP_DESC=	Use RPOP instead of APOP
RPOP_CONFIGURE_ENABLE=	rpop

post-patch:
	@${REINPLACE_CMD} -e \
		's|SiteConfig ;|SiteConfig.sample ;|' ${WRKSRC}/Makefile.in

post-configure:
	@${LN} -sf SiteConfig ${WRKSRC}/cnf.im/SiteConfig.sample

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/man
	${INSTALL_DATA} ${WRKSRC}/00* ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/man/* ${STAGEDIR}${DOCSDIR}/man

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/dot.im/* ${STAGEDIR}${EXAMPLESDIR}

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