[40419] trunk/dports/devel
kimuraw at macports.org
kimuraw at macports.org
Wed Oct 1 06:29:37 PDT 2008
Revision: 40419
http://trac.macports.org/changeset/40419
Author: kimuraw at macports.org
Date: 2008-10-01 06:29:36 -0700 (Wed, 01 Oct 2008)
Log Message:
-----------
devel/lcov: New Port lcov-1.6.0
LCOV is a graphical front-end for GCC's coverage testing tool gcov.
Added Paths:
-----------
trunk/dports/devel/lcov/
trunk/dports/devel/lcov/Portfile
trunk/dports/devel/lcov/files/
trunk/dports/devel/lcov/files/patch-Makefile.diff
trunk/dports/devel/lcov/files/patch-bin-install.sh.diff
Added: trunk/dports/devel/lcov/Portfile
===================================================================
--- trunk/dports/devel/lcov/Portfile (rev 0)
+++ trunk/dports/devel/lcov/Portfile 2008-10-01 13:29:36 UTC (rev 40419)
@@ -0,0 +1,49 @@
+# $Id$
+
+PortSystem 1.0
+
+name lcov
+version 1.6
+categories devel
+maintainers kimuraw
+description \
+ LCOV is a graphical front-end for GCC's coverage testing tool gcov.
+long_description \
+ LCOV is a graphical front-end for GCC's coverage testing tool gcov. \
+ It collects gcov data for multiple source files and creates HTML \
+ pages containing the source code annotated with coverage information. \
+ It also adds overview pages for easy navigation within the file \
+ structure.
+
+homepage http://ltp.sourceforge.net/coverage/lcov.php
+platforms darwin
+master_sites sourceforge:ltp
+patchfiles patch-Makefile.diff \
+ patch-bin-install.sh.diff
+use_configure no
+build {}
+destroot.env PREFIX=${destroot}${prefix}
+post-destroot {
+ # install docs and examples
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 \
+ ${worksrcpath}/README \
+ ${worksrcpath}/CHANGES \
+ ${destroot}${prefix}/share/doc/${name}
+ foreach subdir { example example/methods } {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir}
+ eval xinstall -m 644 [glob -type f ${worksrcpath}/${subdir}/*] \
+ ${destroot}${prefix}/share/doc/${name}/${subdir}
+ }
+ # modify the location of etc/lcovrc
+ reinplace "s|/etc/lcovrc|${prefix}/etc/lcovrc|" \
+ ${destroot}${prefix}/bin/gendesc \
+ ${destroot}${prefix}/bin/genhtml \
+ ${destroot}${prefix}/bin/geninfo \
+ ${destroot}${prefix}/bin/genpng \
+ ${destroot}${prefix}/bin/lcov
+}
+checksums md5 dd3efb076efd812c32285815f12a2935 \
+ rmd160 a598496e3da131a7969b9347a9227d9fd1b12766 \
+ sha1 bd986a2ed61fea2c241b484987a7b7711c5c4c74
+
Property changes on: trunk/dports/devel/lcov/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/lcov/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/lcov/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/devel/lcov/files/patch-Makefile.diff 2008-10-01 13:29:36 UTC (rev 40419)
@@ -0,0 +1,13 @@
+--- Makefile.orig 2007-08-20 19:34:50.000000000 +0900
++++ Makefile 2008-06-15 00:21:41.000000000 +0900
+@@ -16,8 +16,8 @@
+ DATE := $(shell date +%Y-%m-%d)
+
+ CFG_DIR := $(PREFIX)/etc
+-BIN_DIR := $(PREFIX)/usr/bin
+-MAN_DIR := $(PREFIX)/usr/share/man
++BIN_DIR := $(PREFIX)/bin
++MAN_DIR := $(PREFIX)/share/man
+ TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$)
+ FILES := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \
+ $(wildcard rpm/*) lcovrc
Added: trunk/dports/devel/lcov/files/patch-bin-install.sh.diff
===================================================================
--- trunk/dports/devel/lcov/files/patch-bin-install.sh.diff (rev 0)
+++ trunk/dports/devel/lcov/files/patch-bin-install.sh.diff 2008-10-01 13:29:36 UTC (rev 40419)
@@ -0,0 +1,13 @@
+--- bin/install.sh.orig 2007-08-20 19:34:50.000000000 +0900
++++ bin/install.sh 2008-10-01 00:36:10.000000000 +0900
+@@ -31,7 +31,9 @@
+ local SOURCE=$1
+ local TARGET=$2
+
+- install -D $SOURCE $TARGET
++ # "install -D" is not available MacOSX install(1),
++ # but all of subdirectories are prepared into destroot (bin, man and etc)
++ install $SOURCE $TARGET
+ }
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081001/00c96ea1/attachment-0001.html
More information about the macports-changes
mailing list