[22433] trunk/dports/math/ndiff
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 28 21:35:17 PST 2007
Revision: 22433
http://trac.macosforge.org/projects/macports/changeset/22433
Author: pipping at macports.org
Date: 2007-02-28 21:35:16 -0800 (Wed, 28 Feb 2007)
Log Message:
-----------
* add testsuite
Modified Paths:
--------------
trunk/dports/math/ndiff/Portfile
Added Paths:
-----------
trunk/dports/math/ndiff/files/patch-Makefile
Modified: trunk/dports/math/ndiff/Portfile
===================================================================
--- trunk/dports/math/ndiff/Portfile 2007-03-01 05:03:44 UTC (rev 22432)
+++ trunk/dports/math/ndiff/Portfile 2007-03-01 05:35:16 UTC (rev 22433)
@@ -22,4 +22,11 @@
patchfiles patch-Makefile.in
+pre-test {
+ cd ${worksrcpath}
+ system "patch -p0 < ${filespath}/patch-Makefile"
+}
+test.run yes
+test.target check
+
destroot.destdir prefix=${destroot}${prefix}
Added: trunk/dports/math/ndiff/files/patch-Makefile
===================================================================
--- trunk/dports/math/ndiff/files/patch-Makefile (rev 0)
+++ trunk/dports/math/ndiff/files/patch-Makefile 2007-03-01 05:35:16 UTC (rev 22433)
@@ -0,0 +1,10 @@
+--- Makefile.orig 2007-03-01 06:22:06.000000000 +0100
++++ Makefile 2007-03-01 06:20:30.000000000 +0100
+@@ -494,6 +494,7 @@
+ check-install-tmp:
+ @-$(MKDIR) $(TMPINSTDIR) $(TMPINSTDIR)/bin $(TMPINSTDIR)/man \
+ $(TMPINSTDIR)/man/man1 $(TMPINSTDIR)/share \
++ $(TMPINSTDIR)/share/man $(TMPINSTDIR)/share/man/man1 \
+ $(TMPINSTDIR)/share/lib $(TMPINSTDIR)/share/lib/$(PROGNAME)
+ @$(MAKE) install prefix=$(TMPINSTDIR) >/dev/null
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070228/38c7cdb6/attachment.html
More information about the macports-changes
mailing list