openbsd-ports/net/gnet/Makefile
2007-11-17 20:39:02 +00:00

36 lines
731 B
Makefile

# $OpenBSD: Makefile,v 1.13 2007/11/17 20:39:02 steven Exp $
COMMENT= simple network library
DISTNAME= gnet-2.0.7
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnet-2.0 0.5
CATEGORIES= net
HOMEPAGE= http://www.gnetlibrary.org/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= ${HOMEPAGE}src/
USE_LIBTOOL= Yes
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0,gthread-2.0::devel/glib2
WANTLIB= pcre
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-threadsafe-getaddrinfo --enable-threadsafe-gethostbyname
REGRESS_FLAGS= CFLAGS="${CFLAGS} -L${WRKBUILD}/src/.libs \
-D_internal_test" LIBTOOL=${LOCALBASE}/bin/libtool
.include <bsd.port.mk>