1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/py-libdnet/Makefile

33 lines
683 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for libdnet
LIB_DEPENDS= dnet:${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=${PYTHON_CMD}
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGNAME= dnet
.if defined(MAINTAINER_MODE)
regression-test: install
${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
.endif
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"