1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/gnet2/Makefile
Dmitry Marakasov e638299edc - Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS

Approved by:	portmgr blanket
2015-08-28 13:39:56 +00:00

30 lines
613 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnet
PORTVERSION= 2.0.8
PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= GNOME
PKGNAMESUFFIX= 2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Simple network library built upon Glib-2
USES= libtool pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_ON= --with-html-dir=${DOCSDIR}
DOCS_CONFIGURE_OFF= --without-html-dir
post-patch:
@${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \
${WRKSRC}/configure
.include <bsd.port.mk>