1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/gnet2/Makefile
Dmitry Marakasov b740047aa7 - Switch to USES=libtool, drop .la file
- Properly support DOCS option
- Strip library

PR:		189876
Submitted by:	amdmi3
Approved by:	kwm
2014-05-21 00:50:36 +00:00

35 lines
681 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= A 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
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
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>