diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-24 02:00:22 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-24 02:00:22 +0000 |
commit | 215c9dc5a20c5bc37867ade05b3f7e44123480cc (patch) | |
tree | 149de1f346d7914dbaffe88d8b3d7266978ccd75 /x11-toolkits | |
parent | 741d21d51269332de1b01cb32c21b5e26ae650d8 (diff) | |
download | ports-215c9dc5a20c5bc37867ade05b3f7e44123480cc.tar.gz ports-215c9dc5a20c5bc37867ade05b3f7e44123480cc.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/fltk2/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/fltk2/distinfo | 6 | ||||
-rw-r--r-- | x11-toolkits/fltk2/files/extra-patch-test-Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/fltk2/files/patch-test-Makefile | 16 | ||||
-rw-r--r-- | x11-toolkits/fltk2/pkg-plist | 5 |
5 files changed, 36 insertions, 18 deletions
diff --git a/x11-toolkits/fltk2/Makefile b/x11-toolkits/fltk2/Makefile index a75f76d99b4d..03386b70c014 100644 --- a/x11-toolkits/fltk2/Makefile +++ b/x11-toolkits/fltk2/Makefile @@ -26,9 +26,10 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ Xft.2:${PORTSDIR}/x11-fonts/libXft -SNAPSHOT= r5170 +SNAPSHOT= r5256 -OPTIONS= FLTK_THREADS "Install with threads support" on +OPTIONS= FLTK_THREADS "Install with threads support" on \ + FLTK_CAIRO "Use cairo as graphics backend" off LATEST_LINK= fltk2 @@ -63,6 +64,17 @@ LDFLAGS+= "${PTHREAD_LIBS}" CONFIGURE_ARGS+= --disable-threads .endif +.if defined(WITH_FLTK_CAIRO) +CONFIGURE_ARGS+= --enable-cairo +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +# XXX: +# FLTK2's configure check currently depends on pkg-config being available... +BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config +.else +CONFIGURE_ARGS+= --disable-cairo +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-test-Makefile +.endif + post-patch: ${REINPLACE_CMD} -e 's:%%CXX%%:${CXX}:g' \ ${WRKSRC}/fltk2-config.in \ @@ -72,6 +84,7 @@ post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/documentation && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README_fltk1_to_fltk2.txt ${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/x11-toolkits/fltk2/distinfo b/x11-toolkits/fltk2/distinfo index 04dca66b2ce8..e2d30c7d8247 100644 --- a/x11-toolkits/fltk2/distinfo +++ b/x11-toolkits/fltk2/distinfo @@ -1,3 +1,3 @@ -MD5 (fltk-2.0.x-r5170.tar.bz2) = 66fcc9c28806dae198a80f32b2368bc5 -SHA256 (fltk-2.0.x-r5170.tar.bz2) = 39db34ed0d70f1c08b0334fa436b769057b54d15d70534be8b8643e9a86fc420 -SIZE (fltk-2.0.x-r5170.tar.bz2) = 2533439 +MD5 (fltk-2.0.x-r5256.tar.bz2) = 2a96a9b46e8108d75f03a92dad294599 +SHA256 (fltk-2.0.x-r5256.tar.bz2) = 80c761f781c88a1642abb614eda3c254cf538da279508b9d87be3394b6461b00 +SIZE (fltk-2.0.x-r5256.tar.bz2) = 2586246 diff --git a/x11-toolkits/fltk2/files/extra-patch-test-Makefile b/x11-toolkits/fltk2/files/extra-patch-test-Makefile new file mode 100644 index 000000000000..655d4211a271 --- /dev/null +++ b/x11-toolkits/fltk2/files/extra-patch-test-Makefile @@ -0,0 +1,10 @@ +--- test/Makefile.orig Fri Jul 7 19:25:42 2006 ++++ test/Makefile Fri Jul 7 19:26:04 2006 +@@ -119,7 +119,6 @@ + bitmap$(EXEEXT) \ + boxtype$(EXEEXT) \ + browser$(EXEEXT) \ +- cairo$(EXEEXT) \ + checkers$(EXEEXT) \ + clock$(EXEEXT) \ + button$(EXEEXT) \ diff --git a/x11-toolkits/fltk2/files/patch-test-Makefile b/x11-toolkits/fltk2/files/patch-test-Makefile index b8bfededa3f3..4963bcf01bb4 100644 --- a/x11-toolkits/fltk2/files/patch-test-Makefile +++ b/x11-toolkits/fltk2/files/patch-test-Makefile @@ -4,17 +4,9 @@ connection when building these programs and fails when it cannot do so. The issue is known and probably a fluid2 bug, see FLTK2 STR #1302. ---- test/Makefile.orig Fri May 12 22:16:29 2006 -+++ test/Makefile Mon Jun 5 14:44:17 2006 -@@ -142,7 +142,6 @@ - image$(EXEEXT) \ - inactive$(EXEEXT) \ - input$(EXEEXT) \ -- keyboard$(EXEEXT) \ - label$(EXEEXT) \ - line_style$(EXEEXT) \ - list_visuals$(EXEEXT) \ -@@ -155,7 +154,6 @@ +--- test/Makefile.orig Fri Jul 7 19:38:14 2006 ++++ test/Makefile Fri Jul 7 19:38:14 2006 +@@ -156,7 +156,6 @@ pack$(EXEEXT) \ pixmap$(EXEEXT) \ progress$(EXEEXT) \ @@ -22,7 +14,7 @@ The issue is known and probably a fluid2 bug, see FLTK2 STR #1302. qubix$(EXEEXT) \ resizable$(EXEEXT) \ resizealign$(EXEEXT) \ -@@ -169,7 +167,6 @@ +@@ -170,7 +169,6 @@ timer$(EXEEXT) \ utf$(EXEEXT) \ fullscreen$(EXEEXT) \ diff --git a/x11-toolkits/fltk2/pkg-plist b/x11-toolkits/fltk2/pkg-plist index 3726e0377645..39505df03f4b 100644 --- a/x11-toolkits/fltk2/pkg-plist +++ b/x11-toolkits/fltk2/pkg-plist @@ -137,6 +137,7 @@ include/fltk/StringList.h include/fltk/Style.h include/fltk/StyleSet.h include/fltk/Symbol.h +include/fltk/SystemMenuBar.h include/fltk/TabGroup.h include/fltk/TextBuffer.h include/fltk/TextDisplay.h @@ -164,15 +165,16 @@ include/fltk/error.h include/fltk/events.h include/fltk/file_chooser.h include/fltk/filename.h +include/fltk/fltk_cairo.h include/fltk/forms.h include/fltk/gl.h include/fltk/gl2opengl.h include/fltk/glut.h include/fltk/layout.h include/fltk/load_plugin.h -include/fltk/mac.h include/fltk/mac.r include/fltk/math.h +include/fltk/osx.h include/fltk/pnmImage.h include/fltk/rgbImage.h include/fltk/run.h @@ -183,6 +185,7 @@ include/fltk/utf.h include/fltk/visual.h include/fltk/win32.h include/fltk/x.h +include/fltk/x11.h include/fltk/xbmImage.h include/fltk/xpmImage.h @dirrm include/fltk |