1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/irc/miau/Makefile
2021-04-06 16:31:07 +02:00

51 lines
1.0 KiB
Makefile

# Created by: Oliver Eikemeier
PORTNAME= miau
PORTVERSION= 0.6.6
PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= SF
MAINTAINER= freebsd-ports@dan.me.uk
COMMENT= Fully featured easy to use IRC-bouncer
USES= iconv tar:bzip2
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
OPTIONS_DEFINE= DOCS IPV6ONLY
IPV6ONLY_DESC= Enable IPv6 ONLY (disables IPv4)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6ONLY}
CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
@${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>