aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-libdnet/Makefile
blob: 42f17c9359adfc96a994e6a19a9de39a9733d42a (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
# Created by: thierry@pompo.net
# $FreeBSD$

CATEGORIES= net python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

COMMENT=    Python module for libdnet

LIB_DEPENDS=    libdnet.so:net/libdnet

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"