[57376] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Thu Sep 10 01:20:51 PDT 2009


Revision: 57376
          http://trac.macports.org/changeset/57376
Author:   ryandesign at macports.org
Date:     2009-09-10 01:20:50 -0700 (Thu, 10 Sep 2009)
Log Message:
-----------
hexdiff: new port, version 0.0.50; see #21226

Added Paths:
-----------
    trunk/dports/textproc/hexdiff/
    trunk/dports/textproc/hexdiff/Portfile
    trunk/dports/textproc/hexdiff/files/
    trunk/dports/textproc/hexdiff/files/patch-Makefile
    trunk/dports/textproc/hexdiff/files/patch-sel_file.c

Added: trunk/dports/textproc/hexdiff/Portfile
===================================================================
--- trunk/dports/textproc/hexdiff/Portfile	                        (rev 0)
+++ trunk/dports/textproc/hexdiff/Portfile	2009-09-10 08:20:50 UTC (rev 57376)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    hexdiff
+version                 0.0.50
+categories              textproc
+platforms               darwin
+maintainers             ryandesign
+
+homepage                http://tboudet.free.fr/hexdiff/
+master_sites            ${homepage}
+
+distname                ${name}
+dist_subdir             ${name}/${version}
+
+description
+
+long_description
+
+checksums               md5     68dbf4c610f4fd1817401bcf6c671b71 \
+                        sha1    a84948b1d8c26e5a8e14b1a2a6e18f4e05a69f2f \
+                        rmd160  8d8dfd719e1329b9f5ecc3df7fedcf83024baea9
+
+depends_lib             port:ncurses
+
+patchfiles              patch-Makefile \
+                        patch-sel_file.c
+
+use_configure           no
+
+build.args              COMP=${configure.cc} \
+                        CFLAGS=${configure.cflags} \
+                        CPPFLAGS=${configure.cppflags} \
+                        LDFLAGS=${configure.ldflags}
+
+destroot.args           OU_LE_METTRE=${destroot}${prefix}
+
+livecheck.type          regex
+livecheck.regex         ${name}.*\\.tar\[^>\]+>(\[0-9.\]+)


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

Added: trunk/dports/textproc/hexdiff/files/patch-Makefile
===================================================================
--- trunk/dports/textproc/hexdiff/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/textproc/hexdiff/files/patch-Makefile	2009-09-10 08:20:50 UTC (rev 57376)
@@ -0,0 +1,22 @@
+--- Makefile.orig	2007-07-28 19:59:45.000000000 -0500
++++ Makefile	2009-09-10 03:12:27.000000000 -0500
+@@ -18,8 +18,8 @@
+ #
+ 
+ COMP=gcc
+-COPT=-g -DVERSION=\"$(VERSION)\" -DTRACE=0  -ansi
+-LOPT=-lncurses 
++COPT=-g -DVERSION=\"$(VERSION)\" -DTRACE=0  -ansi $(CFLAGS) $(CPPFLAGS)
++LOPT=-lncurses $(LDFLAGS)
+ 
+ hexdiff.o:	hexdiff.c Makefile hexdiff.h
+ 	$(COMP) $(COPT) -Wall -O2 -c hexdiff.c
+@@ -53,7 +53,7 @@
+ 	strip hexdiff.install
+ 	cp hexdiff.install $(OU_LE_METTRE)/bin/hexdiff
+ 	rm hexdiff.install
+-	cp hexdiff.1 $(OU_LE_METTRE)/man/man1/hexdiff.1
++	cp hexdiff.1 $(OU_LE_METTRE)/share/man/man1/hexdiff.1
+ 	@echo "you can copy hexdiff.rc in your HOME as .hexdiffrc"
+ 
+ FILES=hexdiff.c hexdiff.1 Makefile README TODO BUGS fonctions.c CHANGES \

Added: trunk/dports/textproc/hexdiff/files/patch-sel_file.c
===================================================================
--- trunk/dports/textproc/hexdiff/files/patch-sel_file.c	                        (rev 0)
+++ trunk/dports/textproc/hexdiff/files/patch-sel_file.c	2009-09-10 08:20:50 UTC (rev 57376)
@@ -0,0 +1,12 @@
+--- sel_file.c.orig	2007-07-10 06:18:01.000000000 -0500
++++ sel_file.c	2009-09-10 02:25:51.000000000 -0500
+@@ -16,9 +16,6 @@
+ #include  <sys/stat.h>
+ #include  <unistd.h>
+ #include  <string.h>
+-/* nasty hack */
+-char *strdup(char *);
+-/* end of hack */
+ #include  <ctype.h>
+ #include  <dirent.h>
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090910/1f21c5fd/attachment.html>


More information about the macports-changes mailing list