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

(-)Makefile (-2 / +15 lines)
Lines 26-34 Link Here
26
		jpeg.9:${PORTSDIR}/graphics/jpeg \
26
		jpeg.9:${PORTSDIR}/graphics/jpeg \
27
		Xft.2:${PORTSDIR}/x11-fonts/libXft
27
		Xft.2:${PORTSDIR}/x11-fonts/libXft
28
28
29
SNAPSHOT=	r5170
29
SNAPSHOT=	r5256
30
30
31
OPTIONS=	FLTK_THREADS "Install with threads support" on
31
OPTIONS=	FLTK_THREADS "Install with threads support" on \
32
		FLTK_CAIRO "Use cairo as graphics backend" off
32
33
33
LATEST_LINK=	fltk2
34
LATEST_LINK=	fltk2
34
35
Lines 63-68 Link Here
63
CONFIGURE_ARGS+=	--disable-threads
64
CONFIGURE_ARGS+=	--disable-threads
64
.endif
65
.endif
65
66
67
.if defined(WITH_FLTK_CAIRO)
68
CONFIGURE_ARGS+=	--enable-cairo
69
LIB_DEPENDS+=	cairo.2:${PORTSDIR}/graphics/cairo
70
# XXX:
71
# FLTK2's configure check currently depends on pkg-config being available...
72
BUILD_DEPENDS+=	pkg-config:${PORTSDIR}/devel/pkg-config
73
.else
74
CONFIGURE_ARGS+=	--disable-cairo
75
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-test-Makefile
76
.endif
77
66
post-patch:
78
post-patch:
67
	${REINPLACE_CMD} -e 's:%%CXX%%:${CXX}:g' \
79
	${REINPLACE_CMD} -e 's:%%CXX%%:${CXX}:g' \
68
	    ${WRKSRC}/fltk2-config.in \
80
	    ${WRKSRC}/fltk2-config.in \
Lines 72-77 Link Here
72
.if !defined(NOPORTDOCS)
84
.if !defined(NOPORTDOCS)
73
	${MKDIR} ${DOCSDIR}
85
	${MKDIR} ${DOCSDIR}
74
	cd ${WRKSRC}/documentation && ${INSTALL_DATA} *.html *.gif ${DOCSDIR}
86
	cd ${WRKSRC}/documentation && ${INSTALL_DATA} *.html *.gif ${DOCSDIR}
87
	${INSTALL_DATA} ${WRKSRC}/README_fltk1_to_fltk2.txt ${DOCSDIR}
75
.endif
88
.endif
76
89
77
.include <bsd.port.post.mk>
90
.include <bsd.port.post.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fltk-2.0.x-r5170.tar.bz2) = 66fcc9c28806dae198a80f32b2368bc5
1
MD5 (fltk-2.0.x-r5256.tar.bz2) = 2a96a9b46e8108d75f03a92dad294599
2
SHA256 (fltk-2.0.x-r5170.tar.bz2) = 39db34ed0d70f1c08b0334fa436b769057b54d15d70534be8b8643e9a86fc420
2
SHA256 (fltk-2.0.x-r5256.tar.bz2) = 80c761f781c88a1642abb614eda3c254cf538da279508b9d87be3394b6461b00
3
SIZE (fltk-2.0.x-r5170.tar.bz2) = 2533439
3
SIZE (fltk-2.0.x-r5256.tar.bz2) = 2586246
(-)files/patch-test-Makefile (-12 / +4 lines)
Lines 4-20 Link Here
4
do so.
4
do so.
5
5
6
The issue is known and probably a fluid2 bug, see FLTK2 STR #1302.
6
The issue is known and probably a fluid2 bug, see FLTK2 STR #1302.
7
--- test/Makefile.orig	Fri May 12 22:16:29 2006
7
--- test/Makefile.orig	Fri Jul  7 19:38:14 2006
8
+++ test/Makefile	Mon Jun  5 14:44:17 2006
8
+++ test/Makefile	Fri Jul  7 19:38:14 2006
9
@@ -142,7 +142,6 @@
9
@@ -156,7 +156,6 @@
10
 	image$(EXEEXT) \
