View | Details | Raw Unified | Return to bug 190984 | Differences between
and this patch

Collapse All | Expand All

(-)miau/Makefile (-3 / +11 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=		miau
4
PORTNAME=		miau
5
PORTVERSION=		0.6.6
5
PORTVERSION=		0.6.6
6
PORTREVISION=		1
6
CATEGORIES=		irc ipv6
7
CATEGORIES=		irc ipv6
7
MASTER_SITES=		SF
8
MASTER_SITES=		SF
8
9
9
MAINTAINER=		dhn@FreeBSD.org
10
MAINTAINER=		freebsd-ports@FreeBSD.org
10
COMMENT=	Fully featured easy to use IRC-bouncer
11
COMMENT=	Fully featured easy to use IRC-bouncer
11
12
12
USES=			iconv tar:bzip2
13
USES=			iconv tar:bzip2
Lines 28-42 Link Here
28
			--disable-dependency-tracking
29
			--disable-dependency-tracking
29
CPPFLAGS+=		-I${LOCALBASE}/include
30
CPPFLAGS+=		-I${LOCALBASE}/include
30
31
31
OPTIONS_DEFINE=	DOCS IPV6
32
OPTIONS_DEFINE=	DOCS IPV6ONLY
32
IPV6_CONFIGURE_ON=	--enable-ipv6
33
IPV6ONLY_DESC=	Enable IPv6 ONLY (disables IPv4)
34
35
.include <bsd.port.options.mk>
36
.if ${PORT_OPTIONS:MIPV6ONLY}
37
CONFIGURE_ARGS+=	--enable-ipv6
38
.endif
33
39
34
post-patch:
40
post-patch:
35
	@${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
41
	@${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
36
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
42
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
37
43
38
post-install:
44
post-install:
45
.if ${PORT_OPTIONS:MDOCS}
39
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
40
	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
47
	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
48
.endif
41
49
42
.include <bsd.port.mk>
50
.include <bsd.port.mk>

Return to bug 190984