Ticket #11980: gauche-c-wrapper.diff

File gauche-c-wrapper.diff, 2.3 KB (added by takanori@…, 17 years ago)
  • files/patch-Makefile.in

     
    1 --- Makefile.in 2006-06-14 08:51:18.000000000 +0900
    2 +++ Makefile.in.new     2006-06-14 08:51:30.000000000 +0900
    3 @@ -47,7 +47,7 @@
    4         cd src; $(MAKE) install
     1--- Makefile.in.orig    2007-01-06 18:12:18.000000000 +0900
     2+++ Makefile.in 2007-05-17 20:50:30.000000000 +0900
     3@@ -49,7 +49,7 @@
    54        cd lib; $(MAKE) install
     5        cd objc; $(MAKE) install
    66        cd doc; $(MAKE) install
    77-       $(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
    88+       $(INSTALL) -m 444 -T $(DESTDIR)$(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
    99 
    1010 uninstall :
    11         cd src; $(MAKE) uninstall
     11        cd objc; $(MAKE) uninstall
  • Portfile

     
    22
    33PortSystem 1.0
    44name            gauche-c-wrapper
    5 version         0.4.1
     5version         0.5.1
    66categories      lang scheme
    77maintainers     yuhei@pop21.odn.ne.jp
    88description     c-wrapper is a FFI (Foreign Function Interface) for Gauche.
    99long_description        c-wrapper is a FFI (Foreign Function Interface) for Gauche.
     10platforms       darwin
    1011homepage        http://homepage.mac.com/naoki.koguro/prog/c-wrapper/index.html
    1112master_sites    http://homepage.mac.com/naoki.koguro/prog/c-wrapper/
    1213distname        c-wrapper-$version
    1314extract.suffix  .tgz
    14 checksums       md5 fa829741eab77fa51cb257f9f9ae27af
    15 depends_build   bin:gosh:gauche
     15checksums       md5 033a8f2a0b7e6d1afbd0202baccbdddc
     16patchfiles      patch-Makefile.in
     17depends_lib     port:gauche
     18depends_build   port:boehmgc \
     19                port:texi2html
    1620
    17 patchfiles patch-Makefile.in
    18 
    1921post-destroot {
    20     xinstall -m 755 -d ${destroot}${prefix}/share/doc/gauche-c-wrapper
    21         xinstall -m 644 -W ${workpath}/${worksrcdir}/doc/ \
    22                 c-wrapper-refe_toc.html c-wrapper-refe.html \
    23                 c-wrapper-refj_toc.html c-wrapper-refj_toc.html \
    24                 ${destroot}${prefix}/share/doc/gauche-c-wrapper
    25     file copy ${workpath}/${worksrcdir}/examples \
    26                 ${destroot}${prefix}/share/doc/gauche-c-wrapper
     22    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     23    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${destroot}${prefix}/share/doc/${name}
     24    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
    2725}
    2826