diff options
author | marino <marino@FreeBSD.org> | 2014-08-15 17:30:12 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-15 17:30:12 +0800 |
commit | 977bf77da802b1b15f61ddc4864d08af0a6cb051 (patch) | |
tree | aa5b379945e3411d76261b062bc054187c39a16f /irc | |
parent | 32dc566531cdf0b6b146967aae5c92546316908e (diff) | |
download | freebsd-ports-gnome-977bf77da802b1b15f61ddc4864d08af0a6cb051.tar.gz freebsd-ports-gnome-977bf77da802b1b15f61ddc4864d08af0a6cb051.tar.zst freebsd-ports-gnome-977bf77da802b1b15f61ddc4864d08af0a6cb051.zip |
irc/miau: Fix IPv6 option, reassign maintainer to submitter
Whle here, de-indent most of the Makefile and fix DOCS option too.
PR: 190984
Submitted by: Daniel Austin
Approved by: maintainer timeout (2 months)
Diffstat (limited to 'irc')
-rw-r--r-- | irc/miau/Makefile | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/irc/miau/Makefile b/irc/miau/Makefile index 4e5b05b8e09b..5038ed2bdb35 100644 --- a/irc/miau/Makefile +++ b/irc/miau/Makefile @@ -1,42 +1,51 @@ # Created by: Oliver Eikemeier # $FreeBSD$ -PORTNAME= miau -PORTVERSION= 0.6.6 -CATEGORIES= irc ipv6 -MASTER_SITES= SF +PORTNAME= miau +PORTVERSION= 0.6.6 +PORTREVISION= 1 +CATEGORIES= irc ipv6 +MASTER_SITES= SF -MAINTAINER= dhn@FreeBSD.org +MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Fully featured easy to use IRC-bouncer -USES= iconv tar:bzip2 -GNU_CONFIGURE= yes +USES= iconv tar:bzip2 +GNU_CONFIGURE= yes -INFO= miau +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 +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 IPV6 -IPV6_CONFIGURE_ON= --enable-ipv6 +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> |