aboutsummaryrefslogtreecommitdiffstats
path: root/irc/miau/Makefile
blob: 8f4f378df31f6e3a9c1b421316b565ec75e5a253 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:    miau
# Date created:             23 Apr 2004
# Whom:                 Oliver Eikemeier
#
# $FreeBSD$
#

PORTNAME=       miau
PORTVERSION=        0.6.0.2
CATEGORIES=     irc
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= miau

MAINTAINER=     laszlof@vonostingroup.com
COMMENT=        A fully featured easy to use IRC-bouncer

USE_BZIP2=      yes
USE_ICONV=      yes
GNU_CONFIGURE=      yes

USE_REINPLACE=      yes

INFO=           miau
MAN1=           miau.1

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
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=      CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
            LDFLAGS="${LDFLAGS}" \
            LIBS="${LIBS}"

.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}

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif

.include <bsd.port.mk>