OSDN Git Service

devel/fmdiff add fmgitdiff
authorKazuki Sakamoto <sakamoto@splhack.org>
Fri, 5 Dec 2008 15:04:22 +0000 (00:04 +0900)
committerKazuki Sakamoto <sakamoto@splhack.org>
Fri, 5 Dec 2008 15:04:22 +0000 (00:04 +0900)
devel/fmdiff/Portfile
devel/fmdiff/files/fmgitdiff [new file with mode: 0644]

index 6e3cc4b..e9e93a3 100644 (file)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name            fmdiff
-version         7554
+version         7819
 revision        0
 categories      devel
 maintainers     nomaintainer@macports.org
@@ -27,6 +27,10 @@ patch {
     reinplace "s|DESTDIR=/usr/local|DESTDIR=${destroot}${prefix}|" ${worksrcpath}/Makefile
 }
 
+post-destroot {
+       xinstall -m 0755 ${filespath}/fmgitdiff ${destroot}${prefix}/bin
+}
+
 use_configure   no
 build {}
 destroot.destdir
diff --git a/devel/fmdiff/files/fmgitdiff b/devel/fmdiff/files/fmgitdiff
new file mode 100644 (file)
index 0000000..4405494
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+fmdiff "$2" "$1"