aboutsummaryrefslogtreecommitdiffstats
path: root/mail/muttzilla/Makefile
blob: b53ea8ee8b3a8ff0e91b57bfce8ff4b4a7bcdafc (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
38
39
# ex:ts=8
# Ports collection makefile for:  foo
# Version required: 0.0
# 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:g"  \
        ${WRKSRC}/muttzilla.h
    @${PERL} -pi.orig \
        -e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:g"  \
        ${WRKSRC}/mzmail.sh
    @${PERL} -pi.orig \
        -e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:g"  \
        ${WRKSRC}/mzmail.py
    @${PERL} -pi.orig \
        -e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:g"  \
        ${WRKSRC}/mznews.sh
    @${PERL} -pi.orig \
        -e "s:/etc/muttzilla.conf:${PREFIX}/etc/muttzilla.conf:g"  \
        ${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>