1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/gnet2/Makefile

32 lines
627 B
Makefile

# Created by: 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
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \
${WRKSRC}/configure
.include <bsd.port.mk>