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

(-)net-mgmt/wmi-client/Makefile (-14 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	wmi
4
PORTNAME=	wmi
5
PORTVERSION=	1.3.16
5
PORTVERSION=	1.3.16
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
8
MASTER_SITES=	http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
9
		http://www.openvas.org/download/wmi/ \
9
		http://www.openvas.org/download/wmi/ \
Lines 13-21 PKGNAMESUFFIX= -client Link Here
13
MAINTAINER=	koichiro@rworks.jp
13
MAINTAINER=	koichiro@rworks.jp
14
COMMENT=	DCOM/WMI client implementation
14
COMMENT=	DCOM/WMI client implementation
15
15
16
OPTIONS_DEFINE=	PYTHON
17
PYTHON_DESC=	Build Python bindings
18
19
USES=		autoreconf:build gmake iconv tar:bzip2
16
USES=		autoreconf:build gmake iconv tar:bzip2
20
17
21
MAKEFILE=	GNUmakefile
18
MAKEFILE=	GNUmakefile
Lines 27-45 PROGS= bin/wmic bin/winexe Link Here
27
24
28
.include <bsd.port.options.mk>
25
.include <bsd.port.options.mk>
29
26
30
.if ${PORT_OPTIONS:MPYTHON}
31
USES+=		python:2.7
32
MAKE_ARGS+=	PYTHON="${PYTHON_CMD}" PY_LIBDIR="${PYTHONPREFIX_SITELIBDIR}"
33
PLIST_SUB+=	PYTHON=""
34
.else
35
PLIST_SUB+=	PYTHON="@comment "
36
.endif
37
38
.if !${PORT_OPTIONS:MPYTHON}
39
do-install:
27
do-install:
40
.for x in ${PROGS}
28
.for x in ${PROGS}
41
	@${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
29
	@${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
42
.endfor
30
.endfor
43
.endif
44
31
45
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)net-mgmt/wmi-client/pkg-plist (-24 lines)
Lines 1-26 Link Here
1
bin/winexe
1
bin/winexe
2
bin/wmic
2
bin/wmic
3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libasync_wmi_lib.so.0
4
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libasync_wmi_lib.so.0.0.2
5
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/talloc.py
6
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/watcher.py
7
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/connect.py
8
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/wmic.py
9
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/__init__.py
10
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/version.pyc
11
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/library.py
12
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/composite_context.py
13
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/version.py
14
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/ndr.py
15
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/Rpc.py
16
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/__init__.py
17
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/credentials.py
18
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/dcerpc.py
19
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/rpc_request.py
20
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/oxidresolver.py
21
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/__init__.py
22
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/Query.py
23
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/wbem.py
24
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/callback.py
25
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/__init__.py
26
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/reactor.py

Return to bug 249741