- New port: x11-toolkits/fltk-devel

This port tracks the development snapshots of FLTK, available at
  x11-toolkits/fltk.
This commit is contained in:
Pietro Cerutti 2013-10-23 16:05:33 +00:00
parent b835f15303
commit 39b1244707
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331392
6 changed files with 263 additions and 0 deletions

View file

@ -15,6 +15,7 @@
SUBDIR += fl_editor
SUBDIR += flowcanvas
SUBDIR += fltk
SUBDIR += fltk-devel
SUBDIR += flvw
SUBDIR += fox14
SUBDIR += fox16

View file

@ -0,0 +1,50 @@
# Created by: gahr
# $FreeBSD$
PORTNAME= fltk
DISTVERSION= 1.3.x-r${SNAPSHOT_VERS}
CATEGORIES= x11-toolkits
MASTER_SITES= http://fltk.org/pub/${PORTNAME}/snapshots/
PKGNAMESUFFIX= -devel
MAINTAINER= gahr@FreeBSD.org
COMMENT= Cross-platform C++ graphical user interface toolkit
LICENSE= LGPL20
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
OPTIONS_DEFINE= EXAMPLES
USE_XORG= xft
USE_GL= glu
USE_LDCONFIG= ${PREFIX}/lib/fltk-devel
USES+= cmake:outsource
CMAKE_ARGS+= -DOPTION_BUILD_SHARED_LIBS:BOOL=ON \
-DOPTION_PREFIX_BIN:PATH=${PREFIX}/bin/fltk-devel \
-DOPTION_PREFIX_DATA:PATH=${PREFIX}/share/fltk-devel \
-DOPTION_PREFIX_DOC:PATH=${PREFIX}/share/examples/fltk-devel \
-DOPTION_PREFIX_INCLUDE:PATH=${PREFIX}/include/fltk-devel \
-DOPTION_PREFIX_LIB:PATH=${PREFIX}/lib/fltk-devel
SNAPSHOT_VERS= 9998
PORTEXAMPLES= *
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
CMAKE_ARGS+= -DOPTION_BUILD_EXAMPLES:BOOL=ON
LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
LDFLAGS+= -L${LOCALBASE}/lib
.else
CMAKE_ARGS+= -DOPTION_BUILD_EXAMPLES:BOOL=OFF
.endif
post-install:
${LN} -s fltk-devel/libfltk.so ${STAGEDIR}${PREFIX}/lib/libfltk-devel.so
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (fltk-1.3.x-r9998.tar.gz) = e903c907f024c5caef38fcf67d3f849ad307bbe8039b7af189c00893f176c7ce
SIZE (fltk-1.3.x-r9998.tar.gz) = 4353103

View file

@ -0,0 +1,24 @@
--- CMakeLists.txt.orig 2013-09-11 14:54:40.000000000 +0200
+++ CMakeLists.txt 2013-10-23 16:43:54.000000000 +0200
@@ -54,6 +54,12 @@
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework Cocoa")
endif(APPLE)
+if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
+ set(HAVE_STRTOLL 1)
+ set(HAVE_STRCASECMP 1)
+ set(HAVE_DIRENT_H 1)
+endif()
+
if(WIN32)
if(MSVC)
add_definitions(-DWIN32_LEAN_AND_MEAN)
@@ -681,7 +687,7 @@
install(FILES
${FLTK_SOURCE_DIR}/documentation/src/${FILE}.man
DESTINATION ${PREFIX_MAN}/man${LEVEL}
- RENAME ${FILE}.${LEVEL}
+ RENAME ${FILE}-devel.${LEVEL}
)
endmacro(INSTALL_MAN FILE LEVEL)

View file

@ -0,0 +1,8 @@
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd C++
graphical user interface for X.
FLTK provides modern GUI functionality without the bloat and supports
3D graphics via OpenGL and its built-in GLUT emulation.
This port tracks the development snapshot releases of FLTK.
WWW: http://www.fltk.org/

View file

