diff options
author | rene <rene@FreeBSD.org> | 2010-11-29 23:29:36 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2010-11-29 23:29:36 +0800 |
commit | cc16799ccfecccf3f73c848e645edbadce2419b8 (patch) | |
tree | 1ad6a007b6f57f53e6fad88b43c78104abd4caa6 /math/geometry | |
parent | c9b9b06009441a0b26ed278aa4fd0e1518950044 (diff) | |
download | freebsd-ports-gnome-cc16799ccfecccf3f73c848e645edbadce2419b8.tar.gz freebsd-ports-gnome-cc16799ccfecccf3f73c848e645edbadce2419b8.tar.zst freebsd-ports-gnome-cc16799ccfecccf3f73c848e645edbadce2419b8.zip |
- Use WRKSRC instead of WRKDIR in the MAKE environment to point to the
build directory
- No need to make scripts in */src/* executable
- Don't move libraries to PREFIX/lib but symlink them there, some Python
modules depend on the libraries in their original location
- Sort pkg-plist
- Bump PORTREVISION
Diffstat (limited to 'math/geometry')
-rw-r--r-- | math/geometry/Makefile | 18 | ||||
-rw-r--r-- | math/geometry/pkg-plist | 34 |
2 files changed, 32 insertions, 20 deletions
diff --git a/math/geometry/Makefile b/math/geometry/Makefile index c45a2c772db4..1cc54ac32f05 100644 --- a/math/geometry/Makefile +++ b/math/geometry/Makefile @@ -6,6 +6,7 @@ PORTNAME= geometry PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/ros/ DISTFILES= geometry-${PORTVERSION}.tar.bz2 bullet-2.76-patched2.tar.gz \ @@ -39,7 +40,7 @@ MAKE_ENV+= CPATH=${LOCALBASE}/include \ LIBRARY_PATH=${LOCALBASE}/lib \ MAKE=${LOCALBASE}/bin/gmake \ ROS_ROOT=${LOCALBASE}/ros/ros \ - ROS_PACKAGE_PATH=${LOCALBASE}/ros/stacks/common_msgs:${WRKDIR} \ + ROS_PACKAGE_PATH=${LOCALBASE}/ros/stacks/common_msgs:${WRKSRC} \ PYTHONPATH=${LOCALBASE}/ros/ros/core/roslib/src MAKE_ARGS= -i --no-rosdep --status-rate=0 --disable-logging @@ -62,12 +63,11 @@ do-install: ${REINPLACE_CMD} -E -e "s|${WRKSRC}|${PREFIX}/ros/stacks/${PORTNAME}|" \ ${WRKSRC}/kdl/lib/pkgconfig/orocos-kdl.pc ${INSTALL_DATA} ${WRKSRC}/kdl/lib/pkgconfig/orocos-kdl.pc ${PREFIX}/libdata/pkgconfig - ${RM} ${WRKSRC}/kdl/lib/pkgconfig/orocos-kdl.pc # delete files explicitly because negation in find (for COPYTREE_SHARE) is bogus .for d in angles bullet eigen eigen_conversions kdl tf tf_conversions ${FIND} ${WRKSRC}/${d} -name build -type d -or -name \*.bak -type f \ -or -name .svnignore -type f -or -name .cvsignore -type f \ - -or -name \*.orig | ${XARGS} ${RM} -rf + -or -name \*.orig -type f -or name \*.pc -type f | ${XARGS} ${RM} -rf (cd ${WRKSRC} ; ${COPYTREE_SHARE} ${d} ${PREFIX}/ros/stacks/${PORTNAME}) .endfor .for f in CMakeLists.txt Makefile stack.xml rosdep.yaml @@ -82,7 +82,7 @@ do-install: ${LOCALBASE}/bin/chrpath -d ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${CHMOD} 0555 ${PREFIX}/ros/stacks/${PORTNAME}/${f} .endfor -# strip and move ELF libaries +# strip and symlink ELF libaries .for f in bullet/lib/libBulletCollision.so.2.76 \ bullet/lib/libBulletDynamics.so.2.76 bullet/lib/libBulletSoftBody.so.2.76 \ bullet/lib/libLinearMath.so.2.76 \ @@ -91,18 +91,18 @@ do-install: tf/lib/libtf.so tf_conversions/lib/libtf_conversions.so ${STRIP_CMD} ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${LOCALBASE}/bin/chrpath -d ${PREFIX}/ros/stacks/${PORTNAME}/${f} - ${MV} ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${PREFIX}/lib + ${LN} -s ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${PREFIX}/lib .endfor -# move symbolic links +# symbolic links .for f in bullet/lib/libBulletCollision.so bullet/lib/libBulletDynamics.so \ bullet/lib/libBulletSoftBody.so bullet/lib/libLinearMath.so \ kdl/lib/liborocos-kdl.so kdl/lib/liborocos-kdl.so.1.0 - ${MV} ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${PREFIX}/lib + ${LN} -s ${PREFIX}/ros/stacks/${PORTNAME}/${f} ${PREFIX}/lib .endfor # make scripts executable .for f in tf/scripts/python_benchmark.py tf/scripts/reset_time.py \ - tf/scripts/tf_remap tf/scripts/view_frames tf/src/tf/msg/_tfMessage.py \ - tf/src/tf/srv/_FrameGraph.py tf/test/test_datatype_conversion.py + tf/scripts/tf_remap tf/scripts/view_frames \ + tf/test/test_datatype_conversion.py ${CHMOD} 0555 ${PREFIX}/ros/stacks/${PORTNAME}/${f} .endfor diff --git a/math/geometry/pkg-plist b/math/geometry/pkg-plist index 6df5ed1df225..7ed4f20dff97 100644 --- a/math/geometry/pkg-plist +++ b/math/geometry/pkg-plist @@ -219,6 +219,14 @@ ros/stacks/geometry/bullet/include/LinearMath/btVector3.h ros/stacks/geometry/bullet/include/btBulletCollisionCommon.h ros/stacks/geometry/bullet/include/btBulletDynamicsCommon.h ros/stacks/geometry/bullet/installed +ros/stacks/geometry/bullet/lib/libBulletCollision.so +ros/stacks/geometry/bullet/lib/libBulletCollision.so.2.76 +ros/stacks/geometry/bullet/lib/libBulletDynamics.so +ros/stacks/geometry/bullet/lib/libBulletDynamics.so.2.76 +ros/stacks/geometry/bullet/lib/libBulletSoftBody.so +ros/stacks/geometry/bullet/lib/libBulletSoftBody.so.2.76 +ros/stacks/geometry/bullet/lib/libLinearMath.so +ros/stacks/geometry/bullet/lib/libLinearMath.so.2.76 ros/stacks/geometry/bullet/manifest.xml ros/stacks/geometry/bullet/no_extras_build.patch ros/stacks/geometry/bullet/quaternion.patch @@ -375,6 +383,7 @@ ros/stacks/geometry/eigen_conversions/Makefile ros/stacks/geometry/eigen_conversions/ROS_NOBUILD ros/stacks/geometry/eigen_conversions/include/eigen_conversions/eigen_kdl.h ros/stacks/geometry/eigen_conversions/include/eigen_conversions/eigen_msg.h +ros/stacks/geometry/eigen_conversions/lib/libeigen_conversions.so ros/stacks/geometry/eigen_conversions/mainpage.dox ros/stacks/geometry/eigen_conversions/manifest.xml ros/stacks/geometry/eigen_conversions/src/eigen_kdl.cpp @@ -462,6 +471,10 @@ ros/stacks/geometry/kdl/include/kdl/velocityprofile_trap.hpp ros/stacks/geometry/kdl/include/kdl/velocityprofile_traphalf.hpp ros/stacks/geometry/kdl/index.rst ros/stacks/geometry/kdl/installed +ros/stacks/geometry/kdl/lib/PyKDL.so +ros/stacks/geometry/kdl/lib/liborocos-kdl.so +ros/stacks/geometry/kdl/lib/liborocos-kdl.so.1.0 +ros/stacks/geometry/kdl/lib/liborocos-kdl.so.1.0.99 ros/stacks/geometry/kdl/kdl-31715.tar.gz.md5sum ros/stacks/geometry/kdl/kinematic_chains.rst ros/stacks/geometry/kdl/kinematic_solvers.rst @@ -490,6 +503,8 @@ ros/stacks/geometry/tf/include/tf/transform_broadcaster.h ros/stacks/geometry/tf/include/tf/transform_datatypes.h ros/stacks/geometry/tf/include/tf/transform_listener.h ros/stacks/geometry/tf/index.rst +ros/stacks/geometry/tf/lib/_tf.so +ros/stacks/geometry/tf/lib/libtf.so ros/stacks/geometry/tf/mainpage.dox ros/stacks/geometry/tf/manifest.xml ros/stacks/geometry/tf/msg/lisp/tf/.tfMessage.asd-dep @@ -566,6 +581,7 @@ ros/stacks/geometry/tf_conversions/include/tf_conversions/mainpage.dox ros/stacks/geometry/tf_conversions/include/tf_conversions/tf_eigen.h ros/stacks/geometry/tf_conversions/include/tf_conversions/tf_kdl.h ros/stacks/geometry/tf_conversions/index.rst +ros/stacks/geometry/tf_conversions/lib/libtf_conversions.so ros/stacks/geometry/tf_conversions/manifest.xml ros/stacks/geometry/tf_conversions/rosdoc.yaml ros/stacks/geometry/tf_conversions/src/tf_conversions/__init__.py @@ -580,6 +596,7 @@ ros/stacks/geometry/tf_conversions/test/test_eigen_tf.cpp @dirrm ros/stacks/geometry/tf_conversions/lib @dirrm ros/stacks/geometry/tf_conversions/include/tf_conversions @dirrm ros/stacks/geometry/tf_conversions/include +@exec mkdir -p %D/ros/stacks/geometry/tf_conversions/bin @dirrm ros/stacks/geometry/tf_conversions/bin @dirrm ros/stacks/geometry/tf_conversions @dirrm ros/stacks/geometry/tf/test @@ -609,9 +626,11 @@ ros/stacks/geometry/tf_conversions/test/test_eigen_tf.cpp @dirrm ros/stacks/geometry/tf/bin @dirrm ros/stacks/geometry/tf @dirrm ros/stacks/geometry/kdl/share/orocos-kdl +@exec mkdir -p %D/ros/stacks/geometry/kdl/share/doc/liborocos-kdl @dirrm ros/stacks/geometry/kdl/share/doc/liborocos-kdl @dirrm ros/stacks/geometry/kdl/share/doc @dirrm ros/stacks/geometry/kdl/share +@exec mkdir -p %D/ros/stacks/geometry/kdl/lib/pkgconfig @dirrm ros/stacks/geometry/kdl/lib/pkgconfig @dirrm ros/stacks/geometry/kdl/lib @dirrm ros/stacks/geometry/kdl/include/kdl/utilities @@ -622,6 +641,7 @@ ros/stacks/geometry/tf_conversions/test/test_eigen_tf.cpp @dirrm ros/stacks/geometry/eigen_conversions/lib @dirrm ros/stacks/geometry/eigen_conversions/include/eigen_conversions @dirrm ros/stacks/geometry/eigen_conversions/include +@exec mkdir -p %D/ros/stacks/geometry/eigen_conversions/bin @dirrm ros/stacks/geometry/eigen_conversions/bin @dirrm ros/stacks/geometry/eigen_conversions @dirrm ros/stacks/geometry/eigen/include/Eigen/src/Sparse @@ -642,6 +662,7 @@ ros/stacks/geometry/tf_conversions/test/test_eigen_tf.cpp @dirrm ros/stacks/geometry/eigen/include @dirrm ros/stacks/geometry/eigen @dirrm ros/stacks/geometry/bullet/test +@exec mkdir -p %D/ros/stacks/geometry/bullet/src @dirrm ros/stacks/geometry/bullet/src @dirrm ros/stacks/geometry/bullet/lib @dirrm ros/stacks/geometry/bullet/include/LinearMath @@ -658,22 +679,13 @@ ros/stacks/geometry/tf_conversions/test/test_eigen_tf.cpp @dirrm ros/stacks/geometry/bullet/include/BulletCollision/BroadphaseCollision @dirrm ros/stacks/geometry/bullet/include/BulletCollision @dirrm ros/stacks/geometry/bullet/include +@exec mkdir -p %D/ros/stacks/geometry/bullet/bin @dirrm ros/stacks/geometry/bullet/bin @dirrm ros/stacks/geometry/bullet @dirrm ros/stacks/geometry/angles/test @dirrm ros/stacks/geometry/angles/include/angles @dirrm ros/stacks/geometry/angles/include +@exec mkdir -p %D/ros/stacks/geometry/angles/bin @dirrm ros/stacks/geometry/angles/bin @dirrm ros/stacks/geometry/angles @dirrm ros/stacks/geometry -@exec mkdir -p %D/ros/stacks/geometry/tf_conversions/lib -@exec mkdir -p %D/ros/stacks/geometry/tf_conversions/bin -@exec mkdir -p %D/ros/stacks/geometry/tf/lib -@exec mkdir -p %D/ros/stacks/geometry/kdl/share/doc/liborocos-kdl -@exec mkdir -p %D/ros/stacks/geometry/kdl/lib/pkgconfig -@exec mkdir -p %D/ros/stacks/geometry/eigen_conversions/lib -@exec mkdir -p %D/ros/stacks/geometry/eigen_conversions/bin -@exec mkdir -p %D/ros/stacks/geometry/bullet/src -@exec mkdir -p %D/ros/stacks/geometry/bullet/lib -@exec mkdir -p %D/ros/stacks/geometry/bullet/bin -@exec mkdir -p %D/ros/stacks/geometry/angles/bin |