summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-05-06 08:23:22 +0000
committerryoon <ryoon@pkgsrc.org>2012-05-06 08:23:22 +0000
commit42ec7f9ccc0dbdeca51096a69797554fe8851fb4 (patch)
tree0c9b13e1a2207f38e5e686aa067b42c1d278ff83 /graphics
parent6872e2da009d5c9856959e1289cb30f3514a82a5 (diff)
downloadpkgsrc-42ec7f9ccc0dbdeca51096a69797554fe8851fb4.tar.gz
Import glm-0.9.3.2 as graphics/glm.
OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glm/DESCR3
-rw-r--r--graphics/glm/Makefile38
-rw-r--r--graphics/glm/PLIST223
-rw-r--r--graphics/glm/buildlink3.mk14
-rw-r--r--graphics/glm/distinfo5
5 files changed, 283 insertions, 0 deletions
diff --git a/graphics/glm/DESCR b/graphics/glm/DESCR
new file mode 100644
index 00000000000..e73309a26b6
--- /dev/null
+++ b/graphics/glm/DESCR
@@ -0,0 +1,3 @@
+OpenGL Mathematics (GLM) is a header only C++ mathematics library
+for graphics software based on the OpenGL Shading Language (GLSL)
+specification.
diff --git a/graphics/glm/Makefile b/graphics/glm/Makefile
new file mode 100644
index 00000000000..692e20a2c40
--- /dev/null
+++ b/graphics/glm/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/06 08:23:22 ryoon Exp $
+#
+
+DISTNAME= glm-0.9.3.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogl-math/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://glm.g-truc.net/
+COMMENT= C++ mathematics library for graphics programming
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+USE_TOOLS+= pax
+
+GLM_DIR= include/glm
+INSTALLATION_DIRS= ${GLM_DIR}
+
+do-install:
+ ${RUN}cd ${WRKSRC}/glm && \
+ ${CHMOD} 644 *hpp core/* gtc/* gtx/* virtrev/*
+ ${RUN}cd ${WRKSRC}/glm && \
+ pax -rw *hpp core gtc gtx virtrev \
+ ${DESTDIR}${PREFIX}/${GLM_DIR}
+
+# for test target
+USE_LANGUAGES= c c++
+do-test:
+ ${RUN}cd ${WRKSRC} && \
+ cmake -DGLM_TEST_MODE=ON CMakeLists.txt && \
+ make
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/glm/PLIST b/graphics/glm/PLIST
new file mode 100644
index 00000000000..322e6147ba3
--- /dev/null
+++ b/graphics/glm/PLIST
@@ -0,0 +1,223 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/06 08:23:22 ryoon Exp $
+include/glm/core/_detail.hpp
+include/glm/core/_fixes.hpp
+include/glm/core/_swizzle.hpp
+include/glm/core/_swizzle_func.hpp
+include/glm/core/_vectorize.hpp
+include/glm/core/dummy.cpp
+include/glm/core/func_common.hpp
+include/glm/core/func_common.inl
+include/glm/core/func_exponential.hpp
+include/glm/core/func_exponential.inl
+include/glm/core/func_geometric.hpp
+include/glm/core/func_geometric.inl
+include/glm/core/func_integer.hpp
+include/glm/core/func_integer.inl
+include/glm/core/func_matrix.hpp
+include/glm/core/func_matrix.inl
+include/glm/core/func_noise.hpp
+include/glm/core/func_noise.inl
+include/glm/core/func_packing.hpp
+include/glm/core/func_packing.inl
+include/glm/core/func_trigonometric.hpp
+include/glm/core/func_trigonometric.inl
+include/glm/core/func_vector_relational.hpp
+include/glm/core/func_vector_relational.inl
+include/glm/core/hint.hpp
+include/glm/core/intrinsic_common.hpp
+include/glm/core/intrinsic_common.inl
+include/glm/core/intrinsic_exponential.hpp
+include/glm/core/intrinsic_exponential.inl
+include/glm/core/intrinsic_geometric.hpp
+include/glm/core/intrinsic_geometric.inl
+include/glm/core/intrinsic_matrix.hpp
+include/glm/core/intrinsic_matrix.inl
+include/glm/core/intrinsic_trigonometric.hpp
+include/glm/core/intrinsic_trigonometric.inl
+include/glm/core/intrinsic_vector_relational.hpp
+include/glm/core/intrinsic_vector_relational.inl
+include/glm/core/setup.hpp
+include/glm/core/type.hpp
+include/glm/core/type_float.hpp
+include/glm/core/type_gentype.hpp
+include/glm/core/type_gentype.inl
+include/glm/core/type_half.hpp
+include/glm/core/type_half.inl
+include/glm/core/type_int.hpp
+include/glm/core/type_mat.hpp
+include/glm/core/type_mat.inl
+include/glm/core/type_mat2x2.hpp
+include/glm/core/type_mat2x2.inl
+include/glm/core/type_mat2x3.hpp
+include/glm/core/type_mat2x3.inl
+include/glm/core/type_mat2x4.hpp
+include/glm/core/type_mat2x4.inl
+include/glm/core/type_mat3x2.hpp
+include/glm/core/type_mat3x2.inl
+include/glm/core/type_mat3x3.hpp
+include/glm/core/type_mat3x3.inl
+include/glm/core/type_mat3x4.hpp
+include/glm/core/type_mat3x4.inl
+include/glm/core/type_mat4x2.hpp
+include/glm/core/type_mat4x2.inl
+include/glm/core/type_mat4x3.hpp
+include/glm/core/type_mat4x3.inl
+include/glm/core/type_mat4x4.hpp
+include/glm/core/type_mat4x4.inl
+include/glm/core/type_size.hpp
+include/glm/core/type_vec.hpp
+include/glm/core/type_vec.inl
+include/glm/core/type_vec1.hpp
+include/glm/core/type_vec1.inl
+include/glm/core/type_vec2.hpp
+include/glm/core/type_vec2.inl
+include/glm/core/type_vec3.hpp
+include/glm/core/type_vec3.inl
+include/glm/core/type_vec4.hpp
+include/glm/core/type_vec4.inl
+include/glm/ext.hpp
+include/glm/glm.hpp
+include/glm/gtc/half_float.hpp
+include/glm/gtc/half_float.inl
+include/glm/gtc/matrix_access.hpp
+include/glm/gtc/matrix_access.inl
+include/glm/gtc/matrix_integer.hpp
+include/glm/gtc/matrix_inverse.hpp
+include/glm/gtc/matrix_inverse.inl
+include/glm/gtc/matrix_transform.hpp
+include/glm/gtc/matrix_transform.inl
+include/glm/gtc/noise.hpp
+include/glm/gtc/noise.inl
+include/glm/gtc/quaternion.hpp
+include/glm/gtc/quaternion.inl
+include/glm/gtc/random.hpp
+include/glm/gtc/random.inl
+include/glm/gtc/swizzle.hpp
+include/glm/gtc/swizzle.inl
+include/glm/gtc/type_precision.hpp
+include/glm/gtc/type_precision.inl
+include/glm/gtc/type_ptr.hpp
+include/glm/gtc/type_ptr.inl
+include/glm/gtx/associated_min_max.hpp
+include/glm/gtx/associated_min_max.inl
+include/glm/gtx/bit.hpp
+include/glm/gtx/bit.inl
+include/glm/gtx/closest_point.hpp
+include/glm/gtx/closest_point.inl
+include/glm/gtx/color_cast.hpp
+include/glm/gtx/color_cast.inl
+include/glm/gtx/color_space.hpp
+include/glm/gtx/color_space.inl
+include/glm/gtx/color_space_YCoCg.hpp
+include/glm/gtx/color_space_YCoCg.inl
+include/glm/gtx/compatibility.hpp
+include/glm/gtx/compatibility.inl
+include/glm/gtx/component_wise.hpp
+include/glm/gtx/component_wise.inl
+include/glm/gtx/constants.hpp
+include/glm/gtx/constants.inl
+include/glm/gtx/epsilon.hpp
+include/glm/gtx/epsilon.inl
+include/glm/gtx/euler_angles.hpp
+include/glm/gtx/euler_angles.inl
+include/glm/gtx/extend.hpp
+include/glm/gtx/extend.inl
+include/glm/gtx/extented_min_max.hpp
+include/glm/gtx/extented_min_max.inl
+include/glm/gtx/fast_exponential.hpp
+include/glm/gtx/fast_exponential.inl
+include/glm/gtx/fast_square_root.hpp
+include/glm/gtx/fast_square_root.inl
+include/glm/gtx/fast_trigonometry.hpp
+include/glm/gtx/fast_trigonometry.inl
+include/glm/gtx/gradient_paint.hpp
+include/glm/gtx/gradient_paint.inl
+include/glm/gtx/handed_coordinate_space.hpp
+include/glm/gtx/handed_coordinate_space.inl
+include/glm/gtx/inertia.hpp
+include/glm/gtx/inertia.inl
+include/glm/gtx/int_10_10_10_2.hpp
+include/glm/gtx/int_10_10_10_2.inl
+include/glm/gtx/integer.hpp
+include/glm/gtx/integer.inl
+include/glm/gtx/intersect.hpp
+include/glm/gtx/intersect.inl
+include/glm/gtx/log_base.hpp
+include/glm/gtx/log_base.inl
+include/glm/gtx/matrix_cross_product.hpp
+include/glm/gtx/matrix_cross_product.inl
+include/glm/gtx/matrix_interpolation.hpp
+include/glm/gtx/matrix_interpolation.inl
+include/glm/gtx/matrix_major_storage.hpp
+include/glm/gtx/matrix_major_storage.inl
+include/glm/gtx/matrix_operation.hpp
+include/glm/gtx/matrix_operation.inl
+include/glm/gtx/matrix_query.hpp
+include/glm/gtx/matrix_query.inl
+include/glm/gtx/mixed_product.hpp
+include/glm/gtx/mixed_product.inl
+include/glm/gtx/multiple.hpp
+include/glm/gtx/multiple.inl
+include/glm/gtx/noise.hpp
+include/glm/gtx/noise.inl
+include/glm/gtx/norm.hpp
+include/glm/gtx/norm.inl
+include/glm/gtx/normal.hpp
+include/glm/gtx/normal.inl
+include/glm/gtx/normalize_dot.hpp
+include/glm/gtx/normalize_dot.inl
+include/glm/gtx/number_precision.hpp
+include/glm/gtx/number_precision.inl
+include/glm/gtx/ocl_type.hpp
+include/glm/gtx/ocl_type.inl
+include/glm/gtx/optimum_pow.hpp
+include/glm/gtx/optimum_pow.inl
+include/glm/gtx/orthonormalize.hpp
+include/glm/gtx/orthonormalize.inl
+include/glm/gtx/perpendicular.hpp
+include/glm/gtx/perpendicular.inl
+include/glm/gtx/polar_coordinates.hpp
+include/glm/gtx/polar_coordinates.inl
+include/glm/gtx/projection.hpp
+include/glm/gtx/projection.inl
+include/glm/gtx/quaternion.hpp
+include/glm/gtx/quaternion.inl
+include/glm/gtx/random.hpp
+include/glm/gtx/random.inl
+include/glm/gtx/raw_data.hpp
+include/glm/gtx/raw_data.inl
+include/glm/gtx/reciprocal.hpp
+include/glm/gtx/reciprocal.inl
+include/glm/gtx/rotate_vector.hpp
+include/glm/gtx/rotate_vector.inl
+include/glm/gtx/simd_mat4.hpp
+include/glm/gtx/simd_mat4.inl
+include/glm/gtx/simd_vec4.hpp
+include/glm/gtx/simd_vec4.inl
+include/glm/gtx/spline.hpp
+include/glm/gtx/spline.inl
+include/glm/gtx/std_based_type.hpp
+include/glm/gtx/std_based_type.inl
+include/glm/gtx/string_cast.hpp
+include/glm/gtx/string_cast.inl
+include/glm/gtx/transform.hpp
+include/glm/gtx/transform.inl
+include/glm/gtx/transform2.hpp
+include/glm/gtx/transform2.inl
+include/glm/gtx/ulp.hpp
+include/glm/gtx/ulp.inl
+include/glm/gtx/unsigned_int.hpp
+include/glm/gtx/unsigned_int.inl
+include/glm/gtx/vec1.hpp
+include/glm/gtx/vec1.inl
+include/glm/gtx/vector_access.hpp
+include/glm/gtx/vector_access.inl
+include/glm/gtx/vector_angle.hpp
+include/glm/gtx/vector_angle.inl
+include/glm/gtx/vector_query.hpp
+include/glm/gtx/vector_query.inl
+include/glm/gtx/verbose_operator.hpp
+include/glm/gtx/verbose_operator.inl
+include/glm/gtx/wrap.hpp
+include/glm/gtx/wrap.inl
+include/glm/virtrev/xstream.hpp
diff --git a/graphics/glm/buildlink3.mk b/graphics/glm/buildlink3.mk
new file mode 100644
index 00000000000..ee4dea232a4
--- /dev/null
+++ b/graphics/glm/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/05/06 08:23:22 ryoon Exp $
+
+BUILDLINK_TREE+= glm
+
+.if !defined(GLM_BUILDLINK3_MK)
+GLM_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.glm?= build
+
+BUILDLINK_API_DEPENDS.glm+= glm>=0.9.3.2
+BUILDLINK_PKGSRCDIR.glm?= ../../graphics/glm
+.endif # GLM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -glm
diff --git a/graphics/glm/distinfo b/graphics/glm/distinfo
new file mode 100644
index 00000000000..d1e45c48b91
--- /dev/null
+++ b/graphics/glm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/06 08:23:22 ryoon Exp $
+
+SHA1 (glm-0.9.3.2.zip) = 0378dd2f8a434b63e62c87d2ea4942d873d4f75f
+RMD160 (glm-0.9.3.2.zip) = 42f0a789b62dc4ef20782c539752cfe8ad7d9377
+Size (glm-0.9.3.2.zip) = 6451695 bytes