Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 09:30:12 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364952 - head/irc/miau
Message-ID:  <201408150930.s7F9UCiR050163@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Aug 15 09:30:12 2014
New Revision: 364952
URL: http://svnweb.freebsd.org/changeset/ports/364952
QAT: https://qat.redports.org/buildarchive/r364952/

Log:
  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)

Modified:
  head/irc/miau/Makefile

Modified: head/irc/miau/Makefile
==============================================================================
--- head/irc/miau/Makefile	Fri Aug 15 09:10:16 2014	(r364951)
+++ head/irc/miau/Makefile	Fri Aug 15 09:30:12 2014	(r364952)
@@ -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
-
-OPTIONS_DEFINE=	DOCS IPV6
-IPV6_CONFIGURE_ON=	--enable-ipv6
+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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408150930.s7F9UCiR050163>