openbsd-ports/net/libdnet/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.22 2009/03/09 17:09:58 sthen Exp $
COMMENT-main= portable low-level networking library
COMMENT-python= python interface to libdnet
DISTNAME= libdnet-1.10
PKGNAME-main= ${DISTNAME}p3
PKGNAME-python= ${DISTNAME:S/^libdnet/py-libdnet/}p4
2006-01-08 06:13:45 -05:00
SHARED_LIBS= dnet 1.0
CATEGORIES= net
2002-05-15 13:42:24 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdnet/}
HOMEPAGE= http://libdnet.sourceforge.net/
MAINTAINER= Michael Coulter <mjc@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-15 19:31:20 -05:00
WANTLIB= c
PSEUDO_FLAVORS= no_python
FLAVOR?=
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
2006-11-22 03:29:56 -05:00
MULTI_PACKAGES= -main
RUN_DEPENDS-main=
2007-11-05 18:27:22 -05:00
CONFIGURE_ARGS += --without-check
.if ${FLAVOR:L:Mno_python}
CONFIGURE_ARGS+= --without-python
.else
MODPY_EGG_VERSION= 1.10
MODULES+= lang/python
2006-11-22 03:29:56 -05:00
MULTI_PACKAGES+= -python
CONFIGURE_ARGS+= --with-python
MAKE_FLAGS= PYTHON=${MODPY_BIN}
REGRESS_DEPENDS= ::net/libdnet,-python
REGRESS_FLAGS= TESTS_ENVIRONMENT=${MODPY_BIN}
2006-11-22 03:29:56 -05:00
WANTLIB-python=
.endif
.include <bsd.port.mk>