aboutsummaryrefslogtreecommitdiffstats
path: root/www/mhonarc/Makefile
blob: 428662baaea16373450c2ccfa56c9463387422e9 (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
# New ports collection makefile for:    MHonArc
# Date created:             18 June 1997
# Whom:                 koshy@india.hp.com
#
# $FreeBSD$
#

PORTNAME=   mhonarc
PORTVERSION=    2.6.16
CATEGORIES= www mail
MASTER_SITES=   http://www.mhonarc.org/release/MHonArc/tar/ \
        http://www.oac.uci.edu/indiv/ehood/tar/
DISTNAME=   MHonArc-${PORTVERSION}

MAINTAINER= max@FreeBSD.org
COMMENT=    WWW front end for mail archives

USE_BZIP2=  Yes
USE_PERL5=  Yes
NO_BUILD=   Yes

MAN1=   mhonarc.1 mha-dbedit.1 mha-dbrecover.1 mha-decode.1

INSTALL_ARGS=   -binpath ${PREFIX}/bin \
        -libpath ${PREFIX}/share/MHonArc \
        -manpath ${PREFIX}/man \
        -batch
.if !defined(NOPORTDOCS)
INSTALL_ARGS+=  -docpath ${PREFIX}/share/doc/MHonArc
.else
INSTALL_ARGS+=  -nodoc
.endif

.include <bsd.port.pre.mk>

do-install:
    cd ${WRKSRC} && ${PERL5} install.me ${INSTALL_ARGS}

.include <bsd.port.post.mk>