diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
commit | a9ff4b49c10701f4d22eb1a173e03064089672bb (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /emulators/vmw | |
parent | aa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff) | |
download | freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
Diffstat (limited to 'emulators/vmw')
-rw-r--r-- | emulators/vmw/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/emulators/vmw/Makefile b/emulators/vmw/Makefile index 03557f87154a..43c1dcb69db9 100644 --- a/emulators/vmw/Makefile +++ b/emulators/vmw/Makefile @@ -9,14 +9,15 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= VM Back Command Line Tools for VMware ONLY_FOR_ARCHS= i386 -NO_STAGE= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src USES= iconv SBINS= vmw vmshrink vmftp -.if !defined(NOPORTDOCS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= README-eucj.TXT README-sjis.TXT README.TXT .for i in ${SBINS} PORTDOCS+= ${i}-eucj.txt ${i}-sjis.txt ${i}.txt @@ -28,11 +29,11 @@ PLIST_FILES+= sbin/${i} do-install: .for i in ${SBINS} - ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin/ .endfor -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif .include <bsd.port.mk> |