aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-libdnet/Makefile
blob: c20a2652fecb41ad0b1f3ee18c60a5ea5d8f1b36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

.include "${MASTERDIR}/Makefile"