summaryrefslogtreecommitdiff
path: root/x11/efltk
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-09-02 14:41:37 +0000
committerxtraeme <xtraeme>2005-09-02 14:41:37 +0000
commit984ca58bd4b2740d59c53286ce6c0d6dd3595a90 (patch)
treec77569482e7ea4528857cb4dee254baf058d8eda /x11/efltk
parent90127a891e323520d4260670a80577a5baac8257 (diff)
downloadpkgsrc-984ca58bd4b2740d59c53286ce6c0d6dd3595a90.tar.gz
Initial import of efltk-2.0.5.
EFltk is a LGPL'd C++ graphical user interface toolkit for X, OpenGL and Microsoft Windows. It is based on FLTK2 and is currently developed by the Equinox Desktop Environment Team.
Diffstat (limited to 'x11/efltk')
-rw-r--r--x11/efltk/DESCR3
-rw-r--r--x11/efltk/Makefile32
-rw-r--r--x11/efltk/PLIST231
-rw-r--r--x11/efltk/buildlink3.mk23
-rw-r--r--x11/efltk/distinfo7
-rw-r--r--x11/efltk/options.mk24
-rw-r--r--x11/efltk/patches/patch-aa14
-rw-r--r--x11/efltk/patches/patch-ab13
8 files changed, 347 insertions, 0 deletions
diff --git a/x11/efltk/DESCR b/x11/efltk/DESCR
new file mode 100644
index 00000000000..aff0f17a968
--- /dev/null
+++ b/x11/efltk/DESCR
@@ -0,0 +1,3 @@
+EFltk is a LGPL'd C++ graphical user interface toolkit for X, OpenGL
+and Microsoft Windows. It is based on FLTK2 and is currently developed
+by the Equinox Desktop Environment Team.
diff --git a/x11/efltk/Makefile b/x11/efltk/Makefile
new file mode 100644
index 00000000000..aaea1773c0d
--- /dev/null
+++ b/x11/efltk/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+#
+
+DISTNAME= efltk-2.0.5
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ede/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://ede.sourceforge.net/
+COMMENT= Extended Fast Light Toolkit
+
+WRKSRC= ${WRKDIR}/efltk
+GNU_CONFIGURE= yes
+USE_LANGUAGES+= c++
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake
+
+CONFIGURE_ARGS+= --enable-iconv
+CONFIGURE_ARGS+= --enable-xft
+CONFIGURE_ARGS+= --enable-plugins
+CONFIGURE_ARGS+= --disable-unixODBC
+
+.include "options.mk"
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/efltk/PLIST b/x11/efltk/PLIST
new file mode 100644
index 00000000000..4dcc3e8756e
--- /dev/null
+++ b/x11/efltk/PLIST
@@ -0,0 +1,231 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+bin/efltk-config
+include/efltk/Enumerations.h
+include/efltk/Fl.h
+include/efltk/Fl_Adjuster.h
+include/efltk/Fl_Align_Group.h
+include/efltk/Fl_Bar.h
+include/efltk/Fl_Bitmap.h
+include/efltk/Fl_Box.h
+include/efltk/Fl_Boxtype.h
+include/efltk/Fl_Browser.h
+include/efltk/Fl_Buffer.h
+include/efltk/Fl_Button.h
+include/efltk/Fl_Button_Group.h
+include/efltk/Fl_Calendar.h
+include/efltk/Fl_Callback_List.h
+include/efltk/Fl_Check_Button.h
+include/efltk/Fl_Check_Buttons.h
+include/efltk/Fl_Choice.h
+include/efltk/Fl_Clock.h
+include/efltk/Fl_Color.h
+include/efltk/Fl_Color_Chooser.h
+include/efltk/Fl_Combo_Box.h
+include/efltk/Fl_Config.h
+include/efltk/Fl_Config_Dialog_DS.h
+include/efltk/Fl_Data_Fields.h
+include/efltk/Fl_Data_Source.h
+include/efltk/Fl_Date_Time.h
+include/efltk/Fl_Date_Time_Input.h
+include/efltk/Fl_Device.h
+include/efltk/Fl_Dial.h
+include/efltk/Fl_Dialog.h
+include/efltk/Fl_Dialog_DS.h
+include/efltk/Fl_Directory_DS.h
+include/efltk/Fl_Divider.h
+include/efltk/Fl_Double_Window.h
+include/efltk/Fl_Events.h
+include/efltk/Fl_Exception.h
+include/efltk/Fl_Export.h
+include/efltk/Fl_FileBrowser.h
+include/efltk/Fl_FileInput.h
+include/efltk/Fl_File_Dialog.h
+include/efltk/Fl_File_IO.h
+include/efltk/Fl_Flags.h
+include/efltk/Fl_Float_Input.h
+include/efltk/Fl_Font.h
+include/efltk/Fl_Gdi.h
+include/efltk/Fl_Gl_Window.h
+include/efltk/Fl_Group.h
+include/efltk/Fl_Help_Dialog.h
+include/efltk/Fl_Highlight_Button.h
+include/efltk/Fl_Hor_Fill_Slider.h
+include/efltk/Fl_Hor_Nice_Slider.h
+include/efltk/Fl_Hor_Slider.h
+include/efltk/Fl_Hor_Value_Slider.h
+include/efltk/Fl_IO.h
+include/efltk/Fl_Image.h
+include/efltk/Fl_Image_Cache.h
+include/efltk/Fl_Image_Filter.h
+include/efltk/Fl_Image_IO.h
+include/efltk/Fl_Image_List.h
+include/efltk/Fl_Images.h
+include/efltk/Fl_Input.h
+include/efltk/Fl_Input_Browser.h
+include/efltk/Fl_Int_Input.h
+include/efltk/Fl_Int_List.h
+include/efltk/Fl_Item.h
+include/efltk/Fl_Item_Group.h
+include/efltk/Fl_Labeltype.h
+include/efltk/Fl_Light_Button.h
+include/efltk/Fl_Line_Dial.h
+include/efltk/Fl_ListView.h
+include/efltk/Fl_ListView_Column.h
+include/efltk/Fl_ListView_Header.h
+include/efltk/Fl_ListView_Item.h
+include/efltk/Fl_Locale.h
+include/efltk/Fl_MDI_Bar.h
+include/efltk/Fl_MDI_Window.h
+include/efltk/Fl_Main_Window.h
+include/efltk/Fl_Map.h
+include/efltk/Fl_Masked_Input.h
+include/efltk/Fl_Memory_DS.h
+include/efltk/Fl_Menu_.h
+include/efltk/Fl_Menu_Bar.h
+include/efltk/Fl_Menu_Button.h
+include/efltk/Fl_Menu_Item.h
+include/efltk/Fl_Menu_Window.h
+include/efltk/Fl_Multi_Browser.h
+include/efltk/Fl_Multi_Image.h
+include/efltk/Fl_Multiline_Input.h
+include/efltk/Fl_Multiline_Output.h
+include/efltk/Fl_Nice_Slider.h
+include/efltk/Fl_Numeric_Input.h
+include/efltk/Fl_Output.h
+include/efltk/Fl_Overlay_Window.h
+include/efltk/Fl_Pack.h
+include/efltk/Fl_Packed_Strings.h
+include/efltk/Fl_Pixmap.h
+include/efltk/Fl_Point.h
+include/efltk/Fl_Popup_Window.h
+include/efltk/Fl_PostScript.h
+include/efltk/Fl_Printer.h
+include/efltk/Fl_ProgressBar.h
+include/efltk/Fl_PtrList.h
+include/efltk/Fl_Ptr_List.h
+include/efltk/Fl_Ptr_Stack.h
+include/efltk/Fl_Radio_Button.h
+include/efltk/Fl_Radio_Buttons.h
+include/efltk/Fl_Radio_Item.h
+include/efltk/Fl_Radio_Light_Button.h
+include/efltk/Fl_Radio_Round_Button.h
+include/efltk/Fl_Rect.h
+include/efltk/Fl_Renderer.h
+include/efltk/Fl_Repeat_Button.h
+include/efltk/Fl_Return_Button.h
+include/efltk/Fl_Roller.h
+include/efltk/Fl_Round_Button.h
+include/efltk/Fl_Round_Clock.h
+include/efltk/Fl_Scroll.h
+include/efltk/Fl_Scrollbar.h
+include/efltk/Fl_Secret_Input.h
+include/efltk/Fl_Select_Browser.h
+include/efltk/Fl_Shaped_Window.h
+include/efltk/Fl_Signal.h
+include/efltk/Fl_Simple_Counter.h
+include/efltk/Fl_Simple_Html.h
+include/efltk/Fl_Single_Window.h
+include/efltk/Fl_Size.h
+include/efltk/Fl_Slider.h
+include/efltk/Fl_Socket.h
+include/efltk/Fl_Split.h
+include/efltk/Fl_Stock_Images.h
+include/efltk/Fl_String.h
+include/efltk/Fl_String_List.h
+include/efltk/Fl_String_Stack.h
+include/efltk/Fl_Style.h
+include/efltk/Fl_Style_Set.h
+include/efltk/Fl_Table_Base.h
+include/efltk/Fl_Tabs.h
+include/efltk/Fl_Text_Buffer.h
+include/efltk/Fl_Text_Display.h
+include/efltk/Fl_Text_Editor.h
+include/efltk/Fl_Thread.h
+include/efltk/Fl_Thread_Linux.h
+include/efltk/Fl_Thread_w32.h
+include/efltk/Fl_Threads.h
+include/efltk/Fl_Tile.h
+include/efltk/Fl_Toggle_Button.h
+include/efltk/Fl_Toggle_Item.h
+include/efltk/Fl_Toggle_Light_Button.h
+include/efltk/Fl_Toggle_Round_Button.h
+include/efltk/Fl_Tool_Bar.h
+include/efltk/Fl_Tooltip.h
+include/efltk/Fl_Translator.h
+include/efltk/Fl_Tree.h
+include/efltk/Fl_Util.h
+include/efltk/Fl_Valuator.h
+include/efltk/Fl_Value_Input.h
+include/efltk/Fl_Value_List.h
+include/efltk/Fl_Value_Map.h
+include/efltk/Fl_Value_Output.h
+include/efltk/Fl_Value_Slider.h
+include/efltk/Fl_Value_Stack.h
+include/efltk/Fl_Variant.h
+include/efltk/Fl_WM.h
+include/efltk/Fl_Widget.h
+include/efltk/Fl_Widget_List.h
+include/efltk/Fl_Window.h
+include/efltk/Fl_Wordwrap_Input.h
+include/efltk/Fl_Wordwrap_Output.h
+include/efltk/Fl_Workspace.h
+include/efltk/Xutf8.h
+include/efltk/db/Fl_Data_Dialog.h
+include/efltk/db/Fl_Database.h
+include/efltk/db/Fl_MySQL_Database.h
+include/efltk/db/Fl_ODBC_Database.h
+include/efltk/db/Fl_Params.h
+include/efltk/db/Fl_Query.h
+include/efltk/db/Fl_Record_DS.h
+include/efltk/filename.h
+include/efltk/fl_ask.h
+include/efltk/fl_draw.h
+include/efltk/fl_load_plugin.h
+include/efltk/fl_math.h
+include/efltk/fl_message.h
+include/efltk/fl_show_colormap.h
+include/efltk/fl_utf8.h
+include/efltk/gl.h
+include/efltk/gl2opengl.h
+include/efltk/gl_draw.h
+include/efltk/net/Fl_Base64.h
+include/efltk/net/Fl_FTP_Connect.h
+include/efltk/net/Fl_FTP_DS.h
+include/efltk/net/Fl_IMAP_Connect.h
+include/efltk/net/Fl_IMAP_DS.h
+include/efltk/net/Fl_Mail_Message.h
+include/efltk/vsnprintf.h
+include/efltk/win32.h
+include/efltk/x.h
+include/efltk/xml/Fl_Xml.h
+include/efltk/xml/Fl_XmlDoc.h
+include/efltk/xml/Fl_XmlHandler.h
+include/efltk/xml/Fl_XmlNode.h
+include/efltk/xml/Fl_XmlNode_List.h
+include/efltk/xml/Fl_XmlParser.h
+include/efltk/xml/Fl_XmlTokenizer.h
+lib/fltk/eblue.theme
+lib/fltk/essai.theme
+lib/fltk/motif.theme
+lib/libefltk.so
+lib/libefltk.so.2.0
+${OPENGL}lib/libefltk_gl.so
+${OPENGL}lib/libefltk_gl.so.2.0
+lib/libefltk_images.so
+lib/libefltk_images.so.2.0
+${MYSQL}lib/libefltk_mysql.so
+${MYSQL}lib/libefltk_mysql.so.2.0
+lib/libefltk_net.so
+lib/libefltk_net.so.2.0
+lib/libefltk_xml.so
+lib/libefltk_xml.so.2.0
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/efltk.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/efltk.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/efltk.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/efltk.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/efltk.mo
+@dirrm lib/fltk
+@dirrm include/efltk/xml
+@dirrm include/efltk/net
+@dirrm include/efltk/db
+@dirrm include/efltk
diff --git a/x11/efltk/buildlink3.mk b/x11/efltk/buildlink3.mk
new file mode 100644
index 00000000000..9ebb812df42
--- /dev/null
+++ b/x11/efltk/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EFLTK_BUILDLINK3_MK:= ${EFLTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= efltk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nefltk}
+BUILDLINK_PACKAGES+= efltk
+
+.if !empty(EFLTK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.efltk+= efltk>=2.0.5
+BUILDLINK_PKGSRCDIR.efltk?= ../../x11/efltk
+.endif # EFLTK_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/efltk/distinfo b/x11/efltk/distinfo
new file mode 100644
index 00000000000..0071371aa94
--- /dev/null
+++ b/x11/efltk/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99
+RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8
+Size (efltk-2.0.5.tar.bz2) = 1241294 bytes
+SHA1 (patch-aa) = d87f595661c465fc315b643241b22ef65926906e
+SHA1 (patch-ab) = 27a6870c068c8ea44089955a7d3c0492191f23ba
diff --git a/x11/efltk/options.mk b/x11/efltk/options.mk
new file mode 100644
index 00000000000..805f8236e54
--- /dev/null
+++ b/x11/efltk/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.efltk
+PKG_SUPPORTED_OPTIONS= opengl mysql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopengl)
+PLIST_SUBST+= OPENGL=
+CONFIGURE_ARGS+= --enable-opengl
+. include "../../graphics/MesaLib/buildlink3.mk"
+.else
+PLIST_SUBST+= OPENGL="@comment "
+CONFIGURE_ARGS+= --disable-opengl
+.endif
+
+.if !empty(PKG_OPTIONS:Mmysql)
+PLIST_SUBST+= MYSQL=
+CONFIGURE_ARGS+= --enable-mysql
+. include "../../mk/mysql.buildlink3.mk"
+.else
+PLIST_SUBST+= MYSQL="@comment "
+CONFIGURE_ARGS+= --disable-mysql
+.endif
diff --git a/x11/efltk/patches/patch-aa b/x11/efltk/patches/patch-aa
new file mode 100644
index 00000000000..54762e3cb9d
--- /dev/null
+++ b/x11/efltk/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+--- src/net/Fl_FTP_Connect.cpp.orig 2005-09-02 01:42:56.000000000 +0200
++++ src/net/Fl_FTP_Connect.cpp 2005-09-02 01:43:22.000000000 +0200
+@@ -1,6 +1,8 @@
+ #include <efltk/net/Fl_FTP_Connect.h>
+ #include <stdio.h>
+-#ifdef __linux__
++#include <sys/param.h>
++
++#if defined(__linux__) || defined(BSD)
+ # include <netinet/in.h>
+ #endif
+
diff --git a/x11/efltk/patches/patch-ab b/x11/efltk/patches/patch-ab
new file mode 100644
index 00000000000..3ce8c934187
--- /dev/null
+++ b/x11/efltk/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+--- Makefile.orig 2005-09-02 02:05:03.000000000 +0200
++++ Makefile 2005-09-02 02:05:13.000000000 +0200
+@@ -25,7 +25,7 @@
+ SHELL=/bin/sh
+ OS_NAME := $(shell uname -s | sed "s/\//-/" | sed "s/_/-/" | sed "s/-.*//g")
+
+-DIRS = src tools themes efltk locale test
++DIRS = src themes efltk locale
+
+ GENERATED = makeinclude efltk-config
+