View | Details | Raw Unified | Return to bug 236643
Collapse All | Expand All

(-)Makefile (-2 / +10 lines)
Lines 8-13 Link Here
8
8
9
LIB_DEPENDS=	libdnet.so:net/libdnet
9
LIB_DEPENDS=	libdnet.so:net/libdnet
10
10
11
USES=		autoreconf libtool python
12
11
MASTERDIR=	${.CURDIR}/../libdnet
13
MASTERDIR=	${.CURDIR}/../libdnet
12
INSTALL_WRKSRC=	${WRKSRC}/python
14
INSTALL_WRKSRC=	${WRKSRC}/python
13
DESCR=		${.CURDIR}/pkg-descr
15
DESCR=		${.CURDIR}/pkg-descr
Lines 17-24 Link Here
17
19
18
LIBDNET_SLAVE=	yes
20
LIBDNET_SLAVE=	yes
19
21
20
USES=		python:2.7
22
USE_PYTHON=	cython flavors
21
USE_PYTHON=	flavors
22
CONFIGURE_ARGS=	--with-python=${PYTHON_CMD}
23
CONFIGURE_ARGS=	--with-python=${PYTHON_CMD}
23
24
24
.if defined(MAINTAINER_MODE)
25
.if defined(MAINTAINER_MODE)
Lines 26-29 Link Here
26
	${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
27
	${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
27
.endif
28
.endif
28
29
30
post-patch:
31
	${REINPLACE_CMD} 's|%%CYTHON%%|cython-${PYTHON_VER}|g' \
32
		${WRKSRC}/python/Makefile.am
33
34
post-install:
35
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnet.so
36
29
.include "${MASTERDIR}/Makefile"
37
.include "${MASTERDIR}/Makefile"
(-)pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
manipulation, and raw IP packet and Ethernet frame transmission. It is
5
manipulation, and raw IP packet and Ethernet frame transmission. It is
6
intended to complement the functionality provided by pcap(3).
6
intended to complement the functionality provided by pcap(3).
7
7
8
WWW: https://code.google.com/p/libdnet/
8
WWW: https://github.com/5u623l20/libdnet/

Return to bug 236643