aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmw/Makefile
blob: c848b6c5e17d7ef22014b4426194690dc4783325 (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
# $FreeBSD$

PORTNAME=   vmw
PORTVERSION=    060510
CATEGORIES= emulators
MASTER_SITES=   http://sites.google.com/site/chitchatvmback/storage/

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

ONLY_FOR_ARCHS= i386

WRKSRC=     ${WRKDIR}/${PORTNAME}/src
USES=       iconv

SBINS=      vmw vmshrink vmftp

OPTIONS_DEFINE= DOCS

PORTDOCS=   README-eucj.TXT README-sjis.TXT README.TXT
.for i in ${SBINS}
PORTDOCS+=  ${i}-eucj.txt ${i}-sjis.txt ${i}.txt
.endfor
.for i in ${SBINS}
PLIST_FILES+=   sbin/${i}
.endfor

post-patch:
#   @${REINPLACE_CMD} -e 's/=/?=/' ${WRKSRC}/Makefile.FreeBSD

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

.include <bsd.port.mk>