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

(-)/usr/home/akosela/downloads/rxvt/Makefile (-44 / +46 lines)
Lines 5-99 Link Here
5
# $FreeBSD: ports/x11/rxvt/Makefile,v 1.67 2008/06/19 06:59:44 lippe Exp $
5
# $FreeBSD: ports/x11/rxvt/Makefile,v 1.67 2008/06/19 06:59:44 lippe Exp $
6
#
6
#
7
# If possible, please consider updating the simple ports/x11-clocks/rclock
7
# If possible, please consider updating the simple ports/x11-clocks/rclock
8
# (and maybe ports/chinese/rxvt) when you upgrade rxvt.  These ports all use
8
# when you upgrade rxvt. These ports all use the same distfile.
9
# the same distfile.
10
9
11
PORTNAME=	rxvt
10
PORTNAME=	rxvt
12
PORTVERSION=	2.6.4
11
PORTVERSION=	2.6.4
13
PORTREVISION=	5
12
PORTREVISION=	6
14
CATEGORIES+=	x11
13
CATEGORIES+=	x11
15
MASTER_SITES=	SF
14
MASTER_SITES=	SF
16
15
17
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	akosela@andykosela.com
18
COMMENT=	A low memory usage xterm replacement that supports color
17
COMMENT=	A low memory usage xterm replacement that supports color
19
18
20
USE_XORG=	xpm
19
USE_XORG=	xpm
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
22
OPTIONS=	BIG5		"Build with BIG5 support" off \
23
		GB		"Build with GB support" off \
24
		GREEK 		"Build with greek keyboard support" off \
25
		HALF_SHADOW	"Build with half shadows support" off \
26
		KANJI		"Build with Kanji support" off \
27
		MENUBAR		"Build with menubar support" off \
28
		NEXT		"Build with NeXT scrollbar" off \
29
		TRANSPARENCY	"Build with transparency support" off \
30
		XGETDEFAULT	"Build with XGetDefault() support" off \
31
		XIM		"Build with XIM support" off \
32
		XTERM		"Build with Xterm scrollbar" off
33
22
CONFIGURE_ARGS=	--enable-utmp --enable-wtmp --enable-ttygid \
34
CONFIGURE_ARGS=	--enable-utmp --enable-wtmp --enable-ttygid \
23
		--with-xpm --enable-xpm-background --enable-transparency \
35
		--with-xpm --enable-xpm-background \
24
		--with-xpm-includes=${LOCALBASE}/include/X11 \
36
		--with-xpm-includes=${LOCALBASE}/include/X11 \
25
		--with-xpm-library=${LOCALBASE}/lib
37
		--with-xpm-library=${LOCALBASE}/lib
