[62416] trunk/dports/graphics

stromnov at macports.org stromnov at macports.org
Thu Jan 7 01:49:22 PST 2010


Revision: 62416
          http://trac.macports.org/changeset/62416
Author:   stromnov at macports.org
Date:     2010-01-07 01:49:18 -0800 (Thu, 07 Jan 2010)
Log Message:
-----------
graphics/vlfeat: New port.

Added Paths:
-----------
    trunk/dports/graphics/vlfeat/
    trunk/dports/graphics/vlfeat/Portfile
    trunk/dports/graphics/vlfeat/files/
    trunk/dports/graphics/vlfeat/files/patch-Makefile.diff

Added: trunk/dports/graphics/vlfeat/Portfile
===================================================================
--- trunk/dports/graphics/vlfeat/Portfile	                        (rev 0)
+++ trunk/dports/graphics/vlfeat/Portfile	2010-01-07 09:49:18 UTC (rev 62416)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                vlfeat
+version             0.9.5
+categories          graphics devel
+platforms           darwin
+maintainers         stromnov openmaintainer
+description         Implementation of SIFT, MSER and other CV algorithms.
+
+long_description \
+    The VLFeat open source library implements popular computer vision \
+    algorithms including SIFT, MSER, k-means, hierarchical k-means, \
+    agglomerative information bottleneck, and quick shift.
+
+homepage            http://vlfeat.org/
+master_sites        http://vlfeat.org/download/
+worksrcdir          ${name}
+
+checksums           md5     43abe237f4f4b6956e978a8808dbed12 \
+                    sha1    1cefeedd0b5f56bf2bbb4f61a7d9d3c04116d70a \
+                    rmd160  de18bc57582759b420b7f749a4d091be96f5f257
+
+patchfiles          patch-Makefile.diff
+
+use_configure       no
+
+post-patch {
+    reinplace "s|@loader_path/|${prefix}/lib/|g" ${worksrcpath}/Makefile
+}
+
+destroot {
+    xinstall -m 755 -W ${worksrcpath}/bin/maci libvl.dylib ${destroot}${prefix}/lib
+    xinstall -m 755 -W ${worksrcpath}/bin/maci sift mser ${destroot}${prefix}/bin
+    xinstall -d -m 755 ${destroot}${prefix}/include/vl
+    foreach header [glob -directory ${worksrcpath}/vl *.h] {
+         xinstall -m 644 $header ${destroot}${prefix}/include/vl
+    }
+}
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"


Property changes on: trunk/dports/graphics/vlfeat/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/vlfeat/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/vlfeat/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/graphics/vlfeat/files/patch-Makefile.diff	2010-01-07 09:49:18 UTC (rev 62416)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2009-04-29 03:57:47.000000000 +0400
++++ Makefile	2009-10-22 17:19:19.000000000 +0400
+@@ -555,7 +555,7 @@
+ 
+ # Auto-deps
+ ifeq ($(filter doc clean distclean info, $(MAKECMDGOALS)),)
+-include $(dll_dep) $(bin_dep) $(mex_dep)
++include $(dll_dep) $(bin_dep)
+ endif
+ 
+ # Makefile for documentation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100107/42c1d507/attachment.html>


More information about the macports-changes mailing list