[45138] trunk/dports/devel

blb at macports.org blb at macports.org
Thu Jan 8 17:41:56 PST 2009


Revision: 45138
          http://trac.macports.org/changeset/45138
Author:   blb at macports.org
Date:     2009-01-08 17:41:56 -0800 (Thu, 08 Jan 2009)
Log Message:
-----------
New port - devel/cunit, Unit testing library for C

Added Paths:
-----------
    trunk/dports/devel/cunit/
    trunk/dports/devel/cunit/Portfile
    trunk/dports/devel/cunit/files/
    trunk/dports/devel/cunit/files/patch-doc_Makefile.in.diff

Added: trunk/dports/devel/cunit/Portfile
===================================================================
--- trunk/dports/devel/cunit/Portfile	                        (rev 0)
+++ trunk/dports/devel/cunit/Portfile	2009-01-09 01:41:56 UTC (rev 45138)
@@ -0,0 +1,37 @@
+# $Id$
+
+PortSystem          1.0
+name                cunit
+version             2.1-0
+categories          devel
+maintainers         blb openmaintainer
+description         Unit testing library for C
+long_description \
+   CUnit is a lightweight system for writing, administering, and running \
+   unit tests in C.  It provides C programmers a basic testing functionality \
+   with a flexible variety of user interfaces.
+
+platforms           darwin
+
+homepage            http://cunit.sourceforge.net/
+master_sites        sourceforge
+distname            CUnit-${version}-src
+worksrcdir          [strsed ${distname} {s/-src$//}]
+
+checksums           md5     f4f53d2c41e9315a91b4f14a1706fe4f \
+                    sha1    05920c1defda3527cee3bc82fb9eadf45c5ea7a1 \
+                    rmd160  db3e8ea2294faae8301b597164f07fe482e877b5
+
+depends_lib         port:ncurses
+
+patchfiles          patch-doc_Makefile.in.diff
+
+configure.args      --enable-curses --enable-examples \
+                    --mandir=${prefix}/share/man
+
+post-destroot {
+   # For some reason CUnit has a headers/ subdir in doc/ which just repeats
+   # the headers already in include/ (plus Win.h which we don't need)
+   delete ${destroot}${prefix}/doc
+}
+


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

Added: trunk/dports/devel/cunit/files/patch-doc_Makefile.in.diff
===================================================================
--- trunk/dports/devel/cunit/files/patch-doc_Makefile.in.diff	                        (rev 0)
+++ trunk/dports/devel/cunit/files/patch-doc_Makefile.in.diff	2009-01-09 01:41:56 UTC (rev 45138)
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig	2006-03-22 03:57:16.000000000 -0700
++++ doc/Makefile.in	2009-01-08 18:34:38.000000000 -0700
+@@ -192,7 +192,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ doc_DATA = \
+ 	CUnit_doc.css \
+ 	error_handling.html \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090108/c9092c1d/attachment.html>


More information about the macports-changes mailing list