aboutsummaryrefslogtreecommitdiffstats
path: root/www/hypermail/Makefile
blob: 0f2b72b5dfdccb6176a0e98d761add97956e9de1 (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
# Created by: mjhsieh
# $FreeBSD$

PORTNAME=   hypermail
PORTVERSION=    2.3.0
CATEGORIES= www mail
MASTER_SITES=   SF

MAINTAINER= erwin@FreeBSD.org
COMMENT=    Program to generate a cross-referenced HTML mail archive

LICENSE=    GPLv2

LIB_DEPENDS+=   libgdbm.so:${PORTSDIR}/databases/gdbm \
        libpcre.so:${PORTSDIR}/devel/pcre

USES=       desthack

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-htmldir=${STAGEDIR}${PREFIX}/share/doc/hypermail \
        --with-gdbm=${LOCALBASE}

CFLAGS+=    -L${LOCALBASE}/lib
WRKSRC=     ${WRKDIR}/${PORTNAME}

post-install:
    ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/hypermail \
        ${STAGEDIR}/${PREFIX}/bin/msg2archive \
        ${STAGEDIR}/${PREFIX}/bin/rdmsg

.include <bsd.port.mk>