openbsd-ports/net/gnet/Makefile
2010-11-22 09:30:38 +00:00

37 lines
819 B
Makefile

# $OpenBSD: Makefile,v 1.19 2010/11/22 09:30:38 espie Exp $
COMMENT= simple network library
GNOME_PROJECT= gnet
GNOME_VERSION= 2.0.8
SHARED_LIBS += gnet-2.0 1.0 # .8.0
CATEGORIES= net
HOMEPAGE= http://www.gnetlibrary.org/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= devel/glib2
WANTLIB= pcre glib-2.0 gthread-2.0
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-threadsafe-getaddrinfo \
--enable-threadsafe-gethostbyname
REGRESS_FLAGS= CFLAGS="${CFLAGS} -D_internal_test" LIBTOOL=${LIBTOOL} \
CHECK_CFLAGS="-I${LOCALBASE}/include" \
CHECK_LIBS="-L${LOCALBASE}/lib -lcheck" \
SUBDIRS_CHECK=check
REGRESS_DEPENDS=devel/check
.include <bsd.port.mk>