11
 	inactive$(EXEEXT) \
12
 	input$(EXEEXT) \
13
-	keyboard$(EXEEXT) \
14
 	label$(EXEEXT) \
15
 	line_style$(EXEEXT) \
16
 	list_visuals$(EXEEXT) \
17
@@ -155,7 +154,6 @@
18
 	pack$(EXEEXT) \
10
 	pack$(EXEEXT) \
19
 	pixmap$(EXEEXT) \
11
 	pixmap$(EXEEXT) \
20
 	progress$(EXEEXT) \
12
 	progress$(EXEEXT) \
Lines 22-28 Link Here
22
 	qubix$(EXEEXT) \
14
 	qubix$(EXEEXT) \
23
 	resizable$(EXEEXT) \
15
 	resizable$(EXEEXT) \
24
 	resizealign$(EXEEXT) \
16
 	resizealign$(EXEEXT) \
25
@@ -169,7 +167,6 @@
17
@@ -170,7 +169,6 @@
26
 	timer$(EXEEXT) \
18
 	timer$(EXEEXT) \
27
 	utf$(EXEEXT) \
19
 	utf$(EXEEXT) \
28
 	fullscreen$(EXEEXT) \
20
 	fullscreen$(EXEEXT) \
(-)files/extra-patch-test-Makefile (+10 lines)
Line 0 Link Here
1
--- test/Makefile.orig	Fri Jul  7 19:25:42 2006
2
+++ test/Makefile	Fri Jul  7 19:26:04 2006
3
@@ -119,7 +119,6 @@
4
 	bitmap$(EXEEXT) \
5
 	boxtype$(EXEEXT) \
6
 	browser$(EXEEXT) \
7
-	cairo$(EXEEXT) \
8
 	checkers$(EXEEXT) \
9
 	clock$(EXEEXT) \
10
 	button$(EXEEXT) \
(-)pkg-plist (-1 / +4 lines)
Lines 137-142 Link Here
137
include/fltk/Style.h
137
include/fltk/Style.h
138
include/fltk/StyleSet.h
138
include/fltk/StyleSet.h
139
include/fltk/Symbol.h
139
include/fltk/Symbol.h
140
include/fltk/SystemMenuBar.h
140
include/fltk/TabGroup.h
141
include/fltk/TabGroup.h
141
include/fltk/TextBuffer.h
142
include/fltk/TextBuffer.h
142
include/fltk/TextDisplay.h
143
include/fltk/TextDisplay.h
Lines 164-178 Link Here
164
include/fltk/events.h
165
include/fltk/events.h
165
include/fltk/file_chooser.h
166
include/fltk/file_chooser.h
166
include/fltk/filename.h
167
include/fltk/filename.h
168
include/fltk/fltk_cairo.h
167
include/fltk/forms.h
169
include/fltk/forms.h
168
include/fltk/gl.h
170
include/fltk/gl.h
169
include/fltk/gl2opengl.h
171
include/fltk/gl2opengl.h
170
include/fltk/glut.h
172
include/fltk/glut.h
171
include/fltk/layout.h
173
include/fltk/layout.h
172
include/fltk/load_plugin.h
174
include/fltk/load_plugin.h
173
include/fltk/mac.h
174
include/fltk/mac.r
175
include/fltk/mac.r
175
include/fltk/math.h
176
include/fltk/math.h
177
include/fltk/osx.h
176
include/fltk/pnmImage.h
178
include/fltk/pnmImage.h
177
include/fltk/rgbImage.h
179
include/fltk/rgbImage.h
178
include/fltk/run.h
180
include/fltk/run.h
Lines 183-188 Link Here
183
include/fltk/visual.h
185
include/fltk/visual.h
184
include/fltk/win32.h
186
include/fltk/win32.h
185
include/fltk/x.h
187
include/fltk/x.h
188
include/fltk/x11.h
186
include/fltk/xbmImage.h
189
include/fltk/xbmImage.h
187
include/fltk/xpmImage.h
190
include/fltk/xpmImage.h
188
@dirrm include/fltk
191
@dirrm include/fltk

Return to bug 100744