Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

16
lang/Cg-compiler/DESCR Normal file
View File

@@ -0,0 +1,16 @@
The award-winning Cg Toolkit enables software developers to add the latest
interactive effects to real-time applications with a comprehensive solution that
works across platforms and graphics APIs containing:
* Compiler for the Cg 3.1 language
* Cg/CgFX Runtime libraries for OpenGL and Direct3D
* User's Manual and documentation on the Cg Language, Runtime APIs, Cg
Library, CgFX States, and Cg Profiles
* Numerous Cg examples
Supporting dozens of different OpenGL and DirectX profile targets, Cg allows you
to incorporate stunning, interactive effects within your 3D applications and
share them between other Cg applications, across graphics APIs, and most
operating systems (Windows XP, Vista and Windows 7, Mac OS X for Leopard, Snow
Leopard & Lion, Linux 32-bit & 64-bit) and balance effect complexities with
client GPU capabilities.

424
lang/Cg-compiler/Makefile Normal file
View File

@@ -0,0 +1,424 @@
# $NetBSD: Makefile,v 1.17 2013/06/30 14:14:10 rodent Exp $
#
DISTNAME= Cg-3.1_April2012_x86${DIST_ARCH}
PKGNAME= ${DISTNAME:S/-/-compiler-/:S/_April2012_x86${DIST_ARCH}//}
CATEGORIES= lang
MASTER_SITES= http://developer.download.nvidia.com/cg/Cg_3.1/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://developer.nvidia.com/cg-toolkit
COMMENT= Compiler for the Cg 3.1 language
LICENSE= nvidia-license
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c c++
EMUL_PLATFORMS= linux-i386 linux-x86_64
EMUL_MODULES.linux= base
EMUL_REQD= suse>=7.3
BUILD_DIRS= # empty
RUN_LDCONFIG= yes
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
PLIST_SRC= PLIST.common
.if ${EMUL_ARCH} == "i386"
DIST_ARCH= # blank
INSTALLATION_DIRS= ${EMULDIR}/lib
PLIST_SRC+= PLIST.linux-i386
.elif ${EMUL_ARCH} == "x86_64"
DIST_ARCH= _64
INSTALLATION_DIRS= ${EMULDIR}/lib64
PLIST_SRC+= PLIST.linux-x86_64
.else
DIST_ARCH= # blank
INSTALLATION_DIRS= ${EMULDIR}/lib
PLIST_SRC+= PLIST.linux-i386
.endif
INSTALLATION_DIRS+= bin include/Cg share/doc/Cg-compiler \
share/doc/html/Cg-compiler \
share/examples/Cg-compiler/Direct3D10/advanced/cgfx_buffer_lighting \
share/examples/Cg-compiler/Direct3D10/advanced/combine_programs \
share/examples/Cg-compiler/Direct3D10/advanced/custom_state_assignments \
share/examples/Cg-compiler/Direct3D10/advanced/gs_shrinky \
share/examples/Cg-compiler/Direct3D10/advanced/gs_simple \
share/examples/Cg-compiler/Direct3D10/advanced/include_string \
share/examples/Cg-compiler/Direct3D10/advanced/interpolation_modifier \
share/examples/Cg-compiler/Direct3D10/basic/02_vertex_and_fragment_program \
share/examples/Cg-compiler/Direct3D10/basic/03_uniform_parameter \
share/examples/Cg-compiler/Direct3D10/basic/04_varying_parameter \
share/examples/Cg-compiler/Direct3D10/basic/05_texture_sampling \
share/examples/Cg-compiler/Direct3D10/basic/06_vertex_twisting \
share/examples/Cg-compiler/Direct3D10/basic/07_two_texture_accesses \
share/examples/Cg-compiler/Direct3D10/basic/cgfx_buffer \
share/examples/Cg-compiler/Direct3D10/basic/cgfx_simple \
share/examples/Cg-compiler/Direct3D10/basic/cgfx_texture \
share/examples/Cg-compiler/Direct3D10/miniDXUT \
share/examples/Cg-compiler/Direct3D11/advanced/cgfx_buffer_lighting \
share/examples/Cg-compiler/Direct3D11/advanced/cgfx_bumpdemo_array \
share/examples/Cg-compiler/Direct3D11/advanced/cgfx_bumpdemo \
share/examples/Cg-compiler/Direct3D11/advanced/cgfx_latest \
share/examples/Cg-compiler/Direct3D11/advanced/combine_programs \
share/examples/Cg-compiler/Direct3D11/advanced/custom_state_assignments \
share/examples/Cg-compiler/Direct3D11/advanced/gs_shrinky \
share/examples/Cg-compiler/Direct3D11/advanced/gs_simple \
share/examples/Cg-compiler/Direct3D11/advanced/include_string \
share/examples/Cg-compiler/Direct3D11/advanced/interpolation_modifier \
share/examples/Cg-compiler/Direct3D11/basic/02_vertex_and_fragment_program \
share/examples/Cg-compiler/Direct3D11/basic/03_uniform_parameter \
share/examples/Cg-compiler/Direct3D11/basic/04_varying_parameter \
share/examples/Cg-compiler/Direct3D11/basic/05_texture_sampling \
share/examples/Cg-compiler/Direct3D11/basic/06_vertex_twisting \
share/examples/Cg-compiler/Direct3D11/basic/07_two_texture_accesses \
share/examples/Cg-compiler/Direct3D11/basic/cgfx_buffer \
share/examples/Cg-compiler/Direct3D11/basic/cgfx_simple \
share/examples/Cg-compiler/Direct3D11/basic/cgfx_texture \
share/examples/Cg-compiler/Direct3D9/advanced/cgfx_buffer_lighting \
share/examples/Cg-compiler/Direct3D9/advanced/cgfx_bumpdemo \
share/examples/Cg-compiler/Direct3D9/basic/01_vertex_program \
share/examples/Cg-compiler/Direct3D9/basic/02_vertex_and_fragment_program \
share/examples/Cg-compiler/Direct3D9/basic/03_uniform_parameter \
share/examples/Cg-compiler/Direct3D9/basic/04_varying_parameter \
share/examples/Cg-compiler/Direct3D9/basic/05_texture_sampling \
share/examples/Cg-compiler/Direct3D9/basic/06_vertex_twisting \
share/examples/Cg-compiler/Direct3D9/basic/07_two_texture_accesses \
share/examples/Cg-compiler/Direct3D9/miniDXUT \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_boxfilter \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_bumpdemo_array \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_bumpdemo \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_interfaces \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_latest \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_procfx \
share/examples/Cg-compiler/OpenGL/advanced/cgfx_texture_array \
share/examples/Cg-compiler/OpenGL/advanced/combine_program \
share/examples/Cg-compiler/OpenGL/advanced/custom_state_assignments \
share/examples/Cg-compiler/OpenGL/advanced/generic_attribs \
share/examples/Cg-compiler/OpenGL/advanced/gs_interp_quad \
share/examples/Cg-compiler/OpenGL/advanced/gs_md2render \
share/examples/Cg-compiler/OpenGL/advanced/gs_quadnormal \
share/examples/Cg-compiler/OpenGL/advanced/gs_shrinky \
share/examples/Cg-compiler/OpenGL/advanced/gs_simple \
share/examples/Cg-compiler/OpenGL/advanced/include_string \
share/examples/Cg-compiler/OpenGL/advanced/interpolation_modifier \
share/examples/Cg-compiler/OpenGL/advanced/texture_array \
share/examples/Cg-compiler/OpenGL/advanced/vertex_texture \
share/examples/Cg-compiler/OpenGL/basic/01_vertex_program \
share/examples/Cg-compiler/OpenGL/basic/02_vertex_and_fragment_program \
share/examples/Cg-compiler/OpenGL/basic/03_uniform_parameter \
share/examples/Cg-compiler/OpenGL/basic/04_varying_parameter \
share/examples/Cg-compiler/OpenGL/basic/05_texture_sampling \
share/examples/Cg-compiler/OpenGL/basic/06_vertex_twisting \
share/examples/Cg-compiler/OpenGL/basic/07_two_texture_accesses \
share/examples/Cg-compiler/OpenGL/basic/08_vertex_transform \
share/examples/Cg-compiler/OpenGL/basic/09_vertex_lighting \
share/examples/Cg-compiler/OpenGL/basic/10_fragment_lighting \
share/examples/Cg-compiler/OpenGL/basic/11_two_lights_with_structs \
share/examples/Cg-compiler/OpenGL/basic/12_light_attenuation \
share/examples/Cg-compiler/OpenGL/basic/13_spotlight \
share/examples/Cg-compiler/OpenGL/basic/14_bulge \
share/examples/Cg-compiler/OpenGL/basic/15_particle_system \
share/examples/Cg-compiler/OpenGL/basic/16_keyframe_interpolation \
share/examples/Cg-compiler/OpenGL/basic/18_cube_map_reflection \
share/examples/Cg-compiler/OpenGL/basic/19_cube_map_refraction \
share/examples/Cg-compiler/OpenGL/basic/20_chromatic_dispersion \
share/examples/Cg-compiler/OpenGL/basic/21_bump_map_wall \
share/examples/Cg-compiler/OpenGL/basic/22_specular_bump_map \
share/examples/Cg-compiler/OpenGL/basic/23_bump_map_floor \
share/examples/Cg-compiler/OpenGL/basic/24_bump_map_torus \
share/examples/Cg-compiler/OpenGL/basic/25_uniform_fog \
share/examples/Cg-compiler/OpenGL/basic/26_toon_shading \
share/examples/Cg-compiler/OpenGL/basic/27_projective_texturing \
share/examples/Cg-compiler/OpenGL/buffers/buffer_lighting \
share/examples/Cg-compiler/OpenGL/buffers/cgfx_buffer_lighting \
share/examples/Cg-compiler/OpenGL/buffers/ubo_lighting \
share/examples/Cg-compiler/OpenGL/glew/include/GL \
share/examples/Cg-compiler/OpenGL/glew/src \
share/examples/Cg-compiler/OpenGL/tessellation/cgfx_tessellation \
share/examples/Cg-compiler/OpenGL/tessellation/phong_tess \
share/examples/Cg-compiler/OpenGL/tessellation/pn_triangles \
share/examples/Cg-compiler/OpenGL/tessellation/quad_tri_bezier \
share/examples/Cg-compiler/OpenGL/tessellation/terrain_tess \
share/examples/Cg-compiler/OpenGL/tessellation/tess_bezier \
share/examples/Cg-compiler/OpenGL/tessellation/tess_simple \
share/examples/Cg-compiler/Tools/cgfxcat \
share/examples/Cg-compiler/Tools/cginfo \
share/examples/Cg-compiler/Trace
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/* ${DESTDIR}${PREFIX}/bin
.if ${EMUL_ARCH} == "i386"
${INSTALL_DATA} ${WRKSRC}/usr/lib/* ${DESTDIR}${EMULDIR}/lib
.elif ${EMUL_ARCH} == "x86_64"
${INSTALL_DATA} ${WRKSRC}/usr/lib64/* ${DESTDIR}${EMULDIR}/lib64
.else
${INSTALL_DATA} ${WRKSRC}/usr/lib/* ${DESTDIR}${EMULDIR}/lib
.endif
${INSTALL_DATA} ${WRKSRC}/usr/include/Cg/* \
${DESTDIR}${PREFIX}/include/Cg
${INSTALL_DATA} ${WRKSRC}/usr/local/Cg/README ${DESTDIR}${PREFIX}/share/doc/Cg-compiler
${INSTALL_DATA} ${WRKSRC}/usr/local/Cg/docs/Cg* ${DESTDIR}${PREFIX}/share/doc/Cg-compiler
${INSTALL_DATA} ${WRKSRC}/usr/local/Cg/docs/html/* ${DESTDIR}${PREFIX}/share/doc/html/Cg-compiler
cd ${WRKSRC}/usr/local/Cg/examples && \
${INSTALL_DATA} Direct3D10/advanced/Direct3D10_Advanced_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced && \
${INSTALL_DATA} Direct3D10/advanced/cgfx_buffer_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/cgfx_buffer_lighting && \
${INSTALL_DATA} Direct3D10/advanced/combine_programs/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/combine_programs && \
${INSTALL_DATA} Direct3D10/advanced/custom_state_assignments/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/custom_state_assignments && \
${INSTALL_DATA} Direct3D10/advanced/gs_shrinky/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/gs_shrinky && \
${INSTALL_DATA} Direct3D10/advanced/gs_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/gs_simple && \
${INSTALL_DATA} Direct3D10/advanced/include_string/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/include_string && \
${INSTALL_DATA} Direct3D10/advanced/interpolation_modifier/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/advanced/interpolation_modifier && \
${INSTALL_DATA} Direct3D10/basic/Direct3D10_Basic_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic && \
${INSTALL_DATA} Direct3D10/basic/02_vertex_and_fragment_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/02_vertex_and_fragment_program && \
${INSTALL_DATA} Direct3D10/basic/03_uniform_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/03_uniform_parameter && \
${INSTALL_DATA} Direct3D10/basic/04_varying_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/04_varying_parameter && \
${INSTALL_DATA} Direct3D10/basic/05_texture_sampling/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/05_texture_sampling && \
${INSTALL_DATA} Direct3D10/basic/06_vertex_twisting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/06_vertex_twisting && \
${INSTALL_DATA} Direct3D10/basic/07_two_texture_accesses/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/07_two_texture_accesses && \
${INSTALL_DATA} Direct3D10/basic/cgfx_buffer/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/cgfx_buffer && \
${INSTALL_DATA} Direct3D10/basic/cgfx_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/cgfx_simple && \
${INSTALL_DATA} Direct3D10/basic/cgfx_texture/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/basic/cgfx_texture && \
${INSTALL_DATA} Direct3D10/miniDXUT/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D10/miniDXUT && \
${INSTALL_DATA} Direct3D11/advanced/Direct3D11_Advanced_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced && \
${INSTALL_DATA} Direct3D11/advanced/cgfx_buffer_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/cgfx_buffer_lighting && \
${INSTALL_DATA} Direct3D11/advanced/cgfx_bumpdemo_array/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/cgfx_bumpdemo_array && \
${INSTALL_DATA} Direct3D11/advanced/cgfx_bumpdemo/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/cgfx_bumpdemo && \
${INSTALL_DATA} Direct3D11/advanced/cgfx_latest/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/cgfx_latest && \
${INSTALL_DATA} Direct3D11/advanced/combine_programs/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/combine_programs && \
${INSTALL_DATA} Direct3D11/advanced/custom_state_assignments/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/custom_state_assignments && \
${INSTALL_DATA} Direct3D11/advanced/gs_shrinky/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/gs_shrinky && \
${INSTALL_DATA} Direct3D11/advanced/gs_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/gs_simple && \
${INSTALL_DATA} Direct3D11/advanced/include_string/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/include_string && \
${INSTALL_DATA} Direct3D11/advanced/interpolation_modifier/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/advanced/interpolation_modifier && \
${INSTALL_DATA} Direct3D11/basic/Direct3D11_Basic_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic && \
${INSTALL_DATA} Direct3D11/basic/02_vertex_and_fragment_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/02_vertex_and_fragment_program && \
${INSTALL_DATA} Direct3D11/basic/03_uniform_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/03_uniform_parameter && \
${INSTALL_DATA} Direct3D11/basic/04_varying_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/04_varying_parameter && \
${INSTALL_DATA} Direct3D11/basic/05_texture_sampling/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/05_texture_sampling && \
${INSTALL_DATA} Direct3D11/basic/06_vertex_twisting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/06_vertex_twisting && \
${INSTALL_DATA} Direct3D11/basic/07_two_texture_accesses/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/07_two_texture_accesses && \
${INSTALL_DATA} Direct3D11/basic/cgfx_buffer/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/cgfx_buffer && \
${INSTALL_DATA} Direct3D11/basic/cgfx_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/cgfx_simple && \
${INSTALL_DATA} Direct3D11/basic/cgfx_texture/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D11/basic/cgfx_texture && \
${INSTALL_DATA} Direct3D9/advanced/Direct3D9_Advanced_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/advanced && \
${INSTALL_DATA} Direct3D9/advanced/cgfx_buffer_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/advanced/cgfx_buffer_lighting && \
${INSTALL_DATA} Direct3D9/advanced/cgfx_bumpdemo/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/advanced/cgfx_bumpdemo && \
${INSTALL_DATA} Direct3D9/basic/Direct3D9_Basic_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic && \
${INSTALL_DATA} Direct3D9/basic/01_vertex_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/01_vertex_program && \
${INSTALL_DATA} Direct3D9/basic/02_vertex_and_fragment_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/02_vertex_and_fragment_program && \
${INSTALL_DATA} Direct3D9/basic/03_uniform_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/03_uniform_parameter && \
${INSTALL_DATA} Direct3D9/basic/04_varying_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/04_varying_parameter && \
${INSTALL_DATA} Direct3D9/basic/05_texture_sampling/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/05_texture_sampling && \
${INSTALL_DATA} Direct3D9/basic/06_vertex_twisting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/06_vertex_twisting && \
${INSTALL_DATA} Direct3D9/basic/07_two_texture_accesses/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/basic/07_two_texture_accesses && \
${INSTALL_DATA} Direct3D9/miniDXUT/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Direct3D9/miniDXUT && \
${INSTALL_DATA} OpenGL/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL && \
${INSTALL_DATA} OpenGL/advanced/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced && \
${INSTALL_DATA} OpenGL/advanced/OpenGL_Advanced_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced && \
${INSTALL_DATA} OpenGL/advanced/cgfx_boxfilter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_boxfilter && \
${INSTALL_DATA} OpenGL/advanced/cgfx_bumpdemo_array/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_bumpdemo_array && \
${INSTALL_DATA} OpenGL/advanced/cgfx_bumpdemo/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_bumpdemo && \
${INSTALL_DATA} OpenGL/advanced/cgfx_interfaces/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_interfaces && \
${INSTALL_DATA} OpenGL/advanced/cgfx_latest/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_latest && \
${INSTALL_DATA} OpenGL/advanced/cgfx_procfx/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_procfx && \
${INSTALL_DATA} OpenGL/advanced/cgfx_texture_array/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/cgfx_texture_array && \
${INSTALL_DATA} OpenGL/advanced/combine_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/combine_program && \
${INSTALL_DATA} OpenGL/advanced/custom_state_assignments/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/custom_state_assignments && \
${INSTALL_DATA} OpenGL/advanced/generic_attribs/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/generic_attribs && \
${INSTALL_DATA} OpenGL/advanced/gs_interp_quad/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/gs_interp_quad && \
${INSTALL_DATA} OpenGL/advanced/gs_md2render/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/gs_md2render && \
${INSTALL_DATA} OpenGL/advanced/gs_quadnormal/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/gs_quadnormal && \
${INSTALL_DATA} OpenGL/advanced/gs_shrinky/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/gs_shrinky && \
${INSTALL_DATA} OpenGL/advanced/gs_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/gs_simple && \
${INSTALL_DATA} OpenGL/advanced/include_string/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/include_string && \
${INSTALL_DATA} OpenGL/advanced/interpolation_modifier/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/interpolation_modifier && \
${INSTALL_DATA} OpenGL/advanced/texture_array/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/texture_array && \
${INSTALL_DATA} OpenGL/advanced/vertex_texture/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/advanced/vertex_texture && \
${INSTALL_DATA} OpenGL/basic/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic && \
${INSTALL_DATA} OpenGL/basic/OpenGL_Basic_* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic && \
${INSTALL_DATA} OpenGL/basic/01_vertex_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/01_vertex_program && \
${INSTALL_DATA} OpenGL/basic/02_vertex_and_fragment_program/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/02_vertex_and_fragment_program && \
${INSTALL_DATA} OpenGL/basic/03_uniform_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/03_uniform_parameter && \
${INSTALL_DATA} OpenGL/basic/04_varying_parameter/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/04_varying_parameter && \
${INSTALL_DATA} OpenGL/basic/05_texture_sampling/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/05_texture_sampling && \
${INSTALL_DATA} OpenGL/basic/06_vertex_twisting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/06_vertex_twisting && \
${INSTALL_DATA} OpenGL/basic/07_two_texture_accesses/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/07_two_texture_accesses && \
${INSTALL_DATA} OpenGL/basic/08_vertex_transform/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/08_vertex_transform && \
${INSTALL_DATA} OpenGL/basic/09_vertex_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/09_vertex_lighting && \
${INSTALL_DATA} OpenGL/basic/10_fragment_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/10_fragment_lighting && \
${INSTALL_DATA} OpenGL/basic/11_two_lights_with_structs/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/11_two_lights_with_structs && \
${INSTALL_DATA} OpenGL/basic/12_light_attenuation/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/12_light_attenuation && \
${INSTALL_DATA} OpenGL/basic/13_spotlight/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/13_spotlight && \
${INSTALL_DATA} OpenGL/basic/14_bulge/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/14_bulge && \
${INSTALL_DATA} OpenGL/basic/15_particle_system/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/15_particle_system && \
${INSTALL_DATA} OpenGL/basic/16_keyframe_interpolation/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/16_keyframe_interpolation && \
${INSTALL_DATA} OpenGL/basic/18_cube_map_reflection/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/18_cube_map_reflection && \
${INSTALL_DATA} OpenGL/basic/19_cube_map_refraction/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/19_cube_map_refraction && \
${INSTALL_DATA} OpenGL/basic/20_chromatic_dispersion/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/20_chromatic_dispersion && \
${INSTALL_DATA} OpenGL/basic/21_bump_map_wall/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/21_bump_map_wall && \
${INSTALL_DATA} OpenGL/basic/22_specular_bump_map/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/22_specular_bump_map && \
${INSTALL_DATA} OpenGL/basic/23_bump_map_floor/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/23_bump_map_floor && \
${INSTALL_DATA} OpenGL/basic/24_bump_map_torus/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/24_bump_map_torus && \
${INSTALL_DATA} OpenGL/basic/25_uniform_fog/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/25_uniform_fog && \
${INSTALL_DATA} OpenGL/basic/26_toon_shading/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/26_toon_shading && \
${INSTALL_DATA} OpenGL/basic/27_projective_texturing/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/basic/27_projective_texturing && \
${INSTALL_DATA} OpenGL/buffers/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/buffers && \
${INSTALL_DATA} OpenGL/buffers/OpenGL_Buffers_20* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/buffers && \
${INSTALL_DATA} OpenGL/buffers/buffer_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/buffers/buffer_lighting && \
${INSTALL_DATA} OpenGL/buffers/cgfx_buffer_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/buffers/cgfx_buffer_lighting && \
${INSTALL_DATA} OpenGL/buffers/ubo_lighting/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/buffers/ubo_lighting && \
${INSTALL_DATA} OpenGL/glew/LICENSE.txt \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew && \
${INSTALL_DATA} OpenGL/glew/Makefile* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew && \
${INSTALL_DATA} OpenGL/glew/include/GL/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew/include/GL && \
${INSTALL_DATA} OpenGL/glew/glew* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew && \
${INSTALL_DATA} OpenGL/glew/src/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew/src && \
${INSTALL_DATA} OpenGL/glew/visualinfo* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/glew/ && \
${INSTALL_DATA} OpenGL/tessellation/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/ && \
${INSTALL_DATA} OpenGL/tessellation/*.sln \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/ && \
${INSTALL_DATA} OpenGL/tessellation/cgfx_tessellation/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/cgfx_tessellation && \
${INSTALL_DATA} OpenGL/tessellation/phong_tess/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/phong_tess && \
${INSTALL_DATA} OpenGL/tessellation/pn_triangles/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/pn_triangles && \
${INSTALL_DATA} OpenGL/tessellation/quad_tri_bezier/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/quad_tri_bezier && \
${INSTALL_DATA} OpenGL/tessellation/terrain_tess/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/terrain_tess && \
${INSTALL_DATA} OpenGL/tessellation/tess_bezier/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/tess_bezier && \
${INSTALL_DATA} OpenGL/tessellation/tess_simple/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/OpenGL/tessellation/tess_simple && \
${INSTALL_DATA} README \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler && \
${INSTALL_DATA} Tools/Makefile \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Tools && \
${INSTALL_DATA} Tools/*.sln \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Tools && \
${INSTALL_DATA} Tools/cgfxcat/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Tools/cgfxcat && \
${INSTALL_DATA} Tools/cginfo/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Tools/cginfo && \
${INSTALL_DATA} Trace/* \
${DESTDIR}${PREFIX}/share/examples/Cg-compiler/Trace
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.linux-i386,v 1.1 2013/06/30 03:14:43 rodent Exp $
${EMULSUBDIRSLASH}lib/libCg.so
${EMULSUBDIRSLASH}lib/libCgGL.so

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.linux-x86_64,v 1.1 2013/06/30 03:14:43 rodent Exp $
${EMULSUBDIRSLASH}lib64/libCg.so
${EMULSUBDIRSLASH}lib64/libCgGL.so

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.9 2013/06/30 03:14:43 rodent Exp $
BUILDLINK_TREE+= Cg-compiler
.if !defined(CG_COMPILER_BUILDLINK3_MK)
CG_COMPILER_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.Cg-compiler+= Cg-compiler>=3.1
BUILDLINK_PKGSRCDIR.Cg-compiler?= ../../lang/Cg-compiler
.endif # CG_COMPILER_BUILDLINK3_MK
BUILDLINK_TREE+= -Cg-compiler

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.4 2013/06/30 03:14:43 rodent Exp $
SHA1 (Cg-3.1_April2012_x86.tgz) = b0cdbcacd85716a80a90b7c65b817b6931df9d5b
RMD160 (Cg-3.1_April2012_x86.tgz) = 43c0834948b48a18ca6511b59bc98e82c0e53bc4
Size (Cg-3.1_April2012_x86.tgz) = 23332348 bytes
SHA1 (Cg-3.1_April2012_x86_64.tgz) = 7e3d70fcb2246a577654e6b7fb141db907560c53
RMD160 (Cg-3.1_April2012_x86_64.tgz) = eb2dbe1883297efa6ab1dc7f091b5a8d5dbbfdba
Size (Cg-3.1_April2012_x86_64.tgz) = 24829131 bytes

9
lang/LuaJIT/DESCR Normal file
View File

@@ -0,0 +1,9 @@
LuaJIT is a Just-In-Time Compiler for the Lua programming language.
Lua is a powerful, light-weight programming language designed for extending
applications. Lua is also frequently used as a general-purpose, stand-alone
language. More information about Lua can be found at: http://www.lua.org/
LuaJIT is based on the Lua 5.1.x virtual machine and bytecode interpreter from
lua.org. It compiles bytecode to native x86 (i386+) machine code to speed up the
execution of Lua programs.

31
lang/LuaJIT/Makefile Normal file
View File

@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.3 2012/10/02 20:11:35 asau Exp $
#
DISTNAME= LuaJIT-1.1.5
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
MAINTAINER= pho@cielonegro.org
HOMEPAGE= http://luajit.org/
COMMENT= Just-In-Time Compiler for the Lua programming language
ONLY_FOR_PLATFORM= *-*-i386
LICENSE= mit
USE_TOOLS+= gmake
MAKE_FLAGS+= INSTALL_TOP=${PREFIX}
.include "../../mk/bsd.prefs.mk"
OPSYSVARS+= BUILD_TARGET
BUILD_TARGET.Linux= linux
BUILD_TARGET.FreeBSD= bsd
BUILD_TARGET.NetBSD= bsd
BUILD_TARGET.OpenBSD= bsd
BUILD_TARGET.Darwin= macosx
BUILD_TARGET.SunOS= solaris
BUILD_TARGET.*= posix
.include "../../mk/bsd.pkg.mk"

9
lang/LuaJIT/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
bin/luajit
share/lua/5.1/jit/dis_x86.lua
share/lua/5.1/jit/dump.lua
share/lua/5.1/jit/dumphints.lua
share/lua/5.1/jit/opt.lua
share/lua/5.1/jit/opt_inline.lua
share/lua/5.1/jit/trace.lua
@pkgdir lib/lua/5.1

6
lang/LuaJIT/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
SHA1 (LuaJIT-1.1.5.tar.gz) = 5141f2ba18d042421e51774d9f60a41d8d1d5cf2
RMD160 (LuaJIT-1.1.5.tar.gz) = 2c0f89ede02716f4de06347ea5040f7d75086135
Size (LuaJIT-1.1.5.tar.gz) = 362411 bytes
SHA1 (patch-aa) = 59b8a259d60a89e9603230bad3a7f9a86a21dff1

View File

@@ -0,0 +1,34 @@
$NetBSD: patch-aa,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
--- Makefile.orig 2008-10-25 09:00:00.000000000 +0900
+++ Makefile
@@ -61,15 +61,22 @@ test: dummy
src/luajit -O -e 'io.write("Hello world, from ", jit.version, "!\n")'
install: dummy
- cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) $(INSTALL_LMOD)/jit
- cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
- ###cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
- ###cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
- ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
- cd jit && $(INSTALL_DATA) *.lua $(INSTALL_LMOD)/jit
+ cd src && $(MKDIR) \
+ $(DESTDIR)$(INSTALL_BIN) \
+ $(DESTDIR)$(INSTALL_INC) \
+ $(DESTDIR)$(INSTALL_LIB) \
+ $(DESTDIR)$(INSTALL_MAN) \
+ $(DESTDIR)$(INSTALL_LMOD) \
+ $(DESTDIR)$(INSTALL_CMOD) \
+ $(DESTDIR)$(INSTALL_LMOD)/jit
+ cd src && $(INSTALL_EXEC) $(TO_BIN) $(DESTDIR)$(INSTALL_BIN)
+ ###cd src && $(INSTALL_DATA) $(TO_INC) $(DESTDIR)$(INSTALL_INC)
+ ###cd src && $(INSTALL_DATA) $(TO_LIB) $(DESTDIR)$(INSTALL_LIB)
+ ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(DESTDIR)$(INSTALL_MAN)
+ cd jit && $(INSTALL_DATA) *.lua $(DESTDIR)$(INSTALL_LMOD)/jit
ranlib:
- cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
+ cd src && cd $(DESTDIR)$(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
none:
@echo "Please do"

215
lang/Makefile Normal file
View File

@@ -0,0 +1,215 @@
# $NetBSD: Makefile,v 1.349 2013/06/20 06:07:23 wiz Exp $
#
COMMENT= Programming languages
SUBDIR+= Cg-compiler
SUBDIR+= LuaJIT
SUBDIR+= STk
SUBDIR+= SmartEiffel
SUBDIR+= a60
SUBDIR+= abcl
SUBDIR+= algol68g
SUBDIR+= awka
SUBDIR+= baci
SUBDIR+= basic256
SUBDIR+= boomerang
SUBDIR+= brandybasic
SUBDIR+= bwbasic
SUBDIR+= caml-light
SUBDIR+= camlp5
SUBDIR+= ccsh
SUBDIR+= cdl3
SUBDIR+= chicken
SUBDIR+= cim
SUBDIR+= cint
SUBDIR+= clang
SUBDIR+= classpath
SUBDIR+= classpath-gui
SUBDIR+= clisp
SUBDIR+= clojure
SUBDIR+= coq
SUBDIR+= cparser
SUBDIR+= cu-prolog
SUBDIR+= eag
SUBDIR+= ecl
SUBDIR+= eieio
SUBDIR+= elisp-manual
SUBDIR+= elk
SUBDIR+= embryo
SUBDIR+= erlang
SUBDIR+= erlang-doc
SUBDIR+= erlang-man
SUBDIR+= ezm3
SUBDIR+= f2c
SUBDIR+= ficl
SUBDIR+= focal
SUBDIR+= fort77
SUBDIR+= g95
SUBDIR+= gambc
SUBDIR+= gauche
SUBDIR+= gawk
SUBDIR+= gcc
SUBDIR+= gcc-aux
SUBDIR+= gcc3
SUBDIR+= gcc3-c
SUBDIR+= gcc3-c++
SUBDIR+= gcc3-f77
SUBDIR+= gcc3-objc
SUBDIR+= gcc34
SUBDIR+= gcc44
SUBDIR+= gcc45
SUBDIR+= gcc46
SUBDIR+= gcc47
SUBDIR+= gcc47-libs
SUBDIR+= gcc48
SUBDIR+= gcc48-libs
SUBDIR+= gforth
SUBDIR+= ghc
SUBDIR+= gnat-aux
SUBDIR+= gpc
SUBDIR+= gprolog
SUBDIR+= guile
SUBDIR+= guile16
SUBDIR+= gwydion-dylan
SUBDIR+= heirloom-awk
SUBDIR+= hugs
SUBDIR+= icc11
SUBDIR+= icon
SUBDIR+= inform
SUBDIR+= intercal
SUBDIR+= ja-gawk
SUBDIR+= jamvm
SUBDIR+= japhar
SUBDIR+= jasmin
SUBDIR+= java-lang-spec
SUBDIR+= java-vm-spec
SUBDIR+= jikes
SUBDIR+= jini
SUBDIR+= joos
SUBDIR+= js
SUBDIR+= kaffe
SUBDIR+= kaffe-esound
SUBDIR+= kaffe-x11
SUBDIR+= kali
SUBDIR+= konoha
SUBDIR+= ksi
SUBDIR+= librep
SUBDIR+= libtcl-nothread
SUBDIR+= likepython
SUBDIR+= lua
SUBDIR+= lush
SUBDIR+= maude
SUBDIR+= mawk
SUBDIR+= mercury
SUBDIR+= minischeme
SUBDIR+= mit-scheme-bin
SUBDIR+= mono
SUBDIR+= mono-basic
SUBDIR+= mono2
SUBDIR+= moscow_ml
SUBDIR+= mpd
SUBDIR+= nawk
SUBDIR+= newlisp
SUBDIR+= nhc98
SUBDIR+= nodejs
SUBDIR+= objc
SUBDIR+= ocaml
SUBDIR+= onyx
SUBDIR+= oo2c
SUBDIR+= open-cobol-ce
SUBDIR+= opencobol
SUBDIR+= openjdk7
SUBDIR+= openjdk7-bin
SUBDIR+= opensource-cobol
SUBDIR+= ossp-js
SUBDIR+= p2c
SUBDIR+= p5-Switch
SUBDIR+= parrot
SUBDIR+= pcc
SUBDIR+= pcc-current
SUBDIR+= pear
SUBDIR+= perl5
SUBDIR+= pfe
SUBDIR+= pforth
#SUBDIR+= php # only contains Makefile fragments
SUBDIR+= php5-perl
SUBDIR+= php53
SUBDIR+= php54
SUBDIR+= picoc
SUBDIR+= pict
SUBDIR+= polyml
SUBDIR+= py-basicproperty
SUBDIR+= py-cxfreeze
SUBDIR+= py-psyco
SUBDIR+= py-pyrex
SUBDIR+= py26-html-docs
SUBDIR+= py27-html-docs
#SUBDIR+= python # only contains Makefile fragments
SUBDIR+= python26
SUBDIR+= python27
SUBDIR+= python32
SUBDIR+= python33
SUBDIR+= racket
SUBDIR+= racket-textual
SUBDIR+= rcfunge
SUBDIR+= rexx-imc
SUBDIR+= rexx-regina
SUBDIR+= ruby
SUBDIR+= ruby-coffee-script
SUBDIR+= ruby-coffee-script-source
SUBDIR+= ruby-doc-stdlib
SUBDIR+= ruby-execjs
SUBDIR+= ruby18
SUBDIR+= ruby18-base
SUBDIR+= ruby193
SUBDIR+= ruby193-base
SUBDIR+= runawk
SUBDIR+= sablevm
SUBDIR+= sablevm-classpath
SUBDIR+= sablevm-classpath-gui
SUBDIR+= sather
SUBDIR+= sbcl
SUBDIR+= scala
SUBDIR+= scheme48
SUBDIR+= scm
SUBDIR+= see
SUBDIR+= sigscheme
SUBDIR+= siod
SUBDIR+= smalltalk
SUBDIR+= smlnj
SUBDIR+= snobol
SUBDIR+= spidermonkey
SUBDIR+= spl
SUBDIR+= squeak
SUBDIR+= squeak-vm
SUBDIR+= sr
SUBDIR+= sr-examples
SUBDIR+= stalin
SUBDIR+= sun-jdk6
SUBDIR+= sun-jdk7
SUBDIR+= sun-jre6
SUBDIR+= sun-jre7
SUBDIR+= swi-prolog
SUBDIR+= swi-prolog-lite
SUBDIR+= swi-prolog-packages
SUBDIR+= tcl
SUBDIR+= tcl-expect
SUBDIR+= tcl-itcl
SUBDIR+= tcl-otcl
SUBDIR+= tinyscheme
SUBDIR+= twelf
SUBDIR+= ucblogo
SUBDIR+= umb-scheme
SUBDIR+= utilisp
SUBDIR+= vala
SUBDIR+= vala014
SUBDIR+= vala018
SUBDIR+= vala020
SUBDIR+= vscm
SUBDIR+= vslisp
SUBDIR+= wsbasic
SUBDIR+= yabasic
SUBDIR+= yap
.include "../mk/misc/category.mk"

9
lang/STk/DESCR Normal file
View File

@@ -0,0 +1,9 @@
STk is a Scheme interpreter which can access to the Tk graphical package.
Concretely it can be seen as the John Ousterhout's Tk package where
the Tcl language has been replaced by Scheme.
The Scheme interpreter is now R4RS conformant.
This release provides an efficient object oriented system called STklos.
STklos is a full OO system with multi-inheritance, generic functions,
multi-methods and a true meta object protocol.

35
lang/STk/Makefile Normal file
View File

@@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.23 2013/06/16 11:47:13 ryoon Exp $
DISTNAME= STk-4.0.1
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ftp://kaolin.unice.fr/pub/STk/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kaolin.essi.fr/STk/
COMMENT= Scheme interpreter with full access to the Tk graphical package
CONFLICTS+= snow-[0-9]*
MAKE_JOBS_SAFE= no
OSVERSION_SPECIFIC= yes
GNU_CONFIGURE= yes
BUILDLINK_DEPMETHOD.libXt= build
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:M*:Q}
# Respin these symlinks so they aren't absolute.
STKVER=${DISTNAME:S/STk-//}
STKDIR=lib/stk/${STKVER}/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/snow-${STKVER}
${RM} -f ${DESTDIR}${PREFIX}/bin/stk-${STKVER}
${LN} -s ../${STKDIR}/snow ${DESTDIR}${PREFIX}/bin/snow-${STKVER}
${LN} -s ../${STKDIR}/stk ${DESTDIR}${PREFIX}/bin/stk-${STKVER}
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

555
lang/STk/PLIST Normal file
View File

@@ -0,0 +1,555 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 20:34:12 joerg Exp $
bin/snow
bin/snow-4.0.1
bin/stk
bin/stk-4.0.1
lib/stk/4.0.1/Demos/Html-Demos/Images/STk-tiny.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/amib-tiny.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/amib.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/backward.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/compo-all.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/en.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/entry.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/envdraw.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/fr.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/frame.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/label.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_01.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_02.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_03.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_04.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_05.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_06.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_07.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_08.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_09.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_10.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_11.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_12.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_13.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_14.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_15.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_16.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_17.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_18.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_19.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_20.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_21.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_22.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_23.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_24.gif
lib/stk/4.0.1/Demos/Html-Demos/Images/mosaic_25.gif
lib/stk/4.0.1/Demos/Html-Demos/S-scape-en.html
lib/stk/4.0.1/Demos/Html-Demos/S-scape-fr.html
lib/stk/4.0.1/Demos/Html-Demos/amib-en.html
lib/stk/4.0.1/Demos/Html-Demos/amib-fr.html
lib/stk/4.0.1/Demos/Html-Demos/amib.stklos
lib/stk/4.0.1/Demos/Html-Demos/applet-en.html
lib/stk/4.0.1/Demos/Html-Demos/applet-fr.html
lib/stk/4.0.1/Demos/Html-Demos/compo-en.html
lib/stk/4.0.1/Demos/Html-Demos/compo-fr.html
lib/stk/4.0.1/Demos/Html-Demos/envdraw-en.html
lib/stk/4.0.1/Demos/Html-Demos/envdraw-fr.html
lib/stk/4.0.1/Demos/Html-Demos/intro-en.html
lib/stk/4.0.1/Demos/Html-Demos/intro-fr.html
lib/stk/4.0.1/Demos/Html-Demos/main-en.html
lib/stk/4.0.1/Demos/Html-Demos/main-fr.html
lib/stk/4.0.1/Demos/Html-Demos/main.html
lib/stk/4.0.1/Demos/Html-Demos/simple-en.html
lib/stk/4.0.1/Demos/Html-Demos/simple-fr.html
lib/stk/4.0.1/Demos/Html-Demos/stklos-widgets
lib/stk/4.0.1/Demos/README.html
lib/stk/4.0.1/Demos/S-scape.stklos
lib/stk/4.0.1/Demos/Warrow.stklos
lib/stk/4.0.1/Demos/Wbind.stklos
lib/stk/4.0.1/Demos/Wbitmap.stklos
lib/stk/4.0.1/Demos/Wbutton.stklos
lib/stk/4.0.1/Demos/Wcheck.stklos
lib/stk/4.0.1/Demos/Wcolors.stklos
lib/stk/4.0.1/Demos/Wcscroll.stklos
lib/stk/4.0.1/Demos/Wctext.stklos
lib/stk/4.0.1/Demos/Wdialog1.stklos
lib/stk/4.0.1/Demos/Wdialog2.stklos
lib/stk/4.0.1/Demos/Wentry1.stklos
lib/stk/4.0.1/Demos/Wentry2.stklos
lib/stk/4.0.1/Demos/Wfloor.stklos
lib/stk/4.0.1/Demos/Wform.stklos
lib/stk/4.0.1/Demos/Whscale.stklos
lib/stk/4.0.1/Demos/Wicon.stklos
lib/stk/4.0.1/Demos/Wimage1.stklos
lib/stk/4.0.1/Demos/Wimage2.stklos
lib/stk/4.0.1/Demos/Witems.stklos
lib/stk/4.0.1/Demos/Wlabel.stklos
lib/stk/4.0.1/Demos/Wmenu.stklos
lib/stk/4.0.1/Demos/Wpuzzle.stklos
lib/stk/4.0.1/Demos/Wradio.stklos
lib/stk/4.0.1/Demos/Wruler.stklos
lib/stk/4.0.1/Demos/Wsayings.stklos
lib/stk/4.0.1/Demos/Wsearch.stklos
lib/stk/4.0.1/Demos/Wstates.stklos
lib/stk/4.0.1/Demos/Wstyles.stklos
lib/stk/4.0.1/Demos/Wtext.stklos
lib/stk/4.0.1/Demos/Wvscale.stklos
lib/stk/4.0.1/Demos/Wwind.stklos
lib/stk/4.0.1/Demos/amib.stklos
lib/stk/4.0.1/Demos/browse.stk
lib/stk/4.0.1/Demos/browse.stklos
lib/stk/4.0.1/Demos/calc.stklos
lib/stk/4.0.1/Demos/classbrowse.stklos
lib/stk/4.0.1/Demos/colormap.stk
lib/stk/4.0.1/Demos/console-demo.stk
lib/stk/4.0.1/Demos/filebox.stklos
lib/stk/4.0.1/Demos/hanoi.stk
lib/stk/4.0.1/Demos/hello.stk
lib/stk/4.0.1/Demos/hello.stklos
lib/stk/4.0.1/Demos/inspector.stk
lib/stk/4.0.1/Demos/lessons/bind1.stk
lib/stk/4.0.1/Demos/lessons/bind2.stk
lib/stk/4.0.1/Demos/lessons/bind3.stk
lib/stk/4.0.1/Demos/lessons/button1.stk
lib/stk/4.0.1/Demos/lessons/button2.stk
lib/stk/4.0.1/Demos/lessons/canvas-animate.stk
lib/stk/4.0.1/Demos/lessons/canvas-drag.stk
lib/stk/4.0.1/Demos/lessons/canvas-draw.stk
lib/stk/4.0.1/Demos/lessons/canvas-funky.stk
lib/stk/4.0.1/Demos/lessons/canvas-rubber.stk
lib/stk/4.0.1/Demos/lessons/canvas1.stk
lib/stk/4.0.1/Demos/lessons/canvas2.stk
lib/stk/4.0.1/Demos/lessons/canvas3.stk
lib/stk/4.0.1/Demos/lessons/canvas4.stk
lib/stk/4.0.1/Demos/lessons/canvas5.stk
lib/stk/4.0.1/Demos/lessons/canvas6.stk
lib/stk/4.0.1/Demos/lessons/canvas7.stk
lib/stk/4.0.1/Demos/lessons/checkbutton.stk
lib/stk/4.0.1/Demos/lessons/dialogbox.stk
lib/stk/4.0.1/Demos/lessons/entry1.stk
lib/stk/4.0.1/Demos/lessons/entry2.stk
lib/stk/4.0.1/Demos/lessons/frame1.stk
lib/stk/4.0.1/Demos/lessons/frame2.stk
lib/stk/4.0.1/Demos/lessons/frame3.stk
lib/stk/4.0.1/Demos/lessons/grouping.stk
lib/stk/4.0.1/Demos/lessons/index
lib/stk/4.0.1/Demos/lessons/label1.stk
lib/stk/4.0.1/Demos/lessons/label2.stk
lib/stk/4.0.1/Demos/lessons/label3.stk
lib/stk/4.0.1/Demos/lessons/listbox1.stk
lib/stk/4.0.1/Demos/lessons/listbox2.stk
lib/stk/4.0.1/Demos/lessons/menu1.stk
lib/stk/4.0.1/Demos/lessons/menu2.stk
lib/stk/4.0.1/Demos/lessons/message.stk
lib/stk/4.0.1/Demos/lessons/misc.stk
lib/stk/4.0.1/Demos/lessons/options.stk
lib/stk/4.0.1/Demos/lessons/pack1.stk
lib/stk/4.0.1/Demos/lessons/pack2.stk
lib/stk/4.0.1/Demos/lessons/pack3.stk
lib/stk/4.0.1/Demos/lessons/radiobutton.stk
lib/stk/4.0.1/Demos/lessons/scale1.stk
lib/stk/4.0.1/Demos/lessons/scale2.stk
lib/stk/4.0.1/Demos/lessons/selection.stk
lib/stk/4.0.1/Demos/lessons/text1.stk
lib/stk/4.0.1/Demos/lessons/text2.stk
lib/stk/4.0.1/Demos/lessons/text3.stk
lib/stk/4.0.1/Demos/lessons/text4.stk
lib/stk/4.0.1/Demos/lessons/text5.stk
lib/stk/4.0.1/Demos/lessons/tkwait.stk
lib/stk/4.0.1/Demos/lib/iu.ridge.xbm
lib/stk/4.0.1/Demos/lib/iu.seal.small.xbm
lib/stk/4.0.1/Demos/mc-server.stk
lib/stk/4.0.1/Demos/queens.stk
lib/stk/4.0.1/Demos/server.stk
lib/stk/4.0.1/Demos/showvars.stk
lib/stk/4.0.1/Demos/small-ed.stk
lib/stk/4.0.1/Demos/stetris.stk
lib/stk/4.0.1/Demos/stkfontsel.stk
lib/stk/4.0.1/Demos/stklos-demo.stklos
lib/stk/4.0.1/Demos/stklos-demo2.stklos
lib/stk/4.0.1/Demos/stklos-widgets.stklos
lib/stk/4.0.1/Demos/term.stk
lib/stk/4.0.1/Demos/tkcolor.stklos
lib/stk/4.0.1/Demos/ttt.stk
lib/stk/4.0.1/Demos/turtle.stk
lib/stk/4.0.1/Demos/widget.stk
lib/stk/4.0.1/Demos/wtour.stk
lib/stk/4.0.1/Help/BlueIndex.html
lib/stk/4.0.1/Help/GreenIndex.html
lib/stk/4.0.1/Help/Img/BlueBall.gif
lib/stk/4.0.1/Help/Img/GreenBall.gif
lib/stk/4.0.1/Help/Img/ManPageBlue.gif
lib/stk/4.0.1/Help/Img/ManPageGreen.gif
lib/stk/4.0.1/Help/Img/ManPageWhite.gif
lib/stk/4.0.1/Help/Img/ManPageYellow.gif
lib/stk/4.0.1/Help/Img/RefBookBlue.gif
lib/stk/4.0.1/Help/Img/RefBookGreen.gif
lib/stk/4.0.1/Help/Img/RefBookWhite.gif
lib/stk/4.0.1/Help/Img/RefBookYellow.gif
lib/stk/4.0.1/Help/Img/STk-small.gif
lib/stk/4.0.1/Help/Img/WhiteBall.gif
lib/stk/4.0.1/Help/Img/YellowBall.gif
lib/stk/4.0.1/Help/Img/back.gif
lib/stk/4.0.1/Help/Img/classeur.gif
lib/stk/4.0.1/Help/Img/colorline.gif
lib/stk/4.0.1/Help/Img/home.gif
lib/stk/4.0.1/Help/Img/line-red.gif
lib/stk/4.0.1/Help/Img/note.gif
lib/stk/4.0.1/Help/Img/smile.sad.gif
lib/stk/4.0.1/Help/STk-hlp.html
lib/stk/4.0.1/Help/YellowIndex.html
lib/stk/4.0.1/Help/after.n.html
lib/stk/4.0.1/Help/amib-abt.html
lib/stk/4.0.1/Help/amib-hlp.html
lib/stk/4.0.1/Help/bell.n.html
lib/stk/4.0.1/Help/bind.n.html
lib/stk/4.0.1/Help/bindtags.n.html
lib/stk/4.0.1/Help/bitmap.n.html
lib/stk/4.0.1/Help/button.n.html
lib/stk/4.0.1/Help/canvas.n.html
lib/stk/4.0.1/Help/change-image.n.html
lib/stk/4.0.1/Help/checkbutton.n.html
lib/stk/4.0.1/Help/choose-color.n.html
lib/stk/4.0.1/Help/clipboard.n.html
lib/stk/4.0.1/Help/destroy.n.html
lib/stk/4.0.1/Help/ed.n.html
lib/stk/4.0.1/Help/entry.n.html
lib/stk/4.0.1/Help/error-hlp.html
lib/stk/4.0.1/Help/event.n.html
lib/stk/4.0.1/Help/fbox-hlp.html
lib/stk/4.0.1/Help/find-image.n.html
lib/stk/4.0.1/Help/focus-next.n.html
lib/stk/4.0.1/Help/focus.n.html
lib/stk/4.0.1/Help/font.n.html
lib/stk/4.0.1/Help/frame.n.html
lib/stk/4.0.1/Help/free-image.n.html
lib/stk/4.0.1/Help/ftp.n.html
lib/stk/4.0.1/Help/grab.n.html
lib/stk/4.0.1/Help/grid.n.html
lib/stk/4.0.1/Help/image.n.html
lib/stk/4.0.1/Help/inspect-abt.html
lib/stk/4.0.1/Help/inspect-hlp.html
lib/stk/4.0.1/Help/jpeg.n.html
lib/stk/4.0.1/Help/label.n.html
lib/stk/4.0.1/Help/listbox.n.html
lib/stk/4.0.1/Help/listener.n.html
lib/stk/4.0.1/Help/lower.n.html
lib/stk/4.0.1/Help/make-console.n.html
lib/stk/4.0.1/Help/make-dialog.n.html
lib/stk/4.0.1/Help/make-image.n.html
lib/stk/4.0.1/Help/menu.n.html
lib/stk/4.0.1/Help/menubutton.n.html
lib/stk/4.0.1/Help/message-box.n.html
lib/stk/4.0.1/Help/message.n.html
lib/stk/4.0.1/Help/option-menu.n.html
lib/stk/4.0.1/Help/option.n.html
lib/stk/4.0.1/Help/options.n.html
lib/stk/4.0.1/Help/pack.n.html
lib/stk/4.0.1/Help/palette.n.html
lib/stk/4.0.1/Help/photo.n.html
lib/stk/4.0.1/Help/pixmap.n.html
lib/stk/4.0.1/Help/place.n.html
lib/stk/4.0.1/Help/popup.n.html
lib/stk/4.0.1/Help/posix.n.html
lib/stk/4.0.1/Help/radiobutton.n.html
lib/stk/4.0.1/Help/raise.n.html
lib/stk/4.0.1/Help/repl-display-prompt.n.html
lib/stk/4.0.1/Help/repl-display-result.n.html
lib/stk/4.0.1/Help/report-error.n.html
lib/stk/4.0.1/Help/scale.n.html
lib/stk/4.0.1/Help/scrollbar.n.html
lib/stk/4.0.1/Help/selection.n.html
lib/stk/4.0.1/Help/send.n.html
lib/stk/4.0.1/Help/stk.1.html
lib/stk/4.0.1/Help/text.n.html
lib/stk/4.0.1/Help/tk.n.html
lib/stk/4.0.1/Help/tkvars.n.html
lib/stk/4.0.1/Help/tkwait.n.html
lib/stk/4.0.1/Help/toplevel.n.html
lib/stk/4.0.1/Help/update.n.html
lib/stk/4.0.1/Help/winfo.n.html
lib/stk/4.0.1/Help/wm.n.html
lib/stk/4.0.1/Images/Cancel.gif
lib/stk/4.0.1/Images/Help.gif
lib/stk/4.0.1/Images/LineLeft.gif
lib/stk/4.0.1/Images/LineRight.gif
lib/stk/4.0.1/Images/Ok.gif
lib/stk/4.0.1/Images/STk-big-logo.gif
lib/stk/4.0.1/Images/STk-large.gif
lib/stk/4.0.1/Images/STk-logo.gif
lib/stk/4.0.1/Images/STk-normal.gif
lib/stk/4.0.1/Images/STk-small-logo.gif
lib/stk/4.0.1/Images/STk-tiny-logo.gif
lib/stk/4.0.1/Images/STk-tiny.gif
lib/stk/4.0.1/Images/box-minus.gif
lib/stk/4.0.1/Images/box-plus.gif
lib/stk/4.0.1/Images/boxes
lib/stk/4.0.1/Images/colorline.gif
lib/stk/4.0.1/Images/colors.gif
lib/stk/4.0.1/Images/cross_weave
lib/stk/4.0.1/Images/dimple1
lib/stk/4.0.1/Images/dimple3
lib/stk/4.0.1/Images/dir.gif
lib/stk/4.0.1/Images/dir.jpg
lib/stk/4.0.1/Images/diropen.gif
lib/stk/4.0.1/Images/down_arrow_8.bm
lib/stk/4.0.1/Images/earth.gif
lib/stk/4.0.1/Images/earthris.gif
lib/stk/4.0.1/Images/error
lib/stk/4.0.1/Images/error.gif
lib/stk/4.0.1/Images/face
lib/stk/4.0.1/Images/file.gif
lib/stk/4.0.1/Images/flagdown
lib/stk/4.0.1/Images/flagup
lib/stk/4.0.1/Images/font.gif
lib/stk/4.0.1/Images/full
lib/stk/4.0.1/Images/gray1
lib/stk/4.0.1/Images/gray3
lib/stk/4.0.1/Images/grey.25
lib/stk/4.0.1/Images/grey.5
lib/stk/4.0.1/Images/grid4
lib/stk/4.0.1/Images/grid8
lib/stk/4.0.1/Images/hlines2
lib/stk/4.0.1/Images/hlines3
lib/stk/4.0.1/Images/hourglass.gif
lib/stk/4.0.1/Images/info
lib/stk/4.0.1/Images/info.gif
lib/stk/4.0.1/Images/letters
lib/stk/4.0.1/Images/light_gray
lib/stk/4.0.1/Images/menu.bm
lib/stk/4.0.1/Images/mickey.gif
lib/stk/4.0.1/Images/noletters
lib/stk/4.0.1/Images/parentdir.gif
lib/stk/4.0.1/Images/pattern
lib/stk/4.0.1/Images/queen
lib/stk/4.0.1/Images/question
lib/stk/4.0.1/Images/question.gif
lib/stk/4.0.1/Images/root_weave
lib/stk/4.0.1/Images/stipple
lib/stk/4.0.1/Images/tb_back.gif
lib/stk/4.0.1/Images/tb_console.gif
lib/stk/4.0.1/Images/tb_copy.gif
lib/stk/4.0.1/Images/tb_customize.gif
lib/stk/4.0.1/Images/tb_cut.gif
lib/stk/4.0.1/Images/tb_edit.gif
lib/stk/4.0.1/Images/tb_evalbuf.gif
lib/stk/4.0.1/Images/tb_evalreg.gif
lib/stk/4.0.1/Images/tb_exit.gif
lib/stk/4.0.1/Images/tb_fileopen.gif
lib/stk/4.0.1/Images/tb_floppy.gif
lib/stk/4.0.1/Images/tb_forward.gif
lib/stk/4.0.1/Images/tb_hborder.gif
lib/stk/4.0.1/Images/tb_info.gif
lib/stk/4.0.1/Images/tb_paste.gif
lib/stk/4.0.1/Images/tb_reload.gif
lib/stk/4.0.1/Images/tb_stop.gif
lib/stk/4.0.1/Images/tb_vborder.gif
lib/stk/4.0.1/Images/teapot.ppm
lib/stk/4.0.1/Images/up_arrow_8.bm
lib/stk/4.0.1/Images/vlines2
lib/stk/4.0.1/Images/vlines3
lib/stk/4.0.1/Images/warning
lib/stk/4.0.1/Images/warning.gif
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/base64.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/hash.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/html.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/jpeg.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/locale.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/pixmap.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/posix.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/process.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/snow
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/socket.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/sregexp.so
lib/stk/4.0.1/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}/stk
lib/stk/4.0.1/STk/Balloon.stklos
lib/stk/4.0.1/STk/Basics.stklos
lib/stk/4.0.1/STk/Button.stklos
lib/stk/4.0.1/STk/Canvas.stklos
lib/stk/4.0.1/STk/Canvitem.stklos
lib/stk/4.0.1/STk/Choicebox.stklos
lib/stk/4.0.1/STk/Colorbox.stklos
lib/stk/4.0.1/STk/Combobox.stklos
lib/stk/4.0.1/STk/Defbutton.stklos
lib/stk/4.0.1/STk/Entry.stklos
lib/stk/4.0.1/STk/Filebox.stklos
lib/stk/4.0.1/STk/Font.stklos
lib/stk/4.0.1/STk/Frame.stklos
lib/stk/4.0.1/STk/Gauge.stklos
lib/stk/4.0.1/STk/Hierarchy.stklos
lib/stk/4.0.1/STk/Image.stklos
lib/stk/4.0.1/STk/Lentry.stklos
lib/stk/4.0.1/STk/Lframe.stklos
lib/stk/4.0.1/STk/Listbox.stklos
lib/stk/4.0.1/STk/Match/compiler.scm
lib/stk/4.0.1/STk/Match/descr.scm
lib/stk/4.0.1/STk/Match/mexpand.scm
lib/stk/4.0.1/STk/Match/normalize.scm
lib/stk/4.0.1/STk/Match/s2cfun.scm
lib/stk/4.0.1/STk/Menu.stklos
lib/stk/4.0.1/STk/Message.stklos
lib/stk/4.0.1/STk/Msgbox.stklos
lib/stk/4.0.1/STk/Multipaned.stklos
lib/stk/4.0.1/STk/Multiwin.stklos
lib/stk/4.0.1/STk/Notepad.stklos
lib/stk/4.0.1/STk/Paned.stklos
lib/stk/4.0.1/STk/STF.stklos
lib/stk/4.0.1/STk/STk.init
lib/stk/4.0.1/STk/Scale.stklos
lib/stk/4.0.1/STk/Schemetext.stklos
lib/stk/4.0.1/STk/Scrollbar.stklos
lib/stk/4.0.1/STk/Scrollbox.stklos
lib/stk/4.0.1/STk/Scrollcanvas.stklos
lib/stk/4.0.1/STk/Scrollframe.stklos
lib/stk/4.0.1/STk/Scrolltext.stklos
lib/stk/4.0.1/STk/Text.stklos
lib/stk/4.0.1/STk/Tk-active.stklos
lib/stk/4.0.1/STk/Tk-classes.stklos
lib/stk/4.0.1/STk/Tk-meta.stklos
lib/stk/4.0.1/STk/Toolbar.stklos
lib/stk/4.0.1/STk/Toplevel.stklos
lib/stk/4.0.1/STk/active-slot.stklos
lib/stk/4.0.1/STk/balloon.stk
lib/stk/4.0.1/STk/base64.stk
lib/stk/4.0.1/STk/bigloo.stk
lib/stk/4.0.1/STk/butbar.stk
lib/stk/4.0.1/STk/button.stk
lib/stk/4.0.1/STk/class-browser.stklos
lib/stk/4.0.1/STk/compatibility.stk
lib/stk/4.0.1/STk/composite-slot.stklos
lib/stk/4.0.1/STk/console-customize.stk
lib/stk/4.0.1/STk/console.stk
lib/stk/4.0.1/STk/defsyntax.stk
lib/stk/4.0.1/STk/describe.stklos
lib/stk/4.0.1/STk/dialog.stk
lib/stk/4.0.1/STk/edit.stk
lib/stk/4.0.1/STk/editor.stk
lib/stk/4.0.1/STk/entry.stk
lib/stk/4.0.1/STk/error.stk
lib/stk/4.0.1/STk/extset.stk
lib/stk/4.0.1/STk/ffi.stk
lib/stk/4.0.1/STk/fileevent.stk
lib/stk/4.0.1/STk/focus.stk
lib/stk/4.0.1/STk/font-chooser.stklos
lib/stk/4.0.1/STk/font-lock.stk
lib/stk/4.0.1/STk/fs.stk
lib/stk/4.0.1/STk/ftp.stklos
lib/stk/4.0.1/STk/hash.stk
lib/stk/4.0.1/STk/help.stk
lib/stk/4.0.1/STk/html.stk
lib/stk/4.0.1/STk/image.stk
lib/stk/4.0.1/STk/init.stk
lib/stk/4.0.1/STk/inspect-detail.stk
lib/stk/4.0.1/STk/inspect-help.stk
lib/stk/4.0.1/STk/inspect-main.stk
lib/stk/4.0.1/STk/inspect-misc.stk
lib/stk/4.0.1/STk/inspect-view.stk
lib/stk/4.0.1/STk/jpeg.stk
lib/stk/4.0.1/STk/listbox.stk
lib/stk/4.0.1/STk/listener.stk
lib/stk/4.0.1/STk/locale.stk
lib/stk/4.0.1/STk/match.stk
lib/stk/4.0.1/STk/menu.stk
lib/stk/4.0.1/STk/method-editor.stklos
lib/stk/4.0.1/STk/palette.stk
lib/stk/4.0.1/STk/pixmap.stk
lib/stk/4.0.1/STk/posix.stk
lib/stk/4.0.1/STk/pp.stk
lib/stk/4.0.1/STk/process.stk
lib/stk/4.0.1/STk/regexp.stk
lib/stk/4.0.1/STk/scale.stk
lib/stk/4.0.1/STk/scrollbar.stk
lib/stk/4.0.1/STk/security.stk
lib/stk/4.0.1/STk/slib.stk
lib/stk/4.0.1/STk/socket.stk
lib/stk/4.0.1/STk/srfi-0.stk
lib/stk/4.0.1/STk/srfi-2.stk
lib/stk/4.0.1/STk/srfi-7.stk
lib/stk/4.0.1/STk/srfi-9.stk
lib/stk/4.0.1/STk/sterm.stk
lib/stk/4.0.1/STk/stklos.stk
lib/stk/4.0.1/STk/text.stk
lib/stk/4.0.1/STk/tk-init.stk
lib/stk/4.0.1/STk/tk-unix.stk
lib/stk/4.0.1/STk/trace-gf.stklos
lib/stk/4.0.1/STk/trace.stk
lib/stk/4.0.1/STk/unix.stk
lib/stk/4.0.1/STk/win32.stk
lib/stk/4.0.1/STk/winsocket.stklos
lib/stk/4.0.1/STk/www-browser.stklos
lib/stk/4.0.1/STk/www-file.stk
lib/stk/4.0.1/STk/www-html.stk
lib/stk/4.0.1/STk/www-http.stk
lib/stk/4.0.1/STk/www-img.stk
lib/stk/4.0.1/STk/www-snd.stk
lib/stk/4.0.1/STk/www-txt.stk
lib/stk/4.0.1/STk/www-url.stk
lib/stk/4.0.1/STk/www.stk
lib/stk/4.0.1/man/man1/STk-man.macros
lib/stk/4.0.1/man/man1/snow.1
lib/stk/4.0.1/man/man1/stk.1
lib/stk/4.0.1/man/mann/STk-man.macros
lib/stk/4.0.1/man/mann/stk_after.n
lib/stk/4.0.1/man/mann/stk_bell.n
lib/stk/4.0.1/man/mann/stk_bind.n
lib/stk/4.0.1/man/mann/stk_bindtags.n
lib/stk/4.0.1/man/mann/stk_bitmap.n
lib/stk/4.0.1/man/mann/stk_button.n
lib/stk/4.0.1/man/mann/stk_canvas.n
lib/stk/4.0.1/man/mann/stk_change-image.n
lib/stk/4.0.1/man/mann/stk_checkbutton.n
lib/stk/4.0.1/man/mann/stk_choose-color.n
lib/stk/4.0.1/man/mann/stk_clipboard.n
lib/stk/4.0.1/man/mann/stk_destroy.n
lib/stk/4.0.1/man/mann/stk_ed.n
lib/stk/4.0.1/man/mann/stk_entry.n
lib/stk/4.0.1/man/mann/stk_event.n
lib/stk/4.0.1/man/mann/stk_find-image.n
lib/stk/4.0.1/man/mann/stk_focus-next.n
lib/stk/4.0.1/man/mann/stk_focus.n
lib/stk/4.0.1/man/mann/stk_font.n
lib/stk/4.0.1/man/mann/stk_frame.n
lib/stk/4.0.1/man/mann/stk_free-image.n
lib/stk/4.0.1/man/mann/stk_ftp.n
lib/stk/4.0.1/man/mann/stk_grab.n
lib/stk/4.0.1/man/mann/stk_grid.n
lib/stk/4.0.1/man/mann/stk_image.n
lib/stk/4.0.1/man/mann/stk_jpeg.n
lib/stk/4.0.1/man/mann/stk_label.n
lib/stk/4.0.1/man/mann/stk_listbox.n
lib/stk/4.0.1/man/mann/stk_listener.n
lib/stk/4.0.1/man/mann/stk_lower.n
lib/stk/4.0.1/man/mann/stk_make-console.n
lib/stk/4.0.1/man/mann/stk_make-dialog.n
lib/stk/4.0.1/man/mann/stk_make-image.n
lib/stk/4.0.1/man/mann/stk_menu.n
lib/stk/4.0.1/man/mann/stk_menubutton.n
lib/stk/4.0.1/man/mann/stk_message-box.n
lib/stk/4.0.1/man/mann/stk_message.n
lib/stk/4.0.1/man/mann/stk_option-menu.n
lib/stk/4.0.1/man/mann/stk_option.n
lib/stk/4.0.1/man/mann/stk_options.n
lib/stk/4.0.1/man/mann/stk_pack.n
lib/stk/4.0.1/man/mann/stk_palette.n
lib/stk/4.0.1/man/mann/stk_photo.n
lib/stk/4.0.1/man/mann/stk_pixmap.n
lib/stk/4.0.1/man/mann/stk_place.n
lib/stk/4.0.1/man/mann/stk_popup.n
lib/stk/4.0.1/man/mann/stk_posix.n
lib/stk/4.0.1/man/mann/stk_radiobutton.n
lib/stk/4.0.1/man/mann/stk_raise.n
lib/stk/4.0.1/man/mann/stk_repl-display-prompt.n
lib/stk/4.0.1/man/mann/stk_repl-display-result.n
lib/stk/4.0.1/man/mann/stk_report-error.n
lib/stk/4.0.1/man/mann/stk_scale.n
lib/stk/4.0.1/man/mann/stk_scrollbar.n
lib/stk/4.0.1/man/mann/stk_selection.n
lib/stk/4.0.1/man/mann/stk_send.n
lib/stk/4.0.1/man/mann/stk_text.n
lib/stk/4.0.1/man/mann/stk_tk.n
lib/stk/4.0.1/man/mann/stk_tkvars.n
lib/stk/4.0.1/man/mann/stk_tkwait.n
lib/stk/4.0.1/man/mann/stk_toplevel.n
lib/stk/4.0.1/man/mann/stk_update.n
lib/stk/4.0.1/man/mann/stk_winfo.n
lib/stk/4.0.1/man/mann/stk_wm.n
lib/stk/man
share/doc/stk/Extending.ps
share/doc/stk/manual.ps
@pkgdir lib/stk/site-scheme

23
lang/STk/distinfo Normal file
View File

@@ -0,0 +1,23 @@
$NetBSD: distinfo,v 1.9 2008/09/07 00:23:57 dholland Exp $
SHA1 (STk-4.0.1.tar.gz) = 50dc98c2b64db1c9cca54411cb406feb4cb57600
RMD160 (STk-4.0.1.tar.gz) = 58ad3c66f77a6ab33db5d4ca9f2510d50b6b6f0d
Size (STk-4.0.1.tar.gz) = 3673684 bytes
SHA1 (patch-aa) = ede831f8e235ebbecc38918f1d1cf3e535aef164
SHA1 (patch-ab) = 9bb574febca26ab89d9e9a4074667e91ffffaf26
SHA1 (patch-ac) = f1fd66d383504a486d93316f5ad85c59036e8d8c
SHA1 (patch-ad) = c27349d17bb5085ffe81a4c74862662360a08ff1
SHA1 (patch-ae) = 0f07c54b19c1484a3c0c03e92ddbcbe371ba1f99
SHA1 (patch-af) = 2625837a9d784071b2bfed71e2798891c6c47b71
SHA1 (patch-ag) = dde1a30f1b0f0d781d8d2389af6bc2393dd40729
SHA1 (patch-ah) = 353ac24f2a097e360067a292828ef2f469e137c8
SHA1 (patch-ai) = f83af050a51c95f2de6d0cd109388e822727a724
SHA1 (patch-aj) = 17158d45f3a57a822a5eb13ad7f8c2e631329e41
SHA1 (patch-ak) = 7548a9912788c1a951ef9d14f0b21bebf0899b66
SHA1 (patch-al) = c5a8f2f3d2a70ef5c4ca23c1574b5b25f2c0dacb
SHA1 (patch-am) = cb59da47c5e7fd1f07c456fa1a1258217c798ed5
SHA1 (patch-an) = 0ee1b8edf2fe7a8910c42d46375ba0ad90bf1bd6
SHA1 (patch-ao) = 4875d35255251fa738cca7af48d30afe5d13a90d
SHA1 (patch-ap) = 622a54639eb73f5b7d3b77af3ad35c336f8f8cfc
SHA1 (patch-aq) = 5d615eaddcda6c99ad69b8c5a5f4b0dfe12fd5c0
SHA1 (patch-ar) = 9f27696cc40048ad56697314d9f3909a951caa46

25
lang/STk/patches/patch-aa Normal file
View File

@@ -0,0 +1,25 @@
$NetBSD: patch-aa,v 1.2 2008/09/07 00:23:58 dholland Exp $
Don't delete any previous directory, just in case.
And *definitely* make it non-interactive.
--- Makefile.in.orig 1999-09-03 16:21:32.000000000 -0400
+++ Makefile.in 2008-09-06 19:39:24.000000000 -0400
@@ -18,6 +18,8 @@
# Last file update: 3-Sep-1999 20:03 (eg)
#
+root=$(DESTDIR)
+
SHELL = /bin/sh
CP = /bin/cp
STRIP = strip
@@ -175,7 +177,7 @@ clean-before:
echo "*** This STk version ($(VERSION)) has already been installed "; \
echo "*** on this machine. Should I clean this directory before "; \
echo "*** starting installation of STk-$(VERSION)? [no] " ; \
- read a; \
+ a=n; \
case $$a in \
y*|Y*) echo "Deleting previous installation"; \
/bin/rm -rf $(stkdir)/$(VERSION);; \

23
lang/STk/patches/patch-ab Normal file
View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.2 2003/05/10 00:26:33 jtb Exp $
--- Demos/Makefile.orig
+++ Demos/Makefile
@@ -34,13 +34,15 @@
do \
chmod 0755 $(DEMODIR)/`basename $$i`; \
done
- mkdir $(DEMODIR)/Html-Demos; chmod 0755 $(DEMODIR)/Html-Demos
+ -mkdir $(DEMODIR)/Html-Demos
+ -chmod 0755 $(DEMODIR)/Html-Demos
cp Html-Demos/*.html $(DEMODIR)/Html-Demos
chmod 0644 $(DEMODIR)/Html-Demos/*.html
- mkdir $(DEMODIR)/Html-Demos/Images; chmod 0755 $(DEMODIR)/Html-Demos/Images
+ -mkdir $(DEMODIR)/Html-Demos/Images
+ -chmod 0755 $(DEMODIR)/Html-Demos/Images
cp Html-Demos/Images/*.gif $(DEMODIR)/Html-Demos/Images
chmod 0644 $(DEMODIR)/Html-Demos/Images/*
- (cd $(DEMODIR)/Html-Demos; ln -s ../amib.stklos ../stklos-widgets .)
+ (cd $(DEMODIR)/Html-Demos; ln -fs ../amib.stklos ../stklos-widgets .)
-if [ ! -d $(DEMODIR)lib ] ; then mkdir -p $(DEMODIR)/lib; fi
$(CP) ../Contrib/STk-wtour/lib/*.xbm $(DEMODIR)/lib
chmod 0644 $(DEMODIR)/lib/*

65
lang/STk/patches/patch-ac Normal file
View File

@@ -0,0 +1,65 @@
$NetBSD: patch-ac,v 1.4 2006/01/12 15:04:18 joerg Exp $
--- configure.orig 1999-09-26 15:02:14.000000000 +0000
+++ configure
@@ -565,7 +565,11 @@ echo "#define STK_VERSION \"$VERSION\""
# determine the kind of the machine which is running this script
os=`uname -s`
version=`uname -r`
-machine=`uname -m`
+#
+# NetBSD:
+# allow sharing between different arch's which use the same processor
+# Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
+machine=`uname -p`
case $os in
Linux*)
@@ -580,6 +584,9 @@ case $os in
case $machine in
i*86) machine=ix86;;
esac;;
+ DragonFly*)
+ version=${OS_VERSION}
+ ;;
SunOS*)
case $version in
4.1.*) version=4.1.X;;
@@ -691,8 +698,9 @@ case $MACHINE in
ULTRIX*) OS=ULTRIX;;
HP*) OS=HPUX; DFLGS="$DFLGS -Dhpux";;
Linux*) OS=LINUX;;
- NetBSD-1*) OS=NETBSD1;;
+ NetBSD*) OS=NETBSD;;
FreeBSD*) OS=FREEBSD;;
+ DragonFly*) OS=DRAGONFLY;;
IRIX-5*) OS=IRIX5;;
IRIX*-6*) OS=IRIX5;;
CYGWIN32*) OS=WIN32; FLAVOR=win; DFLGS="$DFLGS -DCYGWIN32";;
@@ -1878,7 +1886,7 @@ fi
if test "$x_libraries" != ""
then
- XLIBSW="-L$x_libraries"
+ XLIBSW="-L$x_libraries -Wl,-R$x_libraries"
fi
XLIBSW="$XLIBSW $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
@@ -2273,11 +2281,12 @@ case $OS in
SH_LDFLAGS="-shared -o"
SH_LOADER="ld"
SH_SUFFIX='so' ;;
- NETBSD1)
- SH_CCFLAGS="-fpic"
- SH_LDFLAGS="-Bshareable -o"
- SH_LOADER="ld"
- SH_SUFFIX='so';;
+ NETBSD | DRAGONFLY)
+ SH_CCFLAGS="-fPIC"
+ SH_LDFLAGS="-shared -o"
+ SH_LOADER="cc"
+ SH_SUFFIX="so"
+ STKLDFLAGS="-Wl,-E";;
HPUX)
SH_CCFLAGS="+Z"
SH_LDFLAGS="-b -o"

43
lang/STk/patches/patch-ad Normal file
View File

@@ -0,0 +1,43 @@
$NetBSD: patch-ad,v 1.3 2003/05/10 00:26:34 jtb Exp $
--- configure.in.orig
+++ configure.in
@@ -16,7 +16,10 @@
# determine the kind of the machine which is running this script
os=`uname -s`
version=`uname -r`
-machine=`uname -m`
+# NetBSD:
+# allow sharing between different arch's which use the same processor
+# Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
+machine=`uname -p`
case $os in
Linux*)
@@ -113,7 +116,7 @@
ULTRIX*) OS=ULTRIX;;
HP*) OS=HPUX; DFLGS="$DFLGS -Dhpux";;
Linux*) OS=LINUX;;
- NetBSD-1*) OS=NETBSD1;;
+ NetBSD*) OS=NETBSD;;
FreeBSD*) OS=FREEBSD;;
IRIX-5*) OS=IRIX5;;
IRIX*-6*) OS=IRIX5;;
@@ -443,11 +446,12 @@
SH_LDFLAGS="-shared -o"
SH_LOADER="ld"
SH_SUFFIX='so' ;;
- NETBSD1)
- SH_CCFLAGS="-fpic"
- SH_LDFLAGS="-Bshareable -o"
- SH_LOADER="ld"
- SH_SUFFIX='so';;
+ NETBSD)
+ SH_CCFLAGS="-fPIC"
+ SH_LDFLAGS="-shared -o"
+ SH_LOADER="cc"
+ SH_SUFFIX="so"
+ STKLDFLAGS="-Wl,-E";;
HPUX)
SH_CCFLAGS="+Z"
SH_LDFLAGS="-b -o"

45
lang/STk/patches/patch-ae Normal file
View File

@@ -0,0 +1,45 @@
$NetBSD: patch-ae,v 1.2 2006/01/12 15:04:18 joerg Exp $
--- Src/dynload.c.orig 1999-09-26 15:02:14.000000000 +0000
+++ Src/dynload.c
@@ -46,16 +46,19 @@
# include <dld.h>
#endif
-#if defined(NETBSD1)
+#if defined(NETBSD)
+#if defined(__ELF__)
+# include <dlfcn.h>
+#else
# include <sys/types.h>
# include <nlist.h>
# include <link.h>
# define dlerror() "error unknown" /* dlerror() isn't implemented in NetBSD 1.0 */
+#endif
# define DLOPEN_COMPATIBLE
#endif
-#if defined(FREEBSD)
-# define dlerror() "error unknown" /* dlerror() isn't implemented in FreeBSD too */
+#if defined(FREEBSD) || defined(DRAGONFLY)
# define DLOPEN_COMPATIBLE
#endif
@@ -172,7 +175,7 @@ static void load_and_call(char *path, ch
#endif /* MSC_VER WIN32 */
-#if defined(SUNOS4) || defined(SUNOS5) || defined(NETBSD1) || defined(FREEBSD) || defined(IRIX5) || defined(OSF1) ||defined(LINUX_ELF)
+#if defined(SUNOS4) || defined(SUNOS5) || defined(NETBSD) || defined(FREEBSD) || defined(IRIX5) || defined(OSF1) ||defined(LINUX_ELF) || defined(DRAGONFLY)
#define MAKE_STAT_PTR(p) (STk_make_Cpointer(ANONYMOUS_STAT_PTR_ID, (p), TRUE))
#define MAKE_DYN_PTR(p) (STk_make_Cpointer(ANONYMOUS_DYN_PTR_ID, (p), FALSE))
@@ -360,7 +363,7 @@ void STk_load_object_file(char *path)
for (p = path, slash = p-1; *p; p++) /* Find position of last '/' */
if (*p == '/') slash = p;
-#if defined(NETBSD1)
+#if defined(NETBSD) && !defined(__ELF__)
sprintf(fct_name, "_STk_init_%s", slash + 1);
#else
sprintf(fct_name, "STk_init_%s", slash + 1);

13
lang/STk/patches/patch-af Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2003/05/10 00:26:34 jtb Exp $
--- Doc/Makefile.orig
+++ Doc/Makefile
@@ -20,7 +20,7 @@
MAN1_DIR=$(mandir)/man1
MANN_DIR=$(mandir)/mann
-DOC_DIR=$(prefix)/doc/stk-$(VERSION)
+DOC_DIR=$(prefix)/share/doc/stk
DIRS=Extension Reference STklos+Tk Manual Isotas96

13
lang/STk/patches/patch-ag Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2003/05/10 00:26:34 jtb Exp $
--- Doc/Extension/Makefile.orig
+++ Doc/Extension/Makefile
@@ -11,7 +11,7 @@
ps: Extending.ps
-install: ps
+install:
$(CP) Extending.ps $(DOC_DIR)
Extending.dvi: $(SRC)

13
lang/STk/patches/patch-ah Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2003/05/10 00:26:34 jtb Exp $
--- Doc/Reference/Makefile.orig
+++ Doc/Reference/Makefile
@@ -10,7 +10,7 @@
dvi: manual.dvi
ps: manual.ps
-install: ps
+install:
$(CP) manual.ps $(DOC_DIR)
manual.dvi: bibli $(TEX)

539
lang/STk/patches/patch-ai Normal file
View File

@@ -0,0 +1,539 @@
$NetBSD: patch-ai,v 1.1 2004/07/10 17:52:10 kristerw Exp $
--- Mp/gmp-1.3.2/longlong.h.orig 2004-07-10 19:29:15.000000000 +0200
+++ Mp/gmp-1.3.2/longlong.h 2004-07-10 19:46:54.000000000 +0200
@@ -91,7 +91,7 @@
#if defined (__a29k__) || defined (___AM29K__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("add %1,%4,%5
+ __asm__ ("add %1,%4,%5\n\
addc %0,%2,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -100,7 +100,7 @@
"%r" ((unsigned long int)(al)), \
"rI" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sub %1,%4,%5
+ __asm__ ("sub %1,%4,%5\n\
subc %0,%2,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -149,7 +149,7 @@
#if defined (__arm__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("adds %1,%4,%5
+ __asm__ ("adds %1,%4,%5\n\
adc %0,%2,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -158,7 +158,7 @@
"%r" ((unsigned long int)(al)), \
"rI" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subs %1,%4,%5
+ __asm__ ("subs %1,%4,%5\n\
sbc %0,%2,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -170,7 +170,7 @@
#if defined (__gmicro__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("add.w %5,%1
+ __asm__ ("add.w %5,%1\n\
addx %3,%0" \
: "=g" ((unsigned long int)(sh)), \
"=&g" ((unsigned long int)(sl)) \
@@ -179,7 +179,7 @@
"%1" ((unsigned long int)(al)), \
"g" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sub.w %5,%1
+ __asm__ ("sub.w %5,%1\n\
subx %3,%0" \
: "=g" ((unsigned long int)(sh)), \
"=&g" ((unsigned long int)(sl)) \
@@ -209,7 +209,7 @@
#if defined (__hppa)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("add %4,%5,%1
+ __asm__ ("add %4,%5,%1\n\
addc %2,%3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -218,7 +218,7 @@
"%rM" ((unsigned long int)(al)), \
"rM" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sub %4,%5,%1
+ __asm__ ("sub %4,%5,%1\n\
subb %2,%3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -249,28 +249,28 @@
do { \
unsigned long int __tmp; \
__asm__ ( \
- "ldi 1,%0
- extru,= %1,15,16,%%r0 ; Bits 31..16 zero?
- extru,tr %1,15,16,%1 ; No. Shift down, skip add.
- ldo 16(%0),%0 ; Yes. Perform add.
- extru,= %1,23,8,%%r0 ; Bits 15..8 zero?
- extru,tr %1,23,8,%1 ; No. Shift down, skip add.
- ldo 8(%0),%0 ; Yes. Perform add.
- extru,= %1,27,4,%%r0 ; Bits 7..4 zero?
- extru,tr %1,27,4,%1 ; No. Shift down, skip add.
- ldo 4(%0),%0 ; Yes. Perform add.
- extru,= %1,29,2,%%r0 ; Bits 3..2 zero?
- extru,tr %1,29,2,%1 ; No. Shift down, skip add.
- ldo 2(%0),%0 ; Yes. Perform add.
- extru %1,30,1,%1 ; Extract bit 1.
- sub %0,%1,%0 ; Subtract it.
+ "ldi 1,%0\n\
+ extru,= %1,15,16,%%r0 ; Bits 31..16 zero?\n\
+ extru,tr %1,15,16,%1 ; No. Shift down, skip add.\n\
+ ldo 16(%0),%0 ; Yes. Perform add.\n\
+ extru,= %1,23,8,%%r0 ; Bits 15..8 zero?\n\
+ extru,tr %1,23,8,%1 ; No. Shift down, skip add.\n\
+ ldo 8(%0),%0 ; Yes. Perform add.\n\
+ extru,= %1,27,4,%%r0 ; Bits 7..4 zero?\n\
+ extru,tr %1,27,4,%1 ; No. Shift down, skip add.\n\
+ ldo 4(%0),%0 ; Yes. Perform add.\n\
+ extru,= %1,29,2,%%r0 ; Bits 3..2 zero?\n\
+ extru,tr %1,29,2,%1 ; No. Shift down, skip add.\n\
+ ldo 2(%0),%0 ; Yes. Perform add.\n\
+ extru %1,30,1,%1 ; Extract bit 1.\n\
+ sub %0,%1,%0 ; Subtract it.\n\
" : "=r" (count), "=r" (__tmp) : "1" (x)); \
} while (0)
#endif
#if defined (__i386__) || defined (__i486__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addl %5,%1
+ __asm__ ("addl %5,%1\n\
adcl %3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -279,7 +279,7 @@
"%1" ((unsigned long int)(al)), \
"g" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subl %5,%1
+ __asm__ ("subl %5,%1\n\
sbbl %3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -367,7 +367,7 @@
#if defined (___IBMR2__) /* IBM RS6000 */
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("a%I5 %1,%4,%5
+ __asm__ ("a%I5 %1,%4,%5\n\
ae %0,%2,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -376,7 +376,7 @@
"%r" ((unsigned long int)(al)), \
"rI" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sf%I4 %1,%5,%4
+ __asm__ ("sf%I4 %1,%5,%4\n\
sfe %0,%3,%2" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -415,7 +415,7 @@
#if defined (__mc68000__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("add%.l %5,%1
+ __asm__ ("add%.l %5,%1\n\
addx%.l %3,%0" \
: "=d" ((unsigned long int)(sh)), \
"=&d" ((unsigned long int)(sl)) \
@@ -424,7 +424,7 @@
"%1" ((unsigned long int)(al)), \
"g" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sub%.l %5,%1
+ __asm__ ("sub%.l %5,%1\n\
subx%.l %3,%0" \
: "=d" ((unsigned long int)(sh)), \
"=&d" ((unsigned long int)(sl)) \
@@ -463,31 +463,31 @@
/* This ought to be improved by relying on reload to move inputs and
outputs to their positions. */
#define umul_ppmm(xh, xl, a, b) \
- __asm__ ("| Inlined umul_ppmm
- movel %2,d0
- movel %3,d1
- movel d0,d2
- swap d0
- movel d1,d3
- swap d1
- movew d2,d4
- mulu d3,d4
- mulu d1,d2
- mulu d0,d3
- mulu d0,d1
- movel d4,d0
- eorw d0,d0
- swap d0
- addl d0,d2
- addl d3,d2
- jcc 1f
- addl #65536,d1
-1: swap d2
- moveq #0,d0
- movew d2,d0
- movew d4,d2
- movel d2,%1
- addl d1,d0
+ __asm__ ("| Inlined umul_ppmm\n\
+ movel %2,d0\n\
+ movel %3,d1\n\
+ movel d0,d2\n\
+ swap d0\n\
+ movel d1,d3\n\
+ swap d1\n\
+ movew d2,d4\n\
+ mulu d3,d4\n\
+ mulu d1,d2\n\
+ mulu d0,d3\n\
+ mulu d0,d1\n\
+ movel d4,d0\n\
+ eorw d0,d0\n\
+ swap d0\n\
+ addl d0,d2\n\
+ addl d3,d2\n\
+ jcc 1f\n\
+ addl #65536,d1\n\
+1: swap d2\n\
+ moveq #0,d0\n\
+ movew d2,d0\n\
+ movew d4,d2\n\
+ movel d2,%1\n\
+ addl d1,d0\n\
movel d0,%0" \
: "=g" ((unsigned long int)(xh)), \
"=g" ((unsigned long int)(xl)) \
@@ -501,7 +501,7 @@
#if defined (__m88000__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addu.co %1,%r4,%r5
+ __asm__ ("addu.co %1,%r4,%r5\n\
addu.ci %0,%r2,%r3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -510,7 +510,7 @@
"%rJ" ((unsigned long int)(al)), \
"rJ" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subu.co %1,%r4,%r5
+ __asm__ ("subu.co %1,%r4,%r5\n\
subu.ci %0,%r2,%r3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -543,11 +543,11 @@
} while (0)
#define udiv_qrnnd(q, r, n1, n0, d) \
- __asm__ ("or r10,%2,0
- or r11,%3,0
- divu.d r10,r10,%4
- mulu %1,%4,r11
- subu %1,%3,%1
+ __asm__ ("or r10,%2,0\n\
+ or r11,%3,0\n\
+ divu.d r10,r10,%4\n\
+ mulu %1,%4,r11\n\
+ subu %1,%3,%1\n\
or %0,r11,0" \
: "=r" (q), \
"=&r" (r) \
@@ -569,8 +569,8 @@
"d" ((unsigned long int)(v)))
#else
#define umul_ppmm(w1, w0, u, v) \
- __asm__ ("multu %2,%3
- mflo %0
+ __asm__ ("multu %2,%3\n\
+ mflo %0\n\
mfhi %1" \
: "=d" ((unsigned long int)(w0)), \
"=d" ((unsigned long int)(w1)) \
@@ -599,10 +599,10 @@
"g" ((unsigned long int)(v))); \
__w; })
#define udiv_qrnnd(q, r, n1, n0, d) \
- __asm__ ("movd %2,r0
- movd %3,r1
- deid %4,r0
- movd r1,%0
+ __asm__ ("movd %2,r0\n\
+ movd %3,r1\n\
+ deid %4,r0\n\
+ movd r1,%0\n\
movd r0,%1" \
: "=g" ((unsigned long int)(q)), \
"=g" ((unsigned long int)(r)) \
@@ -614,7 +614,7 @@
#if defined (__pyr__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addw %5,%1
+ __asm__ ("addw %5,%1\n\
addwc %3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -623,7 +623,7 @@
"%1" ((unsigned long int)(al)), \
"g" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subw %5,%1
+ __asm__ ("subw %5,%1\n\
subwb %3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -647,7 +647,7 @@
#if defined (__ibm032__) /* RT/ROMP */
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("a %1,%5
+ __asm__ ("a %1,%5\n\
ae %0,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -656,7 +656,7 @@
"%1" ((unsigned long int)(al)), \
"r" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("s %1,%5
+ __asm__ ("s %1,%5\n\
se %0,%3" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -668,25 +668,25 @@
do { \
unsigned long int __m0 = (m0), __m1 = (m1); \
__asm__ ( \
- "s r2,r2
- mts r10,%2
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- m r2,%3
- cas %0,r2,r0
+ "s r2,r2\n\
+ mts r10,%2\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ m r2,%3\n\
+ cas %0,r2,r0\n\
mfs r10,%1" \
: "=r" ((unsigned long int)(ph)), \
"=r" ((unsigned long int)(pl)) \
@@ -716,7 +716,7 @@
#if defined (__sparc__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addcc %4,%5,%1
+ __asm__ ("addcc %4,%5,%1\n\
addx %2,%3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -726,7 +726,7 @@
"rI" ((unsigned long int)(bl)) \
__CLOBBER_CC)
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subcc %4,%5,%1
+ __asm__ ("subcc %4,%5,%1\n\
subx %2,%3,%0" \
: "=r" ((unsigned long int)(sh)), \
"=&r" ((unsigned long int)(sl)) \
@@ -757,45 +757,45 @@
/* SPARC without integer multiplication and divide instructions.
(i.e. at least Sun4/20,40,60,65,75,110,260,280,330,360,380,470,490) */
#define umul_ppmm(w1, w0, u, v) \
- __asm__ ("! Inlined umul_ppmm
- wr %%g0,%2,%%y ! SPARC has 0-3 delay insn after a wr
- sra %3,31,%%g2 ! Don't move this insn
- and %2,%%g2,%%g2 ! Don't move this insn
- andcc %%g0,0,%%g1 ! Don't move this insn
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,%3,%%g1
- mulscc %%g1,0,%%g1
- add %%g1,%%g2,%0
+ __asm__ ("! Inlined umul_ppmm\n\
+ wr %%g0,%2,%%y ! SPARC has 0-3 delay insn after a wr\n\
+ sra %3,31,%%g2 ! Don't move this insn\n\
+ and %2,%%g2,%%g2 ! Don't move this insn\n\
+ andcc %%g0,0,%%g1 ! Don't move this insn\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,%3,%%g1\n\
+ mulscc %%g1,0,%%g1\n\
+ add %%g1,%%g2,%0\n\
rd %%y,%1" \
: "=r" ((unsigned long int)(w1)), \
"=r" ((unsigned long int)(w0)) \
@@ -806,29 +806,29 @@
/* It's quite necessary to add this much assembler for the sparc.
The default udiv_qrnnd (in C) is more than 10 times slower! */
#define udiv_qrnnd(q, r, n1, n0, d) \
- __asm__ ("! Inlined udiv_qrnnd
- mov 32,%%g1
- subcc %1,%2,%%g0
-1: bcs 5f
- addxcc %0,%0,%0 ! shift n1n0 and a q-bit in lsb
- sub %1,%2,%1 ! this kills msb of n
- addx %1,%1,%1 ! so this can't give carry
- subcc %%g1,1,%%g1
-2: bne 1b
- subcc %1,%2,%%g0
- bcs 3f
- addxcc %0,%0,%0 ! shift n1n0 and a q-bit in lsb
- b 3f
- sub %1,%2,%1 ! this kills msb of n
-4: sub %1,%2,%1
-5: addxcc %1,%1,%1
- bcc 2b
- subcc %%g1,1,%%g1
-! Got carry from n. Subtract next step to cancel this carry.
- bne 4b
- addcc %0,%0,%0 ! shift n1n0 and a 0-bit in lsb
- sub %1,%2,%1
-3: xnor %0,0,%0
+ __asm__ ("! Inlined udiv_qrnnd\n\
+ mov 32,%%g1\n\
+ subcc %1,%2,%%g0\n\
+1: bcs 5f\n\
+ addxcc %0,%0,%0 ! shift n1n0 and a q-bit in lsb\n\
+ sub %1,%2,%1 ! this kills msb of n\n\
+ addx %1,%1,%1 ! so this can't give carry\n\
+ subcc %%g1,1,%%g1\n\
+2: bne 1b\n\
+ subcc %1,%2,%%g0\n\
+ bcs 3f\n\
+ addxcc %0,%0,%0 ! shift n1n0 and a q-bit in lsb\n\
+ b 3f\n\
+ sub %1,%2,%1 ! this kills msb of n\n\
+4: sub %1,%2,%1\n\
+5: addxcc %1,%1,%1\n\
+ bcc 2b\n\
+ subcc %%g1,1,%%g1\n\
+! Got carry from n. Subtract next step to cancel this carry.\n\
+ bne 4b\n\
+ addcc %0,%0,%0 ! shift n1n0 and a 0-bit in lsb\n\
+ sub %1,%2,%1\n\
+3: xnor %0,0,%0\n\
! End of inline udiv_qrnnd" \
: "=&r" ((unsigned long int)(q)), \
"=&r" ((unsigned long int)(r)) \
@@ -841,7 +841,7 @@
#if defined (__vax__)
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addl2 %5,%1
+ __asm__ ("addl2 %5,%1\n\
adwc %3,%0" \
: "=g" ((unsigned long int)(sh)), \
"=&g" ((unsigned long int)(sl)) \
@@ -850,7 +850,7 @@
"%1" ((unsigned long int)(al)), \
"g" ((unsigned long int)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subl2 %5,%1
+ __asm__ ("subl2 %5,%1\n\
sbwc %3,%0" \
: "=g" ((unsigned long int)(sh)), \
"=&g" ((unsigned long int)(sl)) \

19
lang/STk/patches/patch-aj Normal file
View File

@@ -0,0 +1,19 @@
$NetBSD: patch-aj,v 1.1 2006/01/11 17:43:34 joerg Exp $
--- Tcl/tclUnixPort.h.orig 2006-01-11 17:08:11.000000000 +0000
+++ Tcl/tclUnixPort.h
@@ -176,14 +176,6 @@
#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF
/*
- * Not all systems declare the errno variable in errno.h. so this
- * file does it explicitly. The list of system error messages also
- * isn't generally declared in a header file anywhere.
- */
-
-extern int errno;
-
-/*
* The type of the status returned by wait varies from UNIX system
* to UNIX system. The macro below defines it:
*/

18
lang/STk/patches/patch-ak Normal file
View File

@@ -0,0 +1,18 @@
$NetBSD: patch-ak,v 1.1 2006/01/11 17:43:34 joerg Exp $
--- Tk/unix/tkUnixPort.h.orig 2006-01-11 17:12:28.000000000 +0000
+++ Tk/unix/tkUnixPort.h
@@ -120,13 +120,6 @@
#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
/*
- * Not all systems declare the errno variable in errno.h. so this
- * file does it explicitly.
- */
-
-extern int errno;
-
-/*
* Define "NBBY" (number of bits per byte) if it's not already defined.
*/

14
lang/STk/patches/patch-al Normal file
View File

@@ -0,0 +1,14 @@
$NetBSD: patch-al,v 1.1 2006/01/11 17:43:34 joerg Exp $
--- Src/io.c.orig 2006-01-11 17:16:11.000000000 +0000
+++ Src/io.c
@@ -67,6 +67,9 @@
# define READ_DATA_PENDING(fp) (max(0,(fp)->_egptr - (fp)->_gptr))
# endif
#endif
+#if !defined(READ_DATA_PENDING) && defined(__DragonFly__)
+# define READ_DATA_PENDING(fp) (max(0,((struct __FILE_public *)(fp))->_r))
+#endif
#if (!defined (READ_DATA_PENDING)) && defined __SLBF
# define READ_DATA_PENDING(fp) (max(0,fp->_r))
#endif

21
lang/STk/patches/patch-am Normal file
View File

@@ -0,0 +1,21 @@
$NetBSD: patch-am,v 1.1 2006/01/11 17:43:34 joerg Exp $
--- Extensions/posix.c.orig 2006-01-11 17:19:54.000000000 +0000
+++ Extensions/posix.c
@@ -23,7 +23,7 @@
* <shiro@sqush.squareusa.com>
*/
-
+#include <errno.h>
#include <stk.h>
#include <sys/types.h>
#include <sys/utsname.h>
@@ -35,7 +35,6 @@
* Error management
*
******************************************************************************/
-extern int errno;
static SCM get_errno(char *s)
{

13
lang/STk/patches/patch-an Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-an,v 1.1 2006/01/12 15:04:18 joerg Exp $
--- Src/dump.c.orig 2006-01-12 14:35:48.000000000 +0000
+++ Src/dump.c
@@ -22,7 +22,7 @@
int STk_dumped_core = 0;
-#if defined (SUNOS4) || defined(FREEBSD) || defined(LINUX)
+#if defined (SUNOS4) || defined(FREEBSD) || defined(LINUX) || defined(DRAGONFLY)
static caddr_t current_break = (caddr_t) -1;
static long data_size = 0;
static long data_start = 0;

31
lang/STk/patches/patch-ao Normal file
View File

@@ -0,0 +1,31 @@
$NetBSD: patch-ao,v 1.2 2008/09/07 00:23:58 dholland Exp $
--- Src/Makefile.in.orig 1999-09-03 16:21:32.000000000 -0400
+++ Src/Makefile.in 2008-09-06 20:03:00.000000000 -0400
@@ -47,7 +47,7 @@ TCLLIB = ../Tcl/libtcl.a
EVTCLLIB = ../Tcl/libevtcl.a
MPLIB = ../Mp/$(MP).a
STACKLIB = ../Stack/libstack.a
-LIBS = @LIBS@ $(LIB_DLD) $(LIB_MALLOC)
+LIBS = ${X11_LDFLAGS} @LIBS@ $(LIB_DLD) $(LIB_MALLOC)
ALLIBS = $(MPLIB) $(STACKLIB) $(TKLIB) $(TCLLIB) $(EVTCLLIB)
SALLLIBS = $(MPLIB) $(STACKLIB) $(TCLLIB)
@@ -111,7 +111,7 @@ install.stk: stk
-if [ ! -d $(root)$(bindir) ] ; then mkdir -p $(root)$(bindir); fi
/bin/rm -f $(root)$(bindir)/stk $(root)$(bindir)/stk-$(VERSION)
ln -s $(execdir)/stk $(root)$(bindir)/stk-$(VERSION)
- ln -s $(execdir)/stk $(root)$(bindir)/stk
+ ln -s stk-$(VERSION) $(root)$(bindir)/stk
-if [ ! -d $(root)$(execdir) ] ; then mkdir -p $(root)$(execdir); fi
$(CP) stk $(root)$(execdir)
chmod 0755 $(root)$(execdir)/stk
@@ -127,7 +127,7 @@ install.snow: snow
-if [ ! -d $(root)$(bindir) ] ; then mkdir -p $(root)$(bindir); fi
/bin/rm -f $(root)$(bindir)/snow-$(VERSION) $(root)$(bindir)/snow
ln -s $(execdir)/snow $(root)$(bindir)/snow-$(VERSION)
- ln -s $(execdir)/snow $(root)$(bindir)/snow
+ ln -s snow-$(VERSION) $(root)$(bindir)/snow
-if [ ! -d $(root)$(execdir) ] ; then mkdir -p $(root)$(execdir); fi
$(CP) snow $(root)$(execdir)
chmod 0755 $(root)$(execdir)/snow

13
lang/STk/patches/patch-ap Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ap,v 1.1 2008/09/07 00:23:58 dholland Exp $
--- Tcl/configure~ 2008-09-06 18:51:25.000000000 -0400
+++ Tcl/configure 2008-09-06 19:11:07.000000000 -0400
@@ -3219,7 +3219,7 @@ else
# results, and the version is kept in special file).
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print $3}' /etc/.relid'`
+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`

13
lang/STk/patches/patch-aq Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aq,v 1.1 2008/09/07 00:23:58 dholland Exp $
--- Tk/generic/tkArgv.c~ 1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkArgv.c 2008-09-06 19:25:03.000000000 -0400
@@ -178,7 +178,7 @@ Tk_ParseArgv(interp, tkwin, argcPtr, arg
infoPtr = matchPtr;
switch (infoPtr->type) {
case TK_ARGV_CONSTANT:
- *((int *) infoPtr->dst) = (int) infoPtr->src;
+ *((intptr_t *) infoPtr->dst) = (intptr_t) infoPtr->src;
break;
case TK_ARGV_INT:
if (argc == 0) {

13
lang/STk/patches/patch-ar Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ar,v 1.1 2008/09/07 00:23:58 dholland Exp $
--- Tk/generic/tkCursor.c~ 1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkCursor.c 2008-09-06 19:26:43.000000000 -0400
@@ -288,7 +288,7 @@ Tk_NameOfCursor(display, cursor)
if (!initialized) {
printid:
- sprintf(string, "cursor id 0x%x", (unsigned int) cursor);
+ sprintf(string, "cursor id 0x%lx", (unsigned long) cursor);
return string;
}
idKey.display = display;

10
lang/SmartEiffel/DESCR Normal file
View File

@@ -0,0 +1,10 @@
It is intended to be a complete, though small and very fast, free Eiffel
compiler. It is available for a very wide range of platforms: GNU/Linux,
GNU/Hurd, FreeBSD, BSD/OS, NetBSD, OpenBSD, HP-UX, IRIX, XENIX, Solaris,
DOS, OS2, WINDOWS NT/95/2000, Macintosh, NeXT, Amiga, AmigaDE/Elate, BeOS,
QNX, VMS, etc. Actually, SmartEiffel should run on any platform for which
an ANSI C compiler exists.
The current distribution includes an Eiffel to C compiler, an Eiffel to
Java bytecode compiler, a debugger, a documentation tool, a pretty printer
and various other tools.

12
lang/SmartEiffel/MESSAGE Normal file
View File

@@ -0,0 +1,12 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/11/28 15:16:06 wiz Exp $
To use the SmartEiffel compiler, please set this environment variable:
SmartEiffel=${PREFIX}/SmartEiffel/sys/system.se
and add this to your PATH:
${PREFIX}/SmartEiffel/bin
===========================================================================

49
lang/SmartEiffel/Makefile Normal file
View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.12 2012/10/02 20:11:35 asau Exp $
DISTNAME= se
PKGNAME= SmartEiffel-2.0
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.loria.fr/pub/loria/SmartEiffel/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= lars.nordlund@hem.utfors.se
HOMEPAGE= http://smarteiffel.loria.fr/
COMMENT= The GNU Eiffel Compiler
BROKEN= Infinite loop in the installer
WRKSRC= ${WRKDIR}/SmartEiffel
USE_TOOLS+= pax
DIST_SUBDIR= ${PKGNAME_NOREV}
MAKE_ENV+= SmartEiffel=${WRKSRC:Q}/sys/system.se
# This package relies heavily on GCC.
ONLY_FOR_COMPILER= gcc
CHECK_INTERPRETER_SKIP= SmartEiffel/contrib/edb/sec \
SmartEiffel/misc/benchmarks/all_bench.elate \
SmartEiffel/www/libraries/eiffeldoc.sh
REPLACE_PYTHON+= contrib/htmldoc/htmlshort
post-patch:
${SED} "s:XXXWORKDIRXXX:${WRKDIR}:g" ${FILESDIR}/system.se \
> ${WRKSRC}/sys/system.se
post-build:
${MV} -f ${WRKSRC}/sys/system.se ${WRKSRC}/sys/system.se.bak
${SED} "s:${WRKDIR}:${PREFIX}:g" ${WRKSRC}/sys/system.se.bak > \
${WRKSRC}/sys/system.se
${RM} -f ${WRKSRC}/sys/system.se.bak
${RM} -f ${WRKSRC}/sys/system.se~
${RM} -f ${WRKSRC}/Makefile.orig
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/SmartEiffel
cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/SmartEiffel
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

2396
lang/SmartEiffel/PLIST Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2009/08/08 23:32:17 tnn Exp $
SHA1 (SmartEiffel-2.0/se.tar.bz2) = 343747fc62460b43d5a00d58fab12c4f1542fb10
RMD160 (SmartEiffel-2.0/se.tar.bz2) = 7429864c1f72ffdda8cc6b56e904c446e1303a8e
Size (SmartEiffel-2.0/se.tar.bz2) = 4136823 bytes
SHA1 (patch-aa) = 7133eec761eb939a97f6a028d407944d74573555

View File

@@ -0,0 +1,140 @@
-- This is the configuration file of SmartEiffel, generated by the
-- SmartEiffel installer.
-- If you have any problems or questions, please:
-- - either look at the SmartEiffel site (http://SmartEiffel.loria.fr)
-- - or contact the SmartEiffel team (SmartEiffel@loria.fr)
-- ======================================================================= --
[General]
-- This section contains some general-purpose keys. They describe how is the
-- SmartEiffel distribution arranged, and on which operating system it was
-- installed.
-- The 'bin' key is the path to the directory that contains the SmartEiffel
-- directory. It is used by 'compile' to find 'compile_to_c'.
-- The 'sys' directory is used to find the C and Java files used by the
-- compilers.
-- The 'short' directory is used by the 'short' utility to format the output.
-- The 'os' key tells on which system SmartEiffel is installed on.
-- At last, 'tag' gives the version of install configuration (used only by the
-- installer)
bin: XXXWORKDIRXXX/SmartEiffel/bin/
sys: XXXWORKDIRXXX/SmartEiffel/sys/
short: XXXWORKDIRXXX/SmartEiffel/short/
os: UNIX
tag: 2
[Environment]
-- This section contains keys that can be used environment variables. They may
-- be used by other sections (typically [Loadpath]) or Ace files.
path_tutorial: XXXWORKDIRXXX/SmartEiffel/tutorial/
path_tools: XXXWORKDIRXXX/SmartEiffel/tools/
path_lib: XXXWORKDIRXXX/SmartEiffel/lib/
[Loadpath]
-- This section contains the default loadpaths used by this SmartEiffel
-- installation.
-- The key is used when naming clusters (SmartEiffel output when a
-- class is not found, or external tools like eiffeldoc)
-- The value of the key is the path to a loadpath file.
-- Note that the loadpath files are read in the order given below.
lib: ${path_lib}loadpath.se
tools: ${path_tools}loadpath.se
tutorial: ${path_tutorial}loadpath.se
-- ======================================================================= --
-- Below are the "C mode" sections. Each C mode describes which C compiler must
-- be called, with which options, which linker, and so on. The keys are
-- described below.
-- The first sections (boost, ..., debug_check) are by default used in
-- conjunction with the corresponding SmartEiffel check level. This behaviour
-- may be changed by using the -c_mode flag.
-- The recognized keys in each section are:
-- 'compiler_type', which tells which is the compiler type to use
-- 'compiler_path', which gives the path to the compiler executable
-- 'compiler_options', which gives some options to the compiler
-- 'linker_path', which gives the path to the linker executable (not used in
-- -no_split mode)
-- 'linker_options', which gives some options for the linker (not used in
-- -no_split mode)
-- 'smarteiffel_options', which gives some extra SmartEiffel options to take
-- into account
[boost]
c_compiler_type: gcc
c_compiler_options: -pipe -O2
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O2
[no_check]
c_compiler_type: gcc
c_compiler_options: -pipe -O1
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O1
[require_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[ensure_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[invariant_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[loop_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[all_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[debug_check]
c_compiler_type: gcc
c_compiler_options: -pipe -g
cpp_compiler_type: g++
cpp_compiler_options: -pipe -g
smarteiffel_options: -no_strip
[release]
c_compiler_type: gcc
c_compiler_options: -pipe -O3 -fomit-frame-pointer
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O3 -fomit-frame-pointer
smarteiffel_options: -no_split -compact

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2009/08/08 23:32:17 tnn Exp $
--- Makefile.orig 2004-09-27 18:50:36.000000000 +0200
+++ Makefile
@@ -34,7 +34,7 @@
all: ./install/germ/compile_to_c.h install.c
gcc -o se_install install.c
- (echo ''; echo '4'; echo '5'; echo ''; echo '6') | ./se_install
+ (echo ''; echo '4'; echo '5'; echo ''; echo '6'; echo y; echo y) | ./se_install
\rm -f ./se_install
interactive: ./install/germ/compile_to_c.h install.c

10
lang/a60/DESCR Normal file
View File

@@ -0,0 +1,10 @@
From the documentation:
This Algol 60 interpreter is based upon the "Revised Report on the
Algorithmic Language Algol 60" [RRA60].
At school, a long time ago, I learned Algol 60 in a completely
theoretical manner. Later I learned Algol 68 and C (and more ...).
The concept of call-by-name never left my mind, and so I started to
write this Algol 60 interpreter: Made for fun and a call-by-name.

41
lang/a60/Makefile Normal file
View File

@@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.14 2013/04/06 20:27:21 rodent Exp $
DISTNAME= a60-0.20a
CATEGORIES= lang
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/algol60/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Algol 60 interpreter
GNU_CONFIGURE= yes
CPPFLAGS+= -Dunix
INFO_FILES= yes
INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a60 ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/a60/
${INSTALL_DATA} ${WRKSRC}/a60-mkc.inc \
${DESTDIR}${PREFIX}/share/a60/
cd ${WRKSRC}; for f in \
RRA60.info RRA60.info-[0-9]* \
a60.info a60.info-[0-9]*; \
do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
done
${INSTALL_MAN} ${WRKSRC}/a60.man \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/a60.1
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/a60/
cd ${WRKSRC}/examples && ${INSTALL_DATA} *.a60 README \
${DESTDIR}${PREFIX}/share/examples/a60/
${INSTALL_DATA} ${WRKSRC}/xa60.* \
${DESTDIR}${PREFIX}/share/examples/a60/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/a60/
cd ${WRKSRC} && ${INSTALL_DATA} a60.ps RRA60.ps \
${DESTDIR}${PREFIX}/share/doc/a60/
.include "../../mk/bsd.pkg.mk"

20
lang/a60/PLIST Normal file
View File

@@ -0,0 +1,20 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:03:28 joerg Exp $
bin/a60
info/RRA60.info
info/a60.info
man/man1/a60.1
share/a60/a60-mkc.inc
share/doc/a60/a60.ps
share/doc/a60/RRA60.ps
share/examples/a60/321.a60
share/examples/a60/README
share/examples/a60/inout.a60
share/examples/a60/nqueen.a60
share/examples/a60/prim.a60
share/examples/a60/rand.a60
share/examples/a60/serp.a60
share/examples/a60/teul1.a60
share/examples/a60/teul2.a60
share/examples/a60/whetstone.a60
share/examples/a60/xa60.c
share/examples/a60/xa60.man

8
lang/a60/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.4 2005/02/24 09:03:05 agc Exp $
SHA1 (a60-0.20a.tar.gz) = cc643812cdd6016ca0dd9d29ed4a65e8ce03fddc
RMD160 (a60-0.20a.tar.gz) = c2cbe06da31c98f9618f76d8770c1f3123550feb
Size (a60-0.20a.tar.gz) = 626754 bytes
SHA1 (patch-aa) = 332fdb48b105bd2483f329630ff4688edba3b54e
SHA1 (patch-ab) = 5808796f29e2bd0056abf3e780c82d0740539206
SHA1 (patch-ac) = 069546013d35b22048675ce69e3b8ad20e65e85c

40
lang/a60/patches/patch-aa Normal file
View File

@@ -0,0 +1,40 @@
$NetBSD: patch-aa,v 1.2 2001/06/18 10:05:59 jtb Exp $
--- Makefile.in.orig Mon Jul 12 08:15:42 1999
+++ Makefile.in
@@ -34,7 +34,7 @@
exec_prefix = @exec_prefix@
BINDIR = $(exec_prefix)/bin
-LIBDIR = $(prefix)/lib
+LIBDIR = $(prefix)/share/a60
MANDIR = $(prefix)/man/man1
MANSUFF = 1
@@ -66,13 +66,15 @@
DEFS = -DHAVE_CONFIG_H
##
+CPPFLAGS= @CPPFLAGS@
+
##
## Flags for debugging and production:
##
# FLAGS = -g
-FLAGS = -O
+# FLAGS = -O
# LDFLAGS = -g
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
## Uncomment for profiling:
# PROF = -pg
@@ -148,7 +150,7 @@
SRCS = $(ISRCS) $(MSRCS)
HDRS = $(IHDRS) $(MHDRS)
-CFLAGS = $(FLAGS) $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH)
+CFLAGS += $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH)
XCFLAGS = $(FLAGS) $(PROF) $(DEFS) $(LIBDIRPATH)
##

15
lang/a60/patches/patch-ab Normal file
View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $
--- RRA60.info.orig Tue May 15 16:54:51 2001
+++ RRA60.info
@@ -2,6 +2,10 @@
produced by latexinfo-format-buffer
from file: RRA60.texinfo
+INFO-DIR-SECTION Algol
+START-INFO-DIR-ENTRY
+* RRA60: (RRA60). Revised Report on the Algorithmic Language Algol 60
+END-INFO-DIR-ENTRY


17
lang/a60/patches/patch-ac Normal file
View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ac,v 1.1.1.1 2001/05/15 21:21:45 jtb Exp $
--- a60.info.orig Tue May 15 16:54:43 2001
+++ a60.info
@@ -1,6 +1,12 @@
This is Info file a60.info, produced by Makeinfo-1.64 from the input
file a60.texinfo.
+INFO-DIR-SECTION Algol
+START-INFO-DIR-ENTRY
+* a60: (a60). Algol 60 Interpreter
+END-INFO-DIR-ENTRY
+
+

File: a60.info, Node: Top, Next: Goal, Prev: References, Up: (dir)

7
lang/abcl/DESCR Normal file
View File

@@ -0,0 +1,7 @@
Armed Bear Common Lisp (ABCL) is a full implementation of
the Common Lisp language featuring both an interpreter and
a compiler, running in the JVM. Originally started to be
a scripting language for the J editor, it now supports JSR-223
(Java scripting API): it can be a scripting engine in any Java
application. Additionally, it can be used to implement (parts of)
the application using Java to Lisp integration APIs.

27
lang/abcl/Makefile Normal file
View File

@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.4 2013/02/18 18:16:14 asau Exp $
DISTNAME= abcl-src-1.1.1
PKGNAME= $(DISTNAME:C/-src//)
CATEGORIES= lang
MASTER_SITES= http://common-lisp.net/project/armedbear/releases/$(PKGVERSION_NOREV)/
MAINTAINER= asau@NetBSD.org
HOMEPAGE= http://common-lisp.net/project/armedbear/
COMMENT= Armed Bear Common Lisp
BUILD_DEPENDS= apache-ant>=1.7.1:../../devel/apache-ant
INSTALLATION_DIRS= bin lib/abcl
do-build:
$(RUN)$(_ULIMIT_CMD) cd $(WRKSRC) && \
$(PKGSRC_SETENV) $(MAKE_ENV) \
ant -nouserlib -Dabcl.runtime.jar.path=$(PREFIX)/lib/abcl/abcl.jar
do-install:
$(INSTALL_SCRIPT) $(WRKSRC)/abcl $(DESTDIR)$(PREFIX)/bin
$(INSTALL_DATA) $(WRKSRC)/dist/abcl.jar $(DESTDIR)$(PREFIX)/lib/abcl
$(INSTALL_DATA) $(WRKSRC)/dist/abcl-contrib.jar $(DESTDIR)$(PREFIX)/lib/abcl
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

4
lang/abcl/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
bin/abcl
lib/abcl/abcl-contrib.jar
lib/abcl/abcl.jar

5
lang/abcl/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.3 2013/02/18 18:16:14 asau Exp $
SHA1 (abcl-src-1.1.1.tar.gz) = f9c71a91c5aef4b7061758d19291df0fb0b01b14
RMD160 (abcl-src-1.1.1.tar.gz) = 3c2dcc41d59e5f94ba3ea6f99ed2c1a7efc5a063
Size (abcl-src-1.1.1.tar.gz) = 998991 bytes

9
lang/algol68g/DESCR Executable file
View File

@@ -0,0 +1,9 @@
The development of Algol played an important role in establishing
computer science as an academic discipline. The Algol 68 Genie
project preserves Algol 68 out of educational as well as
scientific-historical interest, by making available Algol 68 Genie;
a recent, well-featured implementation written from scratch. Algol
68 Genie is a practically full implementation of the language
defined by the Revised Report. The implementation is a hybrid
compiler-interpreter; units with considerable interpreter-overhead
can optionally be compiled.

23
lang/algol68g/Makefile Executable file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.8 2013/06/30 09:43:31 ryoon Exp $
DISTNAME= algol68g-2.7
CATEGORIES= lang
MASTER_SITES= http://jmvdveer.home.xs4all.nl/
MAINTAINER= olafs@cs.ru.nl
HOMEPAGE= http://jmvdveer.home.xs4all.nl/algol.html
COMMENT= Algol 68genie compiler
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=$(PREFIX)/share/doc/$(PKGBASE)
TEST_TARGET= check
.include "options.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

9
lang/algol68g/PLIST Executable file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.2 2012/07/03 08:20:25 asau Exp $
bin/a68g
include/algol68g/a68g-config.h
include/algol68g/a68g.h
man/man1/a68g.1
share/doc/algol68g/AUTHORS
share/doc/algol68g/COPYING
share/doc/algol68g/NEWS
share/doc/algol68g/README

5
lang/algol68g/distinfo Executable file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.4 2013/06/30 09:43:31 ryoon Exp $
SHA1 (algol68g-2.7.tar.gz) = b12f9ec9a70297f289b8e59c990788c08b11d759
RMD160 (algol68g-2.7.tar.gz) = d52fe93c9ac81d57033f88c9de9a2c1694af72da
Size (algol68g-2.7.tar.gz) = 666918 bytes

24
lang/algol68g/options.mk Executable file
View File

@@ -0,0 +1,24 @@
# $NetBSD: options.mk,v 1.2 2013/06/30 09:43:31 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.a68g
PKG_SUPPORTED_OPTIONS= plotutils pgsql
PKG_SUGGESTED_OPTIONS= plotutils
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mplotutils)
. include "../../graphics/plotutils/buildlink3.mk"
CONFIGURE_ARGS+= --with-plotutils
.else
CONFIGURE_ARGS+= --without-plotutils
.endif
# It seems that when including PostgreSQL support it doesn't actually
# need to have it installed at build time, just at run time.
# So maybe this DEPENDS is undesirable.
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-pgsql
.include "../../mk/pgsql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-pgsql
.endif

23
lang/awka/DESCR Normal file
View File

@@ -0,0 +1,23 @@
Awka is an open-source implementation of the AWK programming language. Awka
is not an interpreter like Gawk, Mawk or Nawk, but instead it converts the
program to ANSI-C, then compiles this using gcc or a native C compiler to
create a binary executable.
As of version 0.7.0, you can write C functions and compile them into a
library, then have these functions available for use in AWK scripts as if they
were builtin. From now on, using Awka you are no longer bound to the limited
AWK universe plus a few extras. You are free to extend functionality in
whatever direction C allows you, and have this available within the concise,
elegant AWK language framework.
You may distribute the executable, without having to provide the source code
for your AWK program. Please note, however, that executables using Awka must
be distributed free of charge. Note that using the optional dfa library that
accompanies awka, or compiling awka under cygwin, will subject translated C
source code to the GPL, but not the AWK source.
Translating AWK programs to C means you can link them with C & C++ code, thus
extending functionality way beyond what is possible in interpretive AWK.
Awka-generated executables perform comparatively with, and in many cases
faster than, the quickest freely-available AWK interpreter.

18
lang/awka/Makefile Normal file
View File

@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.11 2012/10/02 20:11:35 asau Exp $
#
DISTNAME= awka-0.7.5
PKGREVISION= 3
CATEGORIES= lang devel
MASTER_SITES= http://awka.sourceforge.net/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://awka.sourceforge.net/
COMMENT= AWK to ANSI C compiler
GNU_CONFIGURE= YES
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
MANSRCDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"

7
lang/awka/PLIST Normal file
View File

@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.4 2005/11/02 15:54:04 tv Exp $
bin/awka
include/libawka.h
lib/libawka.a
man/man1/awka.1
man/man5/awka-elm.5
man/man5/awka-elmref.5

10
lang/awka/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.7 2012/01/24 20:41:00 joerg Exp $
SHA1 (awka-0.7.5.tar.gz) = b626a77ee716b9218ef78bee96e6ba2533055514
RMD160 (awka-0.7.5.tar.gz) = 74d953efd395938572317b24fc702a0646d94f10
Size (awka-0.7.5.tar.gz) = 395499 bytes
SHA1 (patch-aa) = ab553c4e7878011f19f51c15a5885220b5c378d7
SHA1 (patch-ab) = 9cab1c88b6fd7b6af175023f575226c90c011cd7
SHA1 (patch-doc_awka-elm.5) = 70c19258d1f9e7554c0a2e0ed017390b5d74ad56
SHA1 (patch-doc_awka-elmref.5) = 760e5768f087ee8054ed442d5cb9f15c8659560c
SHA1 (patch-doc_awka.1) = c0b10cca61bd618127c5e56a5565daaa4e00c48a

View File

@@ -0,0 +1,11 @@
$NetBSD: patch-aa,v 1.1 2005/11/02 15:54:04 tv Exp $
--- awka/fin.h.orig 2001-07-06 01:03:46.000000000 -0400
+++ awka/fin.h
@@ -51,6 +51,4 @@ unsigned PROTO ( fillbuff, (int, char *,
extern FIN *main_fin ; /* for the main input stream */
void PROTO( open_main, (void) ) ;
-
-void PROTO(setmode, (int,int)) ;
#endif /* FIN_H */

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1 2005/11/02 15:54:04 tv Exp $
--- configure.orig 2001-07-11 02:00:52.000000000 -0400
+++ configure
@@ -2877,8 +2877,8 @@ rm -f conftest*
EXE=''
if test "$GCC" = yes
then
- SHARED_LIB='libawka.so'
- SHAREDFLAG='-fPIC'
+ SHARED_LIB=''
+ SHAREDFLAG=''
fi
else
EXE=$djgpp

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-doc_awka-elm.5,v 1.1 2012/01/24 20:41:00 joerg Exp $
--- doc/awka-elm.5.orig 2012-01-23 22:38:34.000000000 +0000
+++ doc/awka-elm.5
@@ -3,7 +3,6 @@
.ds ex \fIexpr\fR
'\" .CS - begin code excerpt
.de CS
-.TP -2
.RS
.nf
.ta .25i .5i .75i 1i
@@ -15,7 +14,6 @@
..
'\" .DS - start indented
.de DS
-.TP -2
.RS
.nf
.sp

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-doc_awka-elmref.5,v 1.1 2012/01/24 20:41:00 joerg Exp $
--- doc/awka-elmref.5.orig 2012-01-23 22:38:38.000000000 +0000
+++ doc/awka-elmref.5
@@ -3,7 +3,6 @@
.ds ex \fIexpr\fR
'\" .CS - begin code excerpt
.de CS
-.TP -2
.RS
.nf
.ta .25i .5i .75i 1i
@@ -15,7 +14,6 @@
..
'\" .DS - start indented
.de DS
-.TP -2
.RS
.nf
.sp

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-doc_awka.1,v 1.1 2012/01/24 20:41:00 joerg Exp $
--- doc/awka.1.orig 2012-01-23 22:38:41.000000000 +0000
+++ doc/awka.1
@@ -3,7 +3,6 @@
.ds ex \fIexpr\fR
'\" .CS - begin code excerpt
.de CS
-'\" .TP -2
.RS
.nf
.ta .25i .5i .75i 1i
@@ -15,7 +14,6 @@
..
'\" .DS - start indented
.de DS
-.TP -2
.RS
.nf
.sp

14
lang/baci/DESCR Normal file
View File

@@ -0,0 +1,14 @@
BACI stands for Ben-Ari Concurrent Interpreter. The compiler and interpreter
originally were procedures in a program written by M. Ben-Ari, based on the
original Pascal compiler by Niklaus Wirth. The original version of the BACI
compiler and interpreter was created from that source code and was hosted on
a PRIME mainframe. After several modifications and additions, this version
was ported to a PC version in Turbo Pascal, to Sun Pascal, and to C. Finally,
the compiler and interpreter were split into two separate programs.
Recently, a C-- compiler has been added to the BACI suite of programs to
compile source programs written in a restricted dialect of C++ into PCODE
object code executable by the interpreter. Compared with other concurrent
languages, BACI offers a variety of synchronization techniques with a
syntax that is usually familiar. Any experienced C or Pascal programmer could
use BACI within hours.

33
lang/baci/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.16 2012/10/02 20:11:35 asau Exp $
#
DISTNAME= bacisrc
PKGNAME= baci-20000725
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_BACKUP}
DISTFILES= bacisrc.tar.gz \
bacidoc.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mines.edu/fs_home/tcamp/baci/
COMMENT= Ben-Ari Concurrent Interpreter
USE_TOOLS+= flex bison:run
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC}/ccomp && ${MAKE}
cd ${WRKSRC}/disasm && ${MAKE}
cd ${WRKSRC}/interp && ${MAKE}
cd ${WRKSRC}/pascomp && ${MAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ccomp/bacc ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/disasm/badis ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/interp/bainterp ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/pascomp/bapas ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/baci
${INSTALL_DATA} ${WRKDIR}/bacidoc/* ${DESTDIR}${PREFIX}/share/doc/baci
.include "../../mk/bsd.pkg.mk"

11
lang/baci/PLIST Normal file
View File

@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:03:28 joerg Exp $
bin/bacc
bin/badis
bin/bainterp
bin/bapas
share/doc/baci/cmimi.ps
share/doc/baci/cmimi.tex
share/doc/baci/disasm.ps
share/doc/baci/disasm.tex
share/doc/baci/guidepas.ps
share/doc/baci/guidepas.tex

21
lang/baci/distinfo Normal file
View File

@@ -0,0 +1,21 @@
$NetBSD: distinfo,v 1.7 2007/08/01 20:40:42 joerg Exp $
SHA1 (bacisrc.tar.gz) = 3b655bcbd2823047f3f92e6f2d3d12bc7eaa772d
RMD160 (bacisrc.tar.gz) = c484e3c05734cac1dd394d9b09b256e2a2626897
Size (bacisrc.tar.gz) = 186723 bytes
SHA1 (bacidoc.tar.gz) = 6550d2f87903b69ce470e9682d47420399fcf0af
RMD160 (bacidoc.tar.gz) = fab70e9bea44b384fe758de506f75bba68f412a6
Size (bacidoc.tar.gz) = 162066 bytes
SHA1 (patch-aa) = 5a6f1c7219088687d244198bbcd76412a11ce645
SHA1 (patch-ab) = 26c8235aff9ab50013ae06f5f6256bfb3f26db83
SHA1 (patch-ac) = f72a2a911b2c1d262b6767a72a223397daf00c7a
SHA1 (patch-ad) = 70b1a6e08245d2c2769fa07532943e5fcecf1fc3
SHA1 (patch-ae) = a2be64d957abd66dac0057b896af1326c89f71af
SHA1 (patch-af) = 9317e315edace5580b714d82f88bd3360e4c4cd9
SHA1 (patch-ag) = df83bd959b26677d193b883cc0d3a944c6d86544
SHA1 (patch-ah) = 500a536f362eba6fdd152e5be598d66528b3396d
SHA1 (patch-ai) = a94b97a695bfcf233835cec67791c99732c7cdf6
SHA1 (patch-aj) = 0c9824049ac9555b76889fcd09e644e91ebae78d
SHA1 (patch-ak) = 099f329662611a94e2bc2cce3f30753d3e053680
SHA1 (patch-al) = 06509333c305b150e1d1215454ff153f95cb6e2c
SHA1 (patch-am) = 79eb900505f6130033c820a5ed46f386ab14bf54

View File

@@ -0,0 +1,71 @@
$NetBSD: patch-aa,v 1.3 2007/08/01 20:40:42 joerg Exp $
--- interp/bainterp.c.orig 1999-08-31 16:19:18.000000000 +0000
+++ interp/bainterp.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <assert.h>
#include "../include/bacicnty.h" /* for PMAX, PMAXP1 */
@@ -14,13 +14,6 @@
#include "random.h"
#include "bainterp.h"
-extern int printf(const char*,...);
-extern int fprintf(FILE*,const char*,...);
-extern int fputc(int,FILE*);
-extern int fputs(const char*,FILE*);
-extern int fseek(FILE*,long,int);
-extern int sscanf(const char*,const char*,...);
-
/* interpreter global variables */
extern char interp_pname[];
extern char interp_pnroot[];
@@ -240,8 +233,8 @@ void interpret()
else {
ptab[curpr].t--;
h2 = PMAXP1; /* code like chooseproc */
- h3 = random(h2);
- h4 = 1 + random(PMAX);
+ h3 = __random(h2);
+ h4 = 1 + __random(PMAX);
while (( h2 >= 0 ) && (ptab[h3].suspend != h1 )){
h3 = (h3+h4) % (PMAXP1);
h2--;
@@ -294,8 +287,8 @@ void interpret()
else { /* semaphore was initialized */
ptab[curpr].monitor = 0;
h2 = PMAXP1;
- h3 = random(h2);
- h5 = 1 + random(PMAX);
+ h3 = __random(h2);
+ h5 = 1 + __random(PMAX);
while ((h2 >= 0) &&
((ptab[h3].monitor != h4) || (ptab[h3].suspend >= 0 ))){
h3 = (h3 + h5) % (PMAXP1);
@@ -319,8 +312,8 @@ void interpret()
ptab[curpr].active = 0;
stepcount = 0;
h2 = PMAXP1;
- h3 = random(h2);
- h5 = 1 + random(PMAX);
+ h3 = __random(h2);
+ h5 = 1 + __random(PMAX);
while ((h2 >= 0) &&
((ptab[h3].monitor != h4) || (ptab[h3].suspend >=0 ))){
h3 = (h3 + h5) % (PMAXP1);
@@ -339,8 +332,8 @@ void interpret()
else { /* monitor sem was OK */
h1 = s[ptab[curpr].t];
ptab[curpr].t--;
- h3 = random(PMAXP1);
- h6 = 1 + random(PMAX);
+ h3 = __random(PMAXP1);
+ h6 = 1 + __random(PMAX);
h5 = 0;
minprior = MAXPRIO;
for (h2 = 0; h2 <= PMAX; h2++) {

View File

@@ -0,0 +1,45 @@
$NetBSD: patch-ab,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- interp/baiutils.c.orig 1999-08-31 18:19:18.000000000 +0200
+++ interp/baiutils.c
@@ -1,6 +1,7 @@
/* BenAri Concurrent PCODE Interpreter Utilities */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <assert.h>
@@ -10,12 +11,7 @@
#include "random.h"
#include "bainterp.h"
-extern int fprintf(FILE*,const char*,...);
-extern int fclose(FILE*);
-extern int printf(const char*,...);
-extern int atoi(char*);
extern int build_cbtab();
-extern int sscanf(const char*, const char*,...);
FNAME_STRING interp_pname;
@@ -171,8 +167,8 @@ void chooseproc()
d = PMAXP1;
suspended = active = 0;
- look = random(PMAXP1);
- add = 1 + random(PMAX); /* 1 <= add <= PMAXP1 */
+ look = __random(PMAXP1);
+ add = 1 + __random(PMAX); /* 1 <= add <= PMAXP1 */
while ( ((!ptab[look].active) || (ptab[look].suspend>=0) ||
(ptab[look].tabix < 0)) && (d >= 0) ){
/* keep looking until a called process that is active and not
@@ -189,7 +185,7 @@ void chooseproc()
ps = deadlock;
}
else {
- stepcount = random(STEPMAXP1);
+ stepcount = __random(STEPMAXP1);
if (ptab[curpr].atomic){
if (ptab[curpr].suspend >= 0) {
ps = deadlock;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- interp/random.c.orig 1999-08-31 18:19:18.000000000 +0200
+++ interp/random.c
@@ -65,7 +65,7 @@ long int temp;
useed = temp+seed; /* start user somewhere else */
}
-unsigned int random(range)
+unsigned int __random(range)
unsigned int range;
/* returns a pseudo-random unsigned int between 0 and 'range' - 1 */
{

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- interp/random.h.orig 1999-08-31 18:19:18.000000000 +0200
+++ interp/random.h
@@ -18,7 +18,7 @@ extern float strand();
/* strand(); */
/* returns a randomly distributed 'random' real between 0 & 2^31 -1 */
-extern unsigned random();
+extern unsigned __random();
/* random(range); */
/* returns a 'randomly' chosen integer between 0 and 'range' - 1 */

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-ae,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- disasm/badautil.c.orig 1999-08-31 18:19:14.000000000 +0200
+++ disasm/badautil.c
@@ -5,6 +5,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h> /* for stat */
#include <sys/types.h> /* for stat */
@@ -19,13 +20,6 @@
#include "../include/disutils.h"
-extern int fprintf(FILE*,const char*,...);
-extern int fputc(int , FILE*);
-extern int fputs(const char*,FILE*);
-extern int sscanf(const char*,const char*,...);
-extern int fclose(FILE*);
-extern void rewind(FILE*);
-
FNAME_STRING prog_name; /* to hold the name of the disassembler */
char pn_root[] =
@@ -213,13 +207,12 @@ void close_ifile(FILE* f,int* cur_ifile)
level--;
}
-char buf[BUFSIZE];
-
void show_line(FILE* f, int* cur_ifile)
/* write the source file line inputfile[*cur_ifile].line_no to */
/* file 'f', indicating the proper file include level. */
{
int i;
+ char buf[BUFSIZE];
for (i = 0; i< level; i++) fputc('>',f);
fgets(buf,BUFSIZE,inputfile[*cur_ifile].f);

View File

@@ -0,0 +1,38 @@
$NetBSD: patch-af,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- ccomp/bac.y.orig 1999-08-31 18:19:03.000000000 +0200
+++ ccomp/bac.y
@@ -3,6 +3,7 @@
/* based on the grammar for the BenAri Concurrent Pascal compiler */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
@@ -24,9 +25,6 @@ extern char lasttoken[];
extern void global_init(int argc, char** argv);
extern char *lastident();
-extern int fprintf(FILE*,const char*,...);
-extern int printf(const char*,...);
-extern int free(void*);
extern void yyerror(char*);
extern int yylex(void);
@@ -1013,6 +1011,7 @@ then_stmt : stmt
the_else : ELSE
{ emit(JUMP); $$ = lc; }
+ ;
switch_hdr : SWITCH '(' expr ')'
{
@@ -1272,6 +1271,7 @@ break_stmt : BREAK ';'
}
}
}
+ ;
return_stmt : the_return opt_expr ';'
{

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-ag,v 1.2 2005/02/19 15:40:54 wiz Exp $
--- pascomp/bapascal.y.orig 1999-08-31 18:19:08.000000000 +0200
+++ pascomp/bapascal.y
@@ -3,6 +3,7 @@
/* based on the Pascal grammar from the */
/* primost.cs.wisc.edu compiler archive */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
@@ -25,12 +26,8 @@ extern void global_init(int argc, cha
#include "../include/writetab.h"
#include "../include/pcode.h"
-extern int fprintf(FILE*,const char*,...);
-extern int printf(const char*,...);
-extern int free(void*);
extern void yyerror(char*);
extern int yylex(void);
-extern int atoi(char*);
void process_var_inits(int level);
void add_var_init(int* curr_var, int tix, int level, int value);
@@ -866,7 +863,6 @@ statement : /*empty*/
{ gen_exprval($4); emit1(JZER,$1); free_expr($4); }
| for_header statement
{ emit1(ENDFOR,1+$1); code[$1].y = lc; }
- ;
| cbegin statements CEND
{ if (level == 1) emit(COEND); in_cobegin = 0; }
;
@@ -885,6 +881,7 @@ the_else : ELSE
the_while : WHILE
{ $$ = lc; }
+ ;
while_expr : expr
{ gen_exprval($1); free_expr($1); $$ = lc; emit(JZER);}

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ah,v 1.1 2005/02/19 15:40:54 wiz Exp $
--- pascomp/bapascal.l.orig 1999-08-31 18:19:08.000000000 +0200
+++ pascomp/bapascal.l
@@ -16,6 +16,7 @@ BS6192:1982 (ISO 7185:1983)
******************************************************************************/
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include "ytab.h"

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-ai,v 1.1 2005/02/19 15:40:54 wiz Exp $
--- ccomp/bac.l.orig 1999-08-31 18:19:04.000000000 +0200
+++ ccomp/bac.l
@@ -3,6 +3,7 @@
#include <ctype.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include "ytab.h"
@@ -11,11 +12,6 @@
#include "../include/incfiles.h"
#include "../include/computil.h"
-extern int printf(const char*,...);
-extern int fprintf(FILE*,const char*,...);
-extern size_t fwrite(const void*,size_t,size_t,FILE*);
-extern int fgetc(FILE*);
-extern int fputc(int,FILE*);
extern void yyerror(char*);
/* FLEX doesn't declare malloc and realloc before it uses them */

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aj,v 1.1 2005/02/19 15:40:54 wiz Exp $
--- lib/disutils.c.orig 1999-09-16 04:38:05.000000000 +0200
+++ lib/disutils.c
@@ -238,7 +238,7 @@ void disassemble(char *dl, int tix, int
case sems: strcat(dl,"(semaphore)"); break;
case bsems: strcat(dl,"(binarysem)"); break;
case chars: strcat(dl,"(char)"); break;
- default: strcat(dl,"(??)"); break;
+ default: strcat(dl,"(?)"); break;
}
strcat(dl," s[t] to stdout, pop(1)\n");
break; /* 29 */

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ak,v 1.1 2005/06/24 22:44:58 minskim Exp $
--- lib/incfiles.c.orig 1999-09-15 21:38:06.000000000 -0500
+++ lib/incfiles.c
@@ -5,7 +5,6 @@
*/
#include <stdio.h>
-#include <malloc.h>
#include <stdlib.h>
#include "../include/bacicnty.h"

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-al,v 1.1 2005/06/24 22:44:58 minskim Exp $
--- lib/genutil.c.orig 1999-09-15 21:38:06.000000000 -0500
+++ lib/genutil.c
@@ -1,7 +1,6 @@
/* general utility programs for the BenAri Concurrent PCODE sytem */
#include <stdio.h>
-#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-am,v 1.1 2005/06/24 22:44:58 minskim Exp $
--- lib/readtab.c.orig 1999-09-15 21:38:06.000000000 -0500
+++ lib/readtab.c
@@ -2,7 +2,6 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
#include <stdlib.h>
#include "../include/globdata.h"

8
lang/basic256/DESCR Normal file
View File

@@ -0,0 +1,8 @@
BASIC-256 is an easy to use version of BASIC designed to teach
anybody (especially middle and high-school students) the basics of
computer programming. It uses traditional control structures like
gosub, for/next, and goto, which helps kids easily see how program
flow-control works. It has a built-in graphics mode which lets them
draw pictures on screen in minutes, and a set of detailed,
easy-to-follow tutorials that introduce programming concepts through
fun exercises.

48
lang/basic256/Makefile Normal file
View File

@@ -0,0 +1,48 @@
# $NetBSD: Makefile,v 1.21 2013/06/06 12:54:39 wiz Exp $
#
DISTNAME= basic256_0.9.6.71
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 11
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kidbasic/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.basic256.org/
COMMENT= BASIC language with traditional control structures
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c c++
USE_TOOLS+= bison flex gmake
SUBST_CLASSES+= fix-path
SUBST_STAGE.fix-path= pre-configure
SUBST_MESSAGE.fix-path= Fix hard coded paths for qt4
SUBST_FILES.fix-path= Makefile
SUBST_FILES.fix-path+= Makefile.Release
SUBST_SED.fix-path= -e 's,/usr/share,${PREFIX},g'
SUBST_SED.fix-path+= -e 's,/usr/bin/qmake,${QTDIR}/bin/qmake,'
SUBST_SED.fix-path+= -e 's,/usr/bin/moc-qt4,${QTDIR}/bin/moc,'
SUBST_SED.fix-path+= -e 's,/usr/bin/rcc,${QTDIR}/bin/rcc,'
SUBST_SED.fix-path+= -e 's,-I/usr/include/qt4,-I${QTDIR}/include,g'
SUBST_CLASSES+= fix-path2
SUBST_STAGE.fix-path2= pre-configure
SUBST_MESSAGE.fix-path2= Fix hard coded paths
SUBST_FILES.fix-path2+= BASIC256.pro
SUBST_SED.fix-path2= -e 's,/usr/share,${PREFIX}/share,g'
SUBST_SED.fix-path2+= -e 's,/usr/local,${PREFIX},g'
MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../audio/espeak/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

136
lang/basic256/PLIST Normal file
View File

@@ -0,0 +1,136 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/23 01:19:00 ryoon Exp $
bin/BASIC256
share/basic256/Examples/15puzzle.kbs
share/basic256/Examples/BASICtest1.kbs
share/basic256/Examples/arrays.kbs
share/basic256/Examples/ballaccel.kbs
share/basic256/Examples/ballanim.kbs
share/basic256/Examples/basic256_icon.kbs
share/basic256/Examples/card_suites.kbs
share/basic256/Examples/cards_deal5.kbs
share/basic256/Examples/checkerboard.kbs
share/basic256/Examples/collision.kbs
share/basic256/Examples/collision3.kbs
share/basic256/Examples/databasefoo.kbs
share/basic256/Examples/db_quote.kbs
share/basic256/Examples/dice/dice.kbs
share/basic256/Examples/dice/dicewood.wav
share/basic256/Examples/errortrapping.kbs
share/basic256/Examples/hangman.kbs
share/basic256/Examples/hello.kbs
share/basic256/Examples/imgload/animatedhelp.kbs
share/basic256/Examples/imgload/help.png
share/basic256/Examples/imgload/imgload.kbs
share/basic256/Examples/imgload/rotate.kbs
share/basic256/Examples/imgload/test.bmp
share/basic256/Examples/mandelbrot.kbs
share/basic256/Examples/mousedoodle.kbs
share/basic256/Examples/moving_squares.kbs
share/basic256/Examples/networking/netclient.kbs
share/basic256/Examples/networking/netgethomepage.kbs
share/basic256/Examples/networking/netgetmany.kbs
share/basic256/Examples/networking/netgoogle.kbs
share/basic256/Examples/networking/netserver.kbs
share/basic256/Examples/paddle.kbs
share/basic256/Examples/ping.kbs
share/basic256/Examples/plot.kbs
share/basic256/Examples/plot2.kbs
share/basic256/Examples/poly.kbs
share/basic256/Examples/polytest.kbs
share/basic256/Examples/quotations.kbs
share/basic256/Examples/rainbow.kbs
share/basic256/Examples/ring_01.kbs
share/basic256/Examples/rotating3dcube.kbs
share/basic256/Examples/sliceanimation.kbs
share/basic256/Examples/snowflakes.kbs
share/basic256/Examples/sprites/3062__SpeedY__bleep.wav
share/basic256/Examples/sprites/4359__NoiseCollector__PongBlipF4.wav
share/basic256/Examples/sprites/4361__NoiseCollector__pongblipA_3.wav
share/basic256/Examples/sprites/ball.png
share/basic256/Examples/sprites/block.png
share/basic256/Examples/sprites/bounce.kbs
share/basic256/Examples/sprites/breakout.kbs
share/basic256/Examples/sprites/help.png
share/basic256/Examples/sprites/paddle.png
share/basic256/Examples/sprites/spriteslice.kbs
share/basic256/Examples/sprites/spritetest1.kbs
share/basic256/Examples/sprites/spritetest2.kbs
share/basic256/Examples/sprites/spritetest3.kbs
share/basic256/Examples/sprites/test.bmp
share/basic256/Examples/sqrt.kbs
share/basic256/Examples/stamp.kbs
share/basic256/Examples/stamp_flower.kbs
share/basic256/Examples/story.kbs
share/basic256/Examples/testing/2darraytest.kbs
share/basic256/Examples/testing/2dstrarraytest.kbs
share/basic256/Examples/testing/KalRGB.kbs
share/basic256/Examples/testing/arraylistassign.kbs
share/basic256/Examples/testing/beautifytest.kbs
share/basic256/Examples/testing/counttest.kbs
share/basic256/Examples/testing/explodetest.kbs
share/basic256/Examples/testing/fontdemo.kbs
share/basic256/Examples/testing/input_numeric_test.kbs
share/basic256/Examples/testing/input_string_test.kbs
share/basic256/Examples/testing/instrtest.kbs
share/basic256/Examples/testing/random_one.kbs
share/basic256/Examples/testing/replacetest.kbs
share/basic256/Examples/testing/tes_oo.kbs
share/basic256/Examples/testing/test_dountil.kbs
share/basic256/Examples/testing/test_logicalops.kbs
share/basic256/Examples/testing/test_multiline_if.kbs
share/basic256/Examples/testing/test_slice.kbs
share/basic256/Examples/testing/test_while_loops.kbs
share/basic256/Examples/testing/testchr.kbs
share/basic256/Examples/testing/testimagesave.kbs
share/basic256/Examples/testing/testlineio.kbs
share/basic256/Examples/testing/testmath.kbs
share/basic256/Examples/testing/testmodulo.kbs
share/basic256/Examples/testing/testtextfont.kbs
share/basic256/Examples/testing/testtime.kbs
share/basic256/Examples/testing/uaarray.kbs
share/basic256/Examples/tictactoe.kbs
share/basic256/Examples/tictactoe_comp.kbs
share/basic256/Examples/trig.kbs
share/basic256/Examples/uniformRV.kbs
share/basic256/basic256_de.qm
share/basic256/basic256_en_US.qm
share/basic256/basic256_es.qm
share/basic256/basic256_nl.qm
share/basic256/basic256_ru_RU.qm
share/basic256/help/de/fonttext.png
share/basic256/help/de/stamp.png
share/basic256/help/de/style.css
share/basic256/help/en/cir.png
share/basic256/help/en/color.png
share/basic256/help/en/cos.jpg
share/basic256/help/en/fonttext.png
share/basic256/help/en/line.png
share/basic256/help/en/poly.png
share/basic256/help/en/rect.png
share/basic256/help/en/sin.jpg
share/basic256/help/en/stamp.png
share/basic256/help/en/style.css
share/basic256/help/en/tan.jpg
share/basic256/help/es/cir.png
share/basic256/help/es/color.png
share/basic256/help/es/cos.jpg
share/basic256/help/es/fonttext.png
share/basic256/help/es/line.png
share/basic256/help/es/poly.png
share/basic256/help/es/rect.png
share/basic256/help/es/sin.jpg
share/basic256/help/es/stamp.png
share/basic256/help/es/style.css
share/basic256/help/es/tan.jpg
share/basic256/help/fr/cir.png
share/basic256/help/fr/color.png
share/basic256/help/fr/cos.jpg
share/basic256/help/fr/fonttext.png
share/basic256/help/fr/line.png
share/basic256/help/fr/poly.png
share/basic256/help/fr/rect.png
share/basic256/help/fr/sin.jpg
share/basic256/help/fr/stamp.png
share/basic256/help/fr/style.css
share/basic256/help/fr/tan.jpg
share/basic256/help/ru/style.css

7
lang/basic256/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2013/05/04 12:48:33 joerg Exp $
SHA1 (basic256_0.9.6.71.tgz) = 3a8ee26230d5b14b5f325c3b6e0db511534d785f
RMD160 (basic256_0.9.6.71.tgz) = 1edd4a2eb153eb9712f8b33e1ff2a64ebf1ba883
Size (basic256_0.9.6.71.tgz) = 7924162 bytes
SHA1 (patch-Interpreter.cpp) = 01800b5cd85f7c947b20ad803e04730839007ef0
SHA1 (patch-RunController.cpp) = 7716844575a393900b9cab1e61abd6b18cf5b138

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-Interpreter.cpp,v 1.1 2013/05/04 12:48:33 joerg Exp $
Avoid overlap with std::mutex.
--- Interpreter.cpp.orig 2013-05-04 00:26:28.000000000 +0000
+++ Interpreter.cpp
@@ -69,6 +69,8 @@ using namespace std;
QMutex keymutex;
int currentKey;
+#define mutex my_mutex
+
extern QMutex mutex;
extern QMutex debugmutex;
extern QWaitCondition waitCond;

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-RunController.cpp,v 1.1 2013/05/04 12:48:33 joerg Exp $
Avoid overlap with std::mutex.
--- RunController.cpp.orig 2013-05-04 00:27:12.000000000 +0000
+++ RunController.cpp
@@ -80,6 +80,7 @@ using namespace std;
#define SDL_CHAN_SOUND 2
#endif
+#define mutex my_mutex
QMutex mutex;
QMutex debugmutex;
QWaitCondition waitCond;

15
lang/boomerang/DESCR Normal file
View File

@@ -0,0 +1,15 @@
Boomerang is a programming language for writing lenses--well-behaved
bidirectional transformations--that operate on ad-hoc, textual data
formats. Every lens program, when read from left to right, describes
a function that maps an input to an output; when read from right
to left, the very same program describes a "backwards" function
that maps a modified output, together with the original input, back
to a modified input.
Lenses have been used to solve problems across a wide range of
areas in computing including: in data converters and synchronizers,
in parsers and pretty printers, in picklers and unpicklers, in
structure editors, in constraint maintainers for user interfaces,
in software model transformations, in schema evolution, in tools
for managing system configuration files, and in databases where
they provide updatable views.

49
lang/boomerang/Makefile Normal file
View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.4 2012/10/08 15:18:22 jaapb Exp $
#
DISTNAME= boomerang-0.2-source
PKGNAME= ${DISTNAME:S/-source//}
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.seas.upenn.edu/~harmony/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.seas.upenn.edu/~harmony/
COMMENT= Bidirectional programming language for ad-hoc, textual data
LICENSE= gnu-lgpl-v2.1
BUILD_DEPENDS+= omake-[0-9]*:../../devel/omake
# for pdflatex
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
BUILD_DEPENDS+= tex-pgf-[0-9]*:../../print/tex-pgf
BUILD_DEPENDS+= tex-ms-[0-9]*:../../print/tex-ms
BUILD_DEPENDS+= tex-amscls-[0-9]*:../../print/tex-amscls
BUILD_DEPENDS+= tex-preprint-[0-9]*:../../print/tex-preprint
BUILD_DEPENDS+= teTeX-texmf-[0-9]*:../../print/teTeX3-texmf
BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
WRKSRC= ${WRKDIR}/boomerang-20090902
USE_LANGUAGES= c
INSTALLATION_DIRS= bin share/doc/boomerang share/examples/boomerang/xsugar
INSTALLATION_DIRS+= share/examples/boomerang/units
do-build:
cd ${WRKSRC} && omake
do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} bin/boomerang ${DESTDIR}${PREFIX}/bin; \
${INSTALL_DATA} doc/main.pdf \
${DESTDIR}${PREFIX}/share/doc/boomerang; \
${INSTALL_DATA} examples/*.* \
${DESTDIR}${PREFIX}/share/examples/boomerang; \
${INSTALL_DATA} examples/OMakefile \
${DESTDIR}${PREFIX}/share/examples/boomerang; \
${INSTALL_DATA} examples/units/*.* \
${DESTDIR}${PREFIX}/share/examples/boomerang/units; \
${INSTALL_DATA} examples/xsugar/*.* \
${DESTDIR}${PREFIX}/share/examples/boomerang/xsugar
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

34
lang/boomerang/PLIST Normal file
View File

@@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/18 12:47:11 wiz Exp $
bin/boomerang
share/doc/boomerang/main.pdf
share/examples/boomerang/ISO8601.boom
share/examples/boomerang/OMakefile
share/examples/boomerang/OMakefile.omc
share/examples/boomerang/address.boom
share/examples/boomerang/alignment.src
share/examples/boomerang/bibtex.boom
share/examples/boomerang/conflin.boom
share/examples/boomerang/coqsplit.boom
share/examples/boomerang/demo.boom
share/examples/boomerang/escaping.boom
share/examples/boomerang/ffactor.boom
share/examples/boomerang/ical.boom
share/examples/boomerang/mkXml.boom
share/examples/boomerang/plist.boom
share/examples/boomerang/uniProtV2.boom
share/examples/boomerang/units/apply_contract.boom
share/examples/boomerang/units/diffy.boom
share/examples/boomerang/units/greedy.boom
share/examples/boomerang/units/poly.boom
share/examples/boomerang/units/setlike.boom
share/examples/boomerang/units/test_alias.boom
share/examples/boomerang/units/test_cex.boom
share/examples/boomerang/units/test_patsubst.boom
share/examples/boomerang/units/test_poly_coercion.boom
share/examples/boomerang/units/test_qmark.boom
share/examples/boomerang/units/uniRX.boom
share/examples/boomerang/units/units.boom
share/examples/boomerang/xml.boom
share/examples/boomerang/xsugar/bcard.boom
share/examples/boomerang/xsugar/nice.boom
share/examples/boomerang/xsugar/students.boom

5
lang/boomerang/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/12/18 12:47:11 wiz Exp $
SHA1 (boomerang-0.2-source.tar.gz) = 4c6ca181b6f306c398a1bf3a0b96a6653ee80f98
RMD160 (boomerang-0.2-source.tar.gz) = b0ebefa993fd8da041c9bb4b50da9eb378b218b3
Size (boomerang-0.2-source.tar.gz) = 950116 bytes

5
lang/brandybasic/DESCR Normal file
View File

@@ -0,0 +1,5 @@
Brandy implements Basic V, the dialect of Basic that Acorn Computers
supplied with their ranges of desktop computers that use the ARM
processor such as the Archimedes and RiscPC. Basic V is an extended
version of BBC Basic. This was the Basic used on the BBC Micro that
Acorn made during the early 1980s.

33
lang/brandybasic/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.18 2012/10/02 20:11:36 asau Exp $
#
DISTNAME= b116
PKGNAME= brandybasic-1.0.16
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://jaguar.orpheusweb.co.uk/
# http://jaguar.orpheusweb.co.uk/brandy_119.tgz
EXTRACT_SUFX= .tgz
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://jaguar.orpheusweb.co.uk/branpage.html
COMMENT= Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect
NOT_FOR_PLATFORM= SunOS-*-* # needs porting
WRKSRC= ${WRKDIR}/brandy-1.0.16
DOCDIR= share/doc/brandy
EXAMPLEDIR= share/examples/brandy
BUILD_TARGET= nodebug
USE_TOOLS+= gtar
INSTALLATION_DIRS= bin ${DOCDIR} ${EXAMPLEDIR}
do-install:
cd ${WRKSRC}/docs && ${GTAR} -cf - `ls |grep -v .orig` | \
(cd ${DESTDIR}${PREFIX}/${DOCDIR} && gtar xf -)
cd ${WRKSRC}/examples && ${GTAR} -cf - [a-z]* | \
(cd ${DESTDIR}${PREFIX}/${EXAMPLEDIR} && gtar xf -)
${INSTALL_PROGRAM} ${WRKSRC}/brandy ${DESTDIR}${PREFIX}/bin/brandy
.include "../../mk/bsd.pkg.mk"

27
lang/brandybasic/PLIST Normal file
View File

@@ -0,0 +1,27 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:03:28 joerg Exp $
bin/brandy
share/doc/brandy/COPYING
share/doc/brandy/README
share/doc/brandy/basic
share/doc/brandy/compiling
share/doc/brandy/graphics
share/doc/brandy/history
share/doc/brandy/internals
share/doc/brandy/messages
share/doc/brandy/use
share/examples/brandy/cmdline
share/examples/brandy/combsort
share/examples/brandy/cricket
share/examples/brandy/dow
share/examples/brandy/graphdemo
share/examples/brandy/hanoi
share/examples/brandy/hex
share/examples/brandy/lands
share/examples/brandy/pastriang
share/examples/brandy/sieve
share/examples/brandy/tekdemo1
share/examples/brandy/tekdemo2
share/examples/brandy/teklib
share/examples/brandy/trees1
share/examples/brandy/trees2
share/examples/brandy/tvtime

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.6 2007/06/30 18:31:52 joerg Exp $
SHA1 (b116.tgz) = 5c149c54f2d55bc16e1ccf84c811234c5b1d7285
RMD160 (b116.tgz) = 7cec7b35e2b5ce89b81e8e3f10d0db9838a8cbf5
Size (b116.tgz) = 381894 bytes
SHA1 (patch-aa) = a5b12fb2a0b7483bd0591d004c87642a394d4253

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-aa,v 1.3 2007/06/30 18:31:52 joerg Exp $
--- src/target.h.orig 2004-01-25 19:01:20.000000000 +0000
+++ src/target.h
@@ -66,6 +66,11 @@ typedef double float64; /* Type for 64
#define IDSTRING "Brandy Basic V Interpreter Version 1.0.16 (FreeBSD) 25/01/2004"
#endif
+#ifdef __DragonFly__
+#define TARGET_FREEBSD
+#define IDSTRING "Brandy Basic V Interpreter Version 1.0.16 (DragonFly) 25/01/2004"
+#endif
+
#ifdef __OpenBSD__
#define TARGET_OPENBSD
#define TARGET_UNIX

17
lang/bwbasic/DESCR Normal file
View File

@@ -0,0 +1,17 @@
The Bywater BASIC Interpreter (bwBASIC) implements a large superset
of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant
subset of the ANSI Standard for Full BASIC (X3.113-1987) in C. It also
offers shell programming facilities as an extension of BASIC. bwBASIC
seeks to be as portable as possible.
Originally written by Ted A. Campbell, and released under the GPL. It
was posted to comp.sources.misc, volume 40. It was hosted for a while at
ftp.eng.umd.edu.
Patched by Jon B. Volkoff.
Version 2.20 was released 25 November 1995
Patch 1: 15 March 1996
Patch 2: 11 October 1997
Patch 2 includes new files for UNIX ncurses interface, compliments of
L.C. Benschop, Eindhoven, The Netherlands.

Some files were not shown because too many files have changed in this diff Show More