Revision: 32317 http://trac.macosforge.org/projects/macports/changeset/32317 Author: mww@macports.org Date: 2007-12-24 06:34:24 -0800 (Mon, 24 Dec 2007) Log Message: ----------- version 3.5c Modified Paths: -------------- trunk/dports/lang/4th/Portfile Added Paths: ----------- trunk/dports/lang/4th/files/ trunk/dports/lang/4th/files/configure trunk/dports/lang/4th/files/patch-Makefile.OSX Modified: trunk/dports/lang/4th/Portfile =================================================================== --- trunk/dports/lang/4th/Portfile 2007-12-24 14:19:20 UTC (rev 32316) +++ trunk/dports/lang/4th/Portfile 2007-12-24 14:34:24 UTC (rev 32317) @@ -3,7 +3,7 @@ PortSystem 1.0 name 4th -version 3.5b2 +version 3.5c categories lang platforms darwin maintainers mww @@ -18,19 +18,20 @@ homepage http://www.xs4all.nl/~thebeez/4tH/foldtree.html master_sites http://www.xs4all.nl/~thebeez/4tH/ distname ${distname}-unix -checksums sha1 ea7e87f3d31090abf3f6eadbd5ddfee739ddc92f +checksums sha1 58a05249bce1f62536eca1813466aeebc43e1aa0 +patchfiles patch-Makefile.OSX -use_configure no +worksrcdir ${worksrcdir}/sources -build.dir ${worksrcpath}/sources +post-extract { xinstall -m 755 ${filespath}/configure ${worksrcpath} } + build.args -f Makefile.OSX -destroot.dir ${build.dir} destroot.destdir LIBRARIES=${destroot}${prefix}/lib BINARIES=${destroot}${prefix}/bin post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc - file copy ${worksrcpath}/documentation ${destroot}${prefix}/share/doc/${name} - file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/ + file copy ${worksrcpath}/../documentation ${destroot}${prefix}/share/doc/${name} + file copy ${worksrcpath}/../examples ${destroot}${prefix}/share/doc/${name}/ file rename ${destroot}${prefix}/share/doc/4th/4th.1 \ ${destroot}${prefix}/share/man/man1/4th.1 } Added: trunk/dports/lang/4th/files/configure =================================================================== --- trunk/dports/lang/4th/files/configure (rev 0) +++ trunk/dports/lang/4th/files/configure 2007-12-24 14:34:24 UTC (rev 32317) @@ -0,0 +1,4 @@ +#!/bin/sh +echo "CC=${CC:-cc}" > flags +echo "CFLAGS=-DUNIX -fsigned-char -Wall ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" >> flags + Added: trunk/dports/lang/4th/files/patch-Makefile.OSX =================================================================== --- trunk/dports/lang/4th/files/patch-Makefile.OSX (rev 0) +++ trunk/dports/lang/4th/files/patch-Makefile.OSX 2007-12-24 14:34:24 UTC (rev 32317) @@ -0,0 +1,10 @@ +--- Makefile.OSX 2007-12-23 02:35:12.000000000 +0100 ++++ Makefile.OSX 2007-12-24 15:24:40.000000000 +0100 +@@ -20,6 +20,7 @@ + BINARIES=/usr/local/bin + CC=cc + CFLAGS= -DUNIX -fsigned-char -Wall -O3 ++include flags + + OBJ4TH = errs_4th.o save_4th.o load_4th.o free_4th.o comp_4th.o \ + name_4th.o dump_4th.o exec_4th.o open_4th.o cgen_4th.o