View | Details | Raw Unified | Return to bug 178602
Collapse All | Expand All

(-)net/tigervnc/Makefile (-5 / +16 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	tigervnc
4
PORTNAME=	tigervnc
5
PORTVERSION=	1.2.0
5
PORTVERSION=	1.2.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	net x11-servers
7
CATEGORIES=	net x11-servers
8
MASTER_SITES=	SF:tigervnc
8
MASTER_SITES=	SF:tigervnc
9
MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION}/:tigervnc
9
MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION}/:tigervnc
Lines 12-20 Link Here
12
MAINTAINER=	meta+ports@vmeta.jp
12
MAINTAINER=	meta+ports@vmeta.jp
13
COMMENT=	TigerVNC is an advanced VNC implementation
13
COMMENT=	TigerVNC is an advanced VNC implementation
14
14
15
LISENCE=	GPLv2
16
LISENCE_FILE=	${WRKSRC}/LICENCE.TXT
17
15
PATCH_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/x11-servers/xorg-server:patch
18
PATCH_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/x11-servers/xorg-server:patch
16
BUILD_DEPENDS+=	${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros \
19
# almost equivalent to x11-servers/xorg-server's
17
		${LOCALBASE}/libdata/pkgconfig/dri.pc:${PORTSDIR}/graphics/dri
20
RUN_DEPENDS=	${LOCALBASE}/share/X11/xkb/rules/base:${PORTSDIR}/x11/xkeyboard-config \
21
		xkbcomp:${PORTSDIR}/x11/xkbcomp
18
22
19
CONFLICTS=	tridiavnc-[0-9]* \
23
CONFLICTS=	tridiavnc-[0-9]* \
20
		tightvnc-[0-9]* \
24
		tightvnc-[0-9]* \
Lines 33-39 Link Here
33
USE_XORG+=	bigreqsproto compositeproto damageproto fixesproto fontsproto glproto \
37
USE_XORG+=	bigreqsproto compositeproto damageproto fixesproto fontsproto glproto \
34
		inputproto kbproto pixman randrproto renderproto resourceproto \
38
		inputproto kbproto pixman randrproto renderproto resourceproto \
35
		scrnsaverproto videoproto xau xdmcp xext xkbfile xcmiscproto xextproto \
39
		scrnsaverproto videoproto xau xdmcp xext xkbfile xcmiscproto xextproto \
36
		xfont xproto xrandr xtrans xtst
40
		xfont xproto xrandr xtrans xtst xorg-macros
37
41
38
MAN1+=		vncpasswd.1 \
42
MAN1+=		vncpasswd.1 \
39
		x0vncserver.1 \
43
		x0vncserver.1 \
Lines 84-89 Link Here
84
USE_XORG+=	xcursor xfixes xft xinerama
88
USE_XORG+=	xcursor xfixes xft xinerama
85
MAN1+=		vncviewer.1
89
MAN1+=		vncviewer.1
86
PLIST_SUB+=	VIEWER=""
90
PLIST_SUB+=	VIEWER=""
91
INSTALLS_ICONS=	yes
92
DESKTOP_ENTRIES=	"TigerVNC viewer" "Connect to VNC server and display remote desktop" \
93
			"${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg" \
94
			"vncviewer" "Network;" false
87
.else
95
.else
88
PLIST_SUB+=	VIEWER="@comment "
96
PLIST_SUB+=	VIEWER="@comment "
89
.endif
97
.endif
Lines 109-115 Link Here
109
		--with-xkb-output=/var/lib/xkb \
117
		--with-xkb-output=/var/lib/xkb \
110
		--with-xkb-bin-directory=${PREFIX}/bin \
118
		--with-xkb-bin-directory=${PREFIX}/bin \
111
		--with-serverconfig-path=${PREFIX}/lib/X11 \
119
		--with-serverconfig-path=${PREFIX}/lib/X11 \
112
		--with-dri-driver-path=${PREFIX}/lib/dri \
113
		--disable-selective-werror
120
		--disable-selective-werror
114
121
115
.include <bsd.port.pre.mk>
122
.include <bsd.port.pre.mk>
Lines 145-149 Link Here
145
152
146
post-install:
153
post-install:
147
	@cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install
154
	@cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install
155
.if ${PORT_OPTIONS:MVIEWER}
156
	@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps/
157
	@cd ${WRKSRC}/media/ && ${INSTALL_DATA} icons/tigervnc.svg ${PREFIX}/share/icons/hicolor/scalable/apps/
158
.endif
148
159
149
.include <bsd.port.post.mk>
160
.include <bsd.port.post.mk>
(-)net/tigervnc/pkg-plist (+5 lines)
Lines 3-8 Link Here
3
bin/vncpasswd
3
bin/vncpasswd
4
bin/vncserver
4
bin/vncserver
5
%%VIEWER%%bin/vncviewer
5
%%VIEWER%%bin/vncviewer
6
%%VIEWER%%share/icons/hicolor/scalable/apps/tigervnc.svg
6
bin/x0vncserver
7
bin/x0vncserver
7
lib/xorg/modules/extensions/libvnc.la
8
lib/xorg/modules/extensions/libvnc.la
8
lib/xorg/modules/extensions/libvnc.so
9
lib/xorg/modules/extensions/libvnc.so
Lines 19-21 Link Here
19
@dirrmtry lib/xorg/modules/extensions
20
@dirrmtry lib/xorg/modules/extensions
20
@dirrmtry lib/xorg/modules
21
@dirrmtry lib/xorg/modules
21
@dirrmtry lib/xorg
22
@dirrmtry lib/xorg
23
%%VIEWER%%@dirrmtry share/icons/hicolor/scalable/apps
24
%%VIEWER%%@dirrmtry share/icons/hicolor/scalable
25
%%VIEWER%%@dirrmtry share/icons/hicolor
26
%%VIEWER%%@dirrmtry share/icons

Return to bug 178602