aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/wmi-client/Makefile
blob: 83f6ed379b2401fb27fb7182fe8924299a429c85 (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
32
33
PORTNAME=	wmi
PORTVERSION=	1.3.16
PORTREVISION=	4
CATEGORIES=	net-mgmt
MASTER_SITES=	http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
		http://www.openvas.org/download/wmi/ \
		http://mirrors.rit.edu/zi/
PKGNAMESUFFIX=	-client

MAINTAINER=	koichiro@rworks.jp
COMMENT=	DCOM/WMI client implementation

USES=		autoreconf:build gmake iconv tar:bzip2

MAKEFILE=	GNUmakefile
MAKE_ARGS+=	ZENHOME="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_LIB="${INSTALL_LIB}"
ALL_TARGET=	build

PROGS=	bin/wmic bin/winexe

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
.endif

do-install:
.for x in ${PROGS}
	${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
.endfor

.include <bsd.port.mk>