aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnet2/Makefile
blob: 79792844637249427f80388baf43efa8fd0b5c9a (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
# New ports collection makefile for:   gnet2
# Date created:        15 February 2003
# Whom:                Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnet
PORTVERSION=    2.0.8
PORTREVISION=   1
CATEGORIES= net ipv6
MASTER_SITES=   GNOME
PKGNAMESUFFIX=  2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A simple network library built upon Glib-2

USES=       pkgconfig
USE_AUTOTOOLS=  libtool
USE_GNOME=  gnomehack glib20
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+=    --with-html-dir=${DOCSDIR}
.else
CONFIGURE_ARGS+=    --without-html-dir
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>