freebsd-ports/net/py-libdnet/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

31 lines
721 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for libdnet
LIB_DEPENDS= libdnet.so: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%%/dnet-${PORTVERSION}-py${PYTHON_VER}.egg-info
LIBDNET_SLAVE= yes
USES= python
CONFIGURE_ARGS= --with-python=${PYTHON_CMD}
.if defined(MAINTAINER_MODE)
regression-test: install
${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
.endif
.include "${MASTERDIR}/Makefile"