26
MAN1=		rxvt.1
38
MAN1=		rxvt.1
27
PLIST_FILES=	bin/rxvt
39
PLIST_FILES=	bin/rxvt
28
40
41
.include <bsd.port.pre.mk>
42
29
# enable big5 support
43
# enable big5 support
30
.if defined(WITH_BIG5)
44
.if defined(WITH_BIG5)
31
CONFIGURE_ARGS+=	--enable-big5
45
CONFIGURE_ARGS+=	--enable-big5
32
.endif # WITH_BIG5
46
.endif
33
#
47
34
# enable gb support
48
# enable gb support
35
.if defined(WITH_GB)
49
.if defined(WITH_GB)
36
CONFIGURE_ARGS+=	--enable-gb
50
CONFIGURE_ARGS+=	--enable-gb
37
.endif # WITH_GB
51
.endif
38
#
52
39
# enable greek keyboard support
53
# enable greek keyboard support
40
.if defined(WITH_GREEK_KEYBOARD)
54
.if defined(WITH_GREEK)
41
CONFIGURE_ARGS+=	--enable-greek
55
CONFIGURE_ARGS+=	--enable-greek
42
.endif # WITH_GREEK_KEYBOARD
56
.endif
43
#
57
44
# enable half width/height shadows scrollbar
58
# enable half width/height shadows scrollbar
45
.if defined(WITH_HALF_SHADOW)
59
.if defined(WITH_HALF_SHADOW)
46
CONFIGURE_ARGS+=	--enable-half-shadow
60
CONFIGURE_ARGS+=	--enable-half-shadow
47
.endif
61
.endif
48
#
62
49
# enable kanji support
63
# enable kanji support
50
.if defined(WITH_KANJI)
64
.if defined(WITH_KANJI)
51
CONFIGURE_ARGS+=	--enable-kanji
65
CONFIGURE_ARGS+=	--enable-kanji
52
.endif # WITH_KANJI
66
.endif
53
#
67
54
# enable menubar
68
# enable menubar
55
.if defined(WITH_MENUBAR)
69
.if defined(WITH_MENUBAR)
56
CONFIGURE_ARGS+=	--enable-menubar
70
CONFIGURE_ARGS+=	--enable-menubar
57
.endif # WITH_MENUBAR
71
.endif
58
#
72
59
# enable NeXT style scrollbar
73
# enable NeXT style scrollbar
60
.if defined(WITH_NEXT_SCROLLBAR)
74
.if defined(WITH_NEXT)
61
CONFIGURE_ARGS+=	--enable-next-scroll
75
CONFIGURE_ARGS+=	--enable-next-scroll
62
.endif
76
.endif
63
#
77
78
# enable transparency support
79
.if defined(WITH_TRANSPARENCY)
80
CONFIGURE_ARGS+=	--enable-transparency
81
.endif
82
64
# make resources checking via XGetDefault()
83
# make resources checking via XGetDefault()
65
.if defined(WITH_XGETDEFAULT)
84
.if defined(WITH_XGETDEFAULT)
66
CONFIGURE_ARGS+=	--enable-xgetdefault
85
CONFIGURE_ARGS+=	--enable-xgetdefault
67
.endif # WITH_XGETDEFAULT
86
.endif
68
#
87
69
# XIM (X Input Method) protocol support
88
# XIM (X Input Method) protocol support
70
.ifndef(WITHOUT_XIM)
89
.if defined(WITH_XIM)
71
CONFIGURE_ARGS+=	--enable-xim
90
CONFIGURE_ARGS+=	--enable-xim
72
.endif # WITH_XIM
91
.endif
73
#
92
74
# enable Xterm style scrollbar
93
# enable Xterm style scrollbar
75
.if defined(WITH_XTERM_SCROLLBAR)
94
.if defined(WITH_XTERM)
76
CONFIGURE_ARGS+=	--enable-xterm-scroll
95
CONFIGURE_ARGS+=	--enable-xterm-scroll
77
.endif # WITH_XTERM_SCROLLBAR
96
.endif
78
#
79
80
pre-fetch:
81
	@${ECHO_MSG} ""
82
	@${ECHO_MSG} "You may use the following build options:"
83
	@${ECHO_MSG} ""
84
	@${ECHO_MSG} "WITHOUT_XIM=yes		disable support for XIM (X Input Method) protocol"
85
	@${ECHO_MSG} "WITH_XGETDEFAULT=yes	make resources checking via XGetDefault()"
86
	@${ECHO_MSG} "WITH_BIG5=yes		add support for Chinese characters (BIG5)"
87
	@${ECHO_MSG} "WITH_GB=yes		add support for Chinese characters (GB)"
88
	@${ECHO_MSG} "WITH_GREEK_KEYBOARD=yes	add support for greek keyboard"
89
	@${ECHO_MSG} "WITH_HALF_SHADOW=yes	use half width/height shadows on non-Xterm scrollbar"
90
	@${ECHO_MSG} "WITH_KANJI=yes		add support for Kanji characters"
91
	@${ECHO_MSG} "WITH_MENUBAR=yes	add support for rxvt menu bar system"
92
	@${ECHO_MSG} "WITH_NEXT_SCROLLBAR=yes	add support for a NeXT-like scrollbar"
93
	@${ECHO_MSG} "WITH_XTERM_SCROLLBAR=yes	make the scrollbar look like an Xterm scrollbar"
94
	@${ECHO_MSG} "WITH_CLEARTEXTPASSWD=yes 	use cleartext passwords"
95
97
96
post-install:
98
post-install:
97
	@${CHMOD} 4711 ${PREFIX}/bin/rxvt
99
	@${CHMOD} 4711 ${PREFIX}/bin/rxvt
98
100
99
.include <bsd.port.mk>
101
.include <bsd.port.post.mk>

Return to bug 125877