@ -0,0 +1,178 @@
bin/fltk-devel/fltk-config
bin/fltk-devel/fluid
include/fltk-devel/FL/Enumerations.H
include/fltk-devel/FL/Fl.H
include/fltk-devel/FL/Fl_Adjuster.H
include/fltk-devel/FL/Fl_BMP_Image.H
include/fltk-devel/FL/Fl_Bitmap.H
include/fltk-devel/FL/Fl_Box.H
include/fltk-devel/FL/Fl_Browser.H
include/fltk-devel/FL/Fl_Browser_.H
include/fltk-devel/FL/Fl_Button.H
include/fltk-devel/FL/Fl_Cairo.H
include/fltk-devel/FL/Fl_Cairo_Window.H
include/fltk-devel/FL/Fl_Chart.H
include/fltk-devel/FL/Fl_Check_Browser.H
include/fltk-devel/FL/Fl_Check_Button.H
include/fltk-devel/FL/Fl_Choice.H
include/fltk-devel/FL/Fl_Clock.H
include/fltk-devel/FL/Fl_Color_Chooser.H
include/fltk-devel/FL/Fl_Counter.H
include/fltk-devel/FL/Fl_Device.H
include/fltk-devel/FL/Fl_Dial.H
include/fltk-devel/FL/Fl_Double_Window.H
include/fltk-devel/FL/Fl_Export.H
include/fltk-devel/FL/Fl_File_Browser.H
include/fltk-devel/FL/Fl_File_Chooser.H
include/fltk-devel/FL/Fl_File_Icon.H
include/fltk-devel/FL/Fl_File_Input.H
include/fltk-devel/FL/Fl_Fill_Dial.H
include/fltk-devel/FL/Fl_Fill_Slider.H
include/fltk-devel/FL/Fl_Float_Input.H
include/fltk-devel/FL/Fl_FormsBitmap.H
include/fltk-devel/FL/Fl_FormsPixmap.H
include/fltk-devel/FL/Fl_Free.H
include/fltk-devel/FL/Fl_GIF_Image.H
include/fltk-devel/FL/Fl_Gl_Window.H
include/fltk-devel/FL/Fl_Group.H
include/fltk-devel/FL/Fl_Help_Dialog.H
include/fltk-devel/FL/Fl_Help_View.H
include/fltk-devel/FL/Fl_Hold_Browser.H
include/fltk-devel/FL/Fl_Hor_Fill_Slider.H
include/fltk-devel/FL/Fl_Hor_Nice_Slider.H
include/fltk-devel/FL/Fl_Hor_Slider.H
include/fltk-devel/FL/Fl_Hor_Value_Slider.H
include/fltk-devel/FL/Fl_Image.H
include/fltk-devel/FL/Fl_Input.H
include/fltk-devel/FL/Fl_Input_.H
include/fltk-devel/FL/Fl_Input_Choice.H
include/fltk-devel/FL/Fl_Int_Input.H
include/fltk-devel/FL/Fl_JPEG_Image.H
include/fltk-devel/FL/Fl_Light_Button.H
include/fltk-devel/FL/Fl_Line_Dial.H
include/fltk-devel/FL/Fl_Menu.H
include/fltk-devel/FL/Fl_Menu_.H
include/fltk-devel/FL/Fl_Menu_Bar.H
include/fltk-devel/FL/Fl_Menu_Button.H
include/fltk-devel/FL/Fl_Menu_Item.H
include/fltk-devel/FL/Fl_Menu_Window.H
include/fltk-devel/FL/Fl_Multi_Browser.H
include/fltk-devel/FL/Fl_Multi_Label.H
include/fltk-devel/FL/Fl_Multiline_Input.H
include/fltk-devel/FL/Fl_Multiline_Output.H
include/fltk-devel/FL/Fl_Native_File_Chooser.H
include/fltk-devel/FL/Fl_Nice_Slider.H
include/fltk-devel/FL/Fl_Object.H
include/fltk-devel/FL/Fl_Output.H
include/fltk-devel/FL/Fl_Overlay_Window.H
include/fltk-devel/FL/Fl_PNG_Image.H
include/fltk-devel/FL/Fl_PNM_Image.H
include/fltk-devel/FL/Fl_Pack.H
include/fltk-devel/FL/Fl_Paged_Device.H
include/fltk-devel/FL/Fl_Pixmap.H
include/fltk-devel/FL/Fl_Plugin.H
include/fltk-devel/FL/Fl_Positioner.H
include/fltk-devel/FL/Fl_PostScript.H
include/fltk-devel/FL/Fl_Preferences.H
include/fltk-devel/FL/Fl_Printer.H
include/fltk-devel/FL/Fl_Progress.H
include/fltk-devel/FL/Fl_RGB_Image.H
include/fltk-devel/FL/Fl_Radio_Button.H
include/fltk-devel/FL/Fl_Radio_Light_Button.H
include/fltk-devel/FL/Fl_Radio_Round_Button.H
include/fltk-devel/FL/Fl_Repeat_Button.H
include/fltk-devel/FL/Fl_Return_Button.H
include/fltk-devel/FL/Fl_Roller.H
include/fltk-devel/FL/Fl_Round_Button.H
include/fltk-devel/FL/Fl_Round_Clock.H
include/fltk-devel/FL/Fl_Scroll.H
include/fltk-devel/FL/Fl_Scrollbar.H
include/fltk-devel/FL/Fl_Secret_Input.H
include/fltk-devel/FL/Fl_Select_Browser.H
include/fltk-devel/FL/Fl_Shared_Image.H
include/fltk-devel/FL/Fl_Simple_Counter.H
include/fltk-devel/FL/Fl_Single_Window.H
include/fltk-devel/FL/Fl_Slider.H
include/fltk-devel/FL/Fl_Spinner.H
include/fltk-devel/FL/Fl_Sys_Menu_Bar.H
include/fltk-devel/FL/Fl_Table.H
include/fltk-devel/FL/Fl_Table_Row.H
include/fltk-devel/FL/Fl_Tabs.H
include/fltk-devel/FL/Fl_Text_Buffer.H
include/fltk-devel/FL/Fl_Text_Display.H
include/fltk-devel/FL/Fl_Text_Editor.H
include/fltk-devel/FL/Fl_Tile.H
include/fltk-devel/FL/Fl_Tiled_Image.H
include/fltk-devel/FL/Fl_Timer.H
include/fltk-devel/FL/Fl_Toggle_Button.H
include/fltk-devel/FL/Fl_Toggle_Light_Button.H
include/fltk-devel/FL/Fl_Toggle_Round_Button.H
include/fltk-devel/FL/Fl_Tooltip.H
include/fltk-devel/FL/Fl_Tree.H
include/fltk-devel/FL/Fl_Tree_Item.H
include/fltk-devel/FL/Fl_Tree_Item_Array.H
include/fltk-devel/FL/Fl_Tree_Prefs.H
include/fltk-devel/FL/Fl_Valuator.H
include/fltk-devel/FL/Fl_Value_Input.H
include/fltk-devel/FL/Fl_Value_Output.H
include/fltk-devel/FL/Fl_Value_Slider.H
include/fltk-devel/FL/Fl_Widget.H
include/fltk-devel/FL/Fl_Window.H
include/fltk-devel/FL/Fl_Wizard.H
include/fltk-devel/FL/Fl_XBM_Image.H
include/fltk-devel/FL/Fl_XPM_Image.H
include/fltk-devel/FL/Makefile.in
include/fltk-devel/FL/README.Xcode
include/fltk-devel/FL/Xutf8.h
include/fltk-devel/FL/dirent.h
include/fltk-devel/FL/filename.H
include/fltk-devel/FL/fl_ask.H
include/fltk-devel/FL/fl_draw.H
include/fltk-devel/FL/fl_message.H
include/fltk-devel/FL/fl_show_colormap.H
include/fltk-devel/FL/fl_show_input.H
include/fltk-devel/FL/fl_types.h
include/fltk-devel/FL/fl_utf8.h
include/fltk-devel/FL/forms.H
include/fltk-devel/FL/gl.h
include/fltk-devel/FL/gl2opengl.h
include/fltk-devel/FL/gl_draw.H
include/fltk-devel/FL/glu.h
include/fltk-devel/FL/glut.H
include/fltk-devel/FL/mac.H
include/fltk-devel/FL/math.h
include/fltk-devel/FL/names.h
include/fltk-devel/FL/win32.H
include/fltk-devel/FL/x.H
lib/FLTK-1.3/FLTKConfig.cmake
lib/FLTK-1.3/FLTKLibraries-release.cmake
lib/FLTK-1.3/FLTKLibraries.cmake
lib/FLTK-1.3/UseFLTK.cmake
lib/libfltk-devel.so
lib/fltk-devel/libfltk.a
lib/fltk-devel/libfltk.so
lib/fltk-devel/libfltk.so.0
lib/fltk-devel/libfltk.so.1.3
lib/fltk-devel/libfltk_forms.a
lib/fltk-devel/libfltk_forms.so
lib/fltk-devel/libfltk_forms.so.0
lib/fltk-devel/libfltk_forms.so.1.3
lib/fltk-devel/libfltk_gl.a
lib/fltk-devel/libfltk_gl.so
lib/fltk-devel/libfltk_gl.so.0
lib/fltk-devel/libfltk_gl.so.1.3
lib/fltk-devel/libfltk_images.a
lib/fltk-devel/libfltk_images.so
lib/fltk-devel/libfltk_images.so.0
lib/fltk-devel/libfltk_images.so.1.3
man/man1/fltk-config-devel.1.gz
man/man1/fluid-devel.1.gz
man/man3/fltk-devel.3.gz
man/man6/blocks-devel.6.gz
man/man6/checkers-devel.6.gz
man/man6/sudoku-devel.6.gz
@dirrm lib/fltk-devel
@dirrm lib/FLTK-1.3
@dirrm include/fltk-devel/FL
@dirrm include/fltk-devel
@dirrm bin/fltk-devel