summaryrefslogtreecommitdiffstats
path: root/mail/muttzilla/Makefile
blob: 1da02b679ccd58a60910a8672f21f6ccb3b4a132 (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
# ex:ts=8
# Ports collection makefile for:  foo
# Version required:		  0.40
# Date created:			  Mon Feb 03, 1998
# Whom:				  David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

DISTNAME=	muttzilla-0.40
CATEGORIES=	mail www
MASTER_SITES=	http://www3.bc.sympatico.ca/brian_winters/mutt/

MAINTAINER=	obrien@FreeBSD.org

pre-configure:
	@${PERL} -pi.orig \
		-e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:"  \
		${WRKSRC}/muttzilla.h
	@${PERL} -pi.orig \
		-e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:"  \
		${WRKSRC}/mzmail.sh
	@${PERL} -pi.orig \
		-e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:"  \
		${WRKSRC}/mzmail.py
	@${PERL} -pi.orig \
		-e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:"  \
		${WRKSRC}/mznews.sh
	@${PERL} -pi.orig \
		-e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:"  \
		${WRKSRC}/mznews.py

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/muttzilla
	@${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/muttzilla
.endif

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