Ignore:
Timestamp:
Jan 15, 2009, 8:20:55 AM (12 years ago)
Author:
blb@…
Message:

emulators/spim - version update to 7.4, fixes tickets #15441 and #15454;
thanks to Steve Checkoway for the majority of work

Location:
trunk/dports/emulators/spim
Files:
2 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/spim/Portfile

    r45392 r45397  
    33PortSystem 1.0
    44name            spim
    5 version         7.1
     5version         7.4
    66categories      emulators devel lang x11
    77maintainers     nomaintainer
     
    2020        means that SPIM will not run programs compiled for recent MIPS or SGI \
    2121        processors.
    22 homepage        http://www.cs.wisc.edu/~larus/spim.html
     22homepage        http://pages.cs.wisc.edu/~larus/spim.html
    2323platforms       darwin
    2424
    25 master_sites    http://www.cs.wisc.edu/~larus/SPIM/
    26 distname        ${name}-${version}
    27 checksums       md5 24546da54bca92d96bf2ea284e81d6eb
     25master_sites    http://pages.cs.wisc.edu/~larus/SPIM
     26distname        ${name}
     27dist_subdir     ${name}/${version}
     28checksums       md5 5251ec442ef364ed8dede5dbda86fb47 \
     29                sha1 e929fc5c2e258818a2325b1378740b3dd68dd5b6 \
     30                rmd160 6fbce1b50fb669ec068ac7000b88a899d447dec0
    2831
    29 depends_lib     lib:libX11.6:XFree86
     32depends_lib     lib:libXaw:xorg-libXaw lib:libXp.6:xorg-libXp
     33
     34depends_build   port:rman port:flex port:bison bin:xmkmf:imake
    3035
    3136worksrcdir      ${name}-${version}
    3237
    33 patchfiles      patch-Configure patch-Makefile patch-spim.c
    34 post-patch {
    35         reinplace s|__PREFIX__|${prefix}| ${worksrcpath}/Makefile
     38patchfiles      patch-spim_Makefile.diff patch-xspim_Imakefile.diff
     39
     40configure {
     41        system "cd ${worksrcpath}/spim && ./Configure"
     42        system "cd ${worksrcpath}/xspim && xmkmf && ./Configure"
     43}
     44post-configure {
     45        reinplace {s|$(DESTDIR)$(MAN_DIR)/$(DOC_DIR)/xspim.$(MANSUFFIX)|$(DESTDIR)$(MAN_DIR)/xspim.$(MANSUFFIX)|} ${worksrcpath}/xspim/Makefile
    3646}
    3747
    38 configure.cmd   ./Configure
     48build {
     49        system "cd ${worksrcpath}/spim && make prefix=${prefix} spim"
     50        system "cd ${worksrcpath}/xspim && make prefix=${prefix} xspim"
     51}
    3952
    40 build.target    spim xspim
     53test {
     54        system "cd ${worksrcpath}/spim && make test"
     55}
    4156
    42 pre-destroot {
    43         xinstall -d ${destroot}${prefix}/share/spim
     57destroot {
     58        system "cd ${worksrcpath}/spim && make DESTDIR=${destroot} prefix=${prefix} install install-man"
     59        system "cd ${worksrcpath}/xspim && make DESTDIR=${destroot} prefix=${prefix} install install.man"
    4460}
    45 destroot.target install install.man
     61
Note: See TracChangeset for help on using the changeset viewer.