diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-03-07 18:28:18 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-03-07 18:28:18 +0800 |
commit | 4f55c4bcd48c05b3554ea1109b8e9c6e95384284 (patch) | |
tree | 5565eb1c7af54546896c6a6a5a2053b92b50ec7b /net | |
parent | 2b828f74c4c0da634907a2460e77b70042f01530 (diff) | |
download | freebsd-ports-gnome-4f55c4bcd48c05b3554ea1109b8e9c6e95384284.tar.gz freebsd-ports-gnome-4f55c4bcd48c05b3554ea1109b8e9c6e95384284.tar.zst freebsd-ports-gnome-4f55c4bcd48c05b3554ea1109b8e9c6e95384284.zip |
- Support staging
- Use new LIB_DEPENDS syntax
PR: 187333
Submitted by: amdmi3
Approved by: Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/tightvnc/Makefile | 16 | ||||
-rw-r--r-- | net/tightvnc/pkg-plist | 5 |
2 files changed, 11 insertions, 10 deletions
diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index 9dc74250a231..db0da21f6d4a 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -14,7 +14,7 @@ COMMENT= Enhanced version of VNC LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENCE.TXT -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= showrgb:${PORTSDIR}/x11/rgb \ xauth:${PORTSDIR}/x11/xauth \ xorg-fonts>=7.2:${PORTSDIR}/x11-fonts/xorg-fonts @@ -28,14 +28,10 @@ CFLAGS+= -Wno-return-type USE_BZIP2= yes USE_XORG= xaw ALL_TARGET= World -NO_INSTALL_MANPAGES= yes - -MAN1= Xvnc.1 vncviewer.1 vncpasswd.1 vncconnect.1 vncserver.1 OPTIONS_DEFINE= JVNC_VIEWER JVNC_VIEWER_DESC= Install Java-based vnc viewer -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MJVNC_VIEWER} @@ -58,7 +54,7 @@ IGNORE= vnc has already been installed, please uninstall it first post-patch: .for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def - @${REINPLACE_CMD} -i '' -e "s|%%LOCALBASE%%|${PREFIX}|g" ${WRKSRC}/${file} + @${REINPLACE_CMD} -i '' -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -i '' -e "s|/usr/local/vnc/classes|${DATADIR}/classes|g" \ ${WRKSRC}/vncserver @@ -66,15 +62,15 @@ post-patch: s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf do-install: - @(cd ${WRKSRC}; ./vncinstall ${PREFIX}/bin ${PREFIX}/man) + @(cd ${WRKSRC}; ./vncinstall ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/man) .if defined(STRIP) && ${STRIP} != "" .for FILE in Xvnc vncviewer vncpasswd vncconnect - @${STRIP_CMD} ${PREFIX}/bin/${FILE} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${FILE} .endfor .endif .if ${PORT_OPTIONS:MJVNC_VIEWER} - @${MKDIR} ${DATADIR}/classes - ${INSTALL_DATA} ${WRKSRC}/classes/*.* ${DATADIR}/classes + @${MKDIR} ${STAGEDIR}${DATADIR}/classes + ${INSTALL_DATA} ${WRKSRC}/classes/*.* ${STAGEDIR}${DATADIR}/classes .endif .include <bsd.port.post.mk> diff --git a/net/tightvnc/pkg-plist b/net/tightvnc/pkg-plist index 252c3c9156f2..429ce1411747 100644 --- a/net/tightvnc/pkg-plist +++ b/net/tightvnc/pkg-plist @@ -25,3 +25,8 @@ bin/vncviewer %%JVNC_VIEWER%%%%DATADIR%%/classes/index.vnc %%JVNC_VIEWER%%@dirrm %%DATADIR%%/classes %%JVNC_VIEWER%%@dirrm %%DATADIR%% +man/man1/Xvnc.1.gz +man/man1/vncconnect.1.gz +man/man1/vncpasswd.1.gz +man/man1/vncserver.1.gz +man/man1/vncviewer.1.gz |