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

(-)putty/Makefile (-5 / +15 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	putty
3
PORTNAME=	putty
4
PORTVERSION=	0.70
4
PORTVERSION=	0.70
5
PORTREVISION=	1
5
CATEGORIES=	security ipv6
6
CATEGORIES=	security ipv6
6
MASTER_SITES=	http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \
7
MASTER_SITES=	http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \
7
		ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
8
		ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
Lines 23-29 Link Here
23
PLIST_FILES=	bin/plink bin/pscp bin/psftp bin/puttygen
24
PLIST_FILES=	bin/plink bin/pscp bin/psftp bin/puttygen
24
PLIST_FILES+=	man/man1/plink.1.gz man/man1/pscp.1.gz man/man1/psftp.1.gz man/man1/puttygen.1.gz
25
PLIST_FILES+=	man/man1/plink.1.gz man/man1/pscp.1.gz man/man1/psftp.1.gz man/man1/puttygen.1.gz
25
26
26
OPTIONS_DEFINE=	GTK3
27
OPTIONS_RADIO=		TOOLKIT
28
OPTIONS_RADIO_TOOLKIT=	GTK2 GTK3
27
OPTIONS_DEFAULT=GSSAPI_BASE GTK3
29
OPTIONS_DEFAULT=GSSAPI_BASE GTK3
28
OPTIONS_SINGLE=	GSSAPI_SELECT
30
OPTIONS_SINGLE=	GSSAPI_SELECT
29
OPTIONS_SINGLE_GSSAPI_SELECT=	GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL \
31
OPTIONS_SINGLE_GSSAPI_SELECT=	GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL \
Lines 36-49 Link Here
36
CFLAGS+=	-DBSD_PTYS -DOMIT_UTMP -DIPV6
38
CFLAGS+=	-DBSD_PTYS -DOMIT_UTMP -DIPV6
37
LDFLAGS+=	-Wl,--as-needed
39
LDFLAGS+=	-Wl,--as-needed
38
40
39
.if ${PORT_OPTIONS:MGTK3} && !defined(WITHOUT_X11)
41
.if (${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3}) && !defined(WITHOUT_X11)
40
USE_GNOME=	cairo gdkpixbuf2 gtk30
41
USE_XORG=	x11
42
USE_XORG=	x11
43
.if ${PORT_OPTIONS:MGTK2}
44
USE_GNOME=	cairo gdkpixbuf2 gtk20
45
MAKE_ARGS+=	PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-2.0 x11 --cflags"
46
.endif
47
.if ${PORT_OPTIONS:MGTK3}
48
USE_GNOME=	cairo gdkpixbuf2 gtk30
49
MAKE_ARGS+=	PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-3.0 x11 --cflags"
50
.endif
42
51
43
PLIST_FILES+=	bin/pageant bin/pterm bin/putty bin/puttytel
52
PLIST_FILES+=	bin/pageant bin/pterm bin/putty bin/puttytel
44
PLIST_FILES+=	man/man1/pageant.1.gz man/man1/pterm.1.gz man/man1/putty.1.gz man/man1/puttytel.1.gz
53
PLIST_FILES+=	man/man1/pageant.1.gz man/man1/pterm.1.gz man/man1/putty.1.gz man/man1/puttytel.1.gz
45
PLIST_FILES+=	share/pixmaps/putty.ico
54
PLIST_FILES+=	share/pixmaps/putty.ico
46
MAKE_ARGS+=	PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-3.0 x11 --cflags"
47
DESKTOP_ENTRIES="PuTTY" \
55
DESKTOP_ENTRIES="PuTTY" \
48
		"${COMMENT}" \
56
		"${COMMENT}" \
49
		"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
57
		"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
Lines 91-99 Link Here
91
			      s,make,${MAKE_CMD},'\
99
			      s,make,${MAKE_CMD},'\
92
		${WRKSRC}/${MAKEFILE}
100
		${WRKSRC}/${MAKEFILE}
93
101
94
post-install-GTK3-on:
102
post-install:
103
.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3}
95
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
104
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
96
	${INSTALL_DATA} ${WRKSRC}/../windows/putty.ico \
105
	${INSTALL_DATA} ${WRKSRC}/../windows/putty.ico \
97
		${STAGEDIR}${PREFIX}/share/pixmaps/
106
		${STAGEDIR}${PREFIX}/share/pixmaps/
107
.endif
98
108
99
.include <bsd.port.mk>
109
.include <bsd.port.mk>

Return to bug 227200