aboutsummaryrefslogtreecommitdiffstats
path: root/irc/miau/Makefile
blob: 7dffee3d6b604cad6822f034a41df8ad1dc58239 (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
40
41
42
43
44
# Created by: Oliver Eikemeier
# $FreeBSD$

PORTNAME=       miau
PORTVERSION=        0.6.6
CATEGORIES=     irc ipv6
MASTER_SITES=       SF

MAINTAINER=     dhn@FreeBSD.org
COMMENT=    Fully featured easy to use IRC-bouncer

USE_BZIP2=      yes
USES=           iconv
GNU_CONFIGURE=      yes

INFO=           miau

CONFIGURE_ARGS=     --enable-dccbounce \
            --enable-automode \
            --enable-releasenick \
            --enable-ctcp-replies \
            --enable-mkpasswd \
            --enable-uptime \
            --enable-chanlog \
            --enable-privlog \
            --enable-onconnect \
            --enable-empty-awaymsg \
            --enable-dumpstatus \
            --disable-dependency-tracking
CPPFLAGS+=      -I${LOCALBASE}/include

.if defined(WITH_IPV6)
CONFIGURE_ARGS+=    --enable-ipv6
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>