freebsd-ports/net/py-libdnet/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

35 lines
738 B
Makefile

# Ports collection makefile for: py-libdnet
# Date created: Nov 2, 2005
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for libdnet
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
NOT_FOR_ARCHS= ia64
NOT_FOR_ARCHS_REASON_ia64= fails to build with internal compiler error
MASTERDIR= ${.CURDIR}/../libdnet
INSTALL_WRKSRC= ${WRKSRC}/python
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
LIBDNET_SLAVE= yes
USE_PYTHON= yes
CONFIGURE_ARGS= --with-python
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGNAME= dnet
.if defined(MAINTAINER_MODE)
regression-test: install
${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
.endif
.include "${MASTERDIR}/Makefile"