aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmw/Makefile
blob: a7b13bd6f335dac261d6126bce43970c225376c5 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    vmw
# Date created:         18 Nov 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   vmw
PORTVERSION=    060510
CATEGORIES= emulators
MASTER_SITES=   http://chitchat.at.infoseek.co.jp/vmware/

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    VM Back Command Line Tools for VMware

ONLY_FOR_ARCHS= i386
WRKSRC=     ${WRKDIR}/${PORTNAME}/src
USE_ICONV=  yes

SBINS=      vmw vmshrink vmftp

.if !defined(NOPORTDOCS)
PORTDOCS=   README-eucj.TXT README-sjis.TXT README.TXT
.for i in ${SBINS}
PORTDOCS+=  ${i}-eucj.txt ${i}-sjis.txt ${i}.txt
.endfor
.endif
.for i in ${SBINS}
PLIST_FILES+=   sbin/${i}
.endfor

do-install:
.for i in ${SBINS}
    ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=     not supported, CLOCK_REALTIME needed
.endif

.include <bsd.port.post.mk>