freebsd-ports/net/py-libdnet/Makefile
Tom McLaughlin 1b20ff5d48 Fix py-libdnet.
The py-libdnet port has been seperated out as a slave port to libdnet and
is now dependent on libdnet.  py-libdnet now only installs the libdnet
python module.  Since files previously owned by py-libdnet are now owned
by its dependency, in order to upgrade correctly, py-libdnet must be
deinstall and then reinstalled manually.

PR:		109262
Submitted by:	thierry and me
Approved by:	maintainer timeout
2007-03-12 17:51:53 +00:00

33 lines
690 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
.if defined(MAINTAINER_MODE)
regression-test: install
${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
.endif
.include "${MASTERDIR}/Makefile"