mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
33 lines
739 B
Makefile
33 lines
739 B
Makefile
# Created by: thierry@pompo.net
|
|
# $FreeBSD$
|
|
|
|
CATEGORIES= net python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python module for libdnet
|
|
|
|
LIB_DEPENDS= libdnet.so:${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= ${NONEXISTENT}
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/dnet.so \
|
|
%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_EGGINFO}
|
|
|
|
LIBDNET_SLAVE= yes
|
|
|
|
USE_PYTHON= yes
|
|
CONFIGURE_ARGS= --with-python=${PYTHON_CMD}
|
|
PYDISTUTILS_PKGNAME= dnet
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
regression-test: install
|
|
${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
|
|
.endif
|
|
|
|
.include "${MASTERDIR}/Makefile"
|