diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 06:34:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 06:34:05 +0000 |
commit | ac818fc7df67839053a8b7e6c0139da668b9c2d2 (patch) | |
tree | 99001edb2fb6eba2392e4ff305e6b1a997e7561c /net/tightvnc/Makefile | |
parent | fd0bfa7a6d9bcd5e08d8238c45af05264a52330a (diff) | |
download | ports-ac818fc7df67839053a8b7e6c0139da668b9c2d2.tar.gz ports-ac818fc7df67839053a8b7e6c0139da668b9c2d2.zip |
Notes
Diffstat (limited to 'net/tightvnc/Makefile')
-rw-r--r-- | net/tightvnc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index 3c9af0662f7f..69cf3d362939 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -32,14 +32,15 @@ NO_INSTALL_MANPAGES= yes MAN1= Xvnc.1 vncviewer.1 vncpasswd.1 vncconnect.1 vncserver.1 -OPTIONS= JVNC_VIEWER "Install Java-based vnc viewer" off +OPTIONS_DEFINE= JVNC_VIEWER +JVNC_VIEWER_DESC= Install Java-based vnc viewer #.include <bsd.port.pre.mk> ### use me when 5.5, 6.1, 6.2R die or we do impement something in b.p.m .include <bsd.port.options.mk> -.ifdef(WITH_JVNC_VIEWER) +.if ${PORT_OPTIONS:MJVNC_VIEWER} USE_JAVA= yes JAVA_RUN= yes PLIST_SUB+= JVNC_VIEWER="" @@ -73,7 +74,7 @@ do-install: @${STRIP_CMD} ${PREFIX}/bin/${FILE} .endfor .endif -.ifdef(WITH_JVNC_VIEWER) +.if ${PORT_OPTIONS:MJVNC_VIEWER} @${MKDIR} ${DATADIR}/classes ${INSTALL_DATA} ${WRKSRC}/classes/*.* ${DATADIR}/classes .endif |