Ignore:
Timestamp:
Jan 21, 2003, 1:45:54 AM (18 years ago)
Author:
mij
Message:
  • Destrootify
  • Whitespace cleanup
  • Add depends_lib on gettext
  • Move dlcompat to depends_lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/glib/Portfile

    r1661 r1796  
    55maintainers     eric@opendarwin.org
    66description     Library with data structure functions and other constructs
    7 long_description        General-purpose library from the GTK+ team, includes support routines for C such as lists, trees, hashes, memory allocation, and many other things.
    8 homepage    http://www.gtk.org/
     7homepage        http://www.gtk.org/
    98platforms       darwin freebsd
     9
     10long_description General-purpose library from the GTK+ team, includes \
     11                 support routines for C such as lists, trees, hashes, \
     12                 memory allocation, and many other things.
     13
    1014master_sites    ftp://ftp.gtk.org/pub/gtk/v1.2/ \
    1115                http://www.opendarwin.org/projects/darwinports/distfiles/:lt
     16
    1217set filename    ${portname}-${portversion}${extract.sufx}
    1318distfiles       ${filename} ltconfig13:lt ltmain13:lt
     
    1621                ltmain13 md5 e094ae92724c4015dbab97de151c2525
    1722extract.only    ${filename}
    18 pre-patch {     system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
    19                 system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
     23
     24depends_lib     lib:libdl.1:dlcompat lib:libintl.1:gettext
     25depends_build   bin:pkg-config:pkgconfig
     26
     27pre-patch       { system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
     28                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
     29
    2030patchfiles      patch-configure patch-config.guess patch-config.sub
    2131
    22 depends_build   lib:libdl.1:dlcompat bin:pkg-config:pkgconfig
    2332configure.env   LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
    2433configure.args  --disable-static
    2534
    2635post-install    { system "ln -sf libglib-1.2.0.0.10.dylib \
    27                   ${prefix}/lib/libglib.1.dylib"
     36                    ${destroot}${prefix}/lib/libglib.1.dylib"
    2837                  system "ln -sf libgmodule-1.2.0.0.10.dylib \
    29                   ${prefix}/lib/libgmodule.1.dylib"
     38                    ${destroot}${prefix}/lib/libgmodule.1.dylib"
    3039                  system "ln -sf libgthread-1.2.0.0.10.dylib \
    31                   ${prefix}/lib/libgthread.1.dylib" }
    32 
    33 contents        bin/glib-config \
    34                 include/glib-1.2/glib.h \
    35                 include/glib-1.2/gmodule.h \
    36                 include/glib-1.2 \
    37                 info/glib.info \
    38                 lib/glib/include/glibconfig.h \
    39                 lib/glib/include \
    40                 lib/glib \
    41                 lib/libglib.la \
    42                 lib/libglib-1.2.0.0.10.dylib \
    43                 lib/libglib-1.2.0.dylib \
    44                 lib/libglib.1.dylib \
    45                 lib/libglib.dylib \
    46                 lib/libgmodule.la \
    47                 lib/libgmodule-1.2.0.0.10.dylib \
    48                 lib/libgmodule-1.2.0.dylib \
    49                 lib/libgmodule.1.dylib \
    50                 lib/libgmodule.dylib \
    51                 lib/libgthread.la \
    52                 lib/libgthread-1.2.0.0.10.dylib \
    53                 lib/libgthread-1.2.0.dylib \
    54                 lib/libgthread.dylib \
    55                 lib/libgthread.1.dylib \
    56                 lib/pkgconfig/glib.pc \
    57                 lib/pkgconfig/gmodule.pc \
    58                 lib/pkgconfig/gthread.pc \
    59                 man/man1/glib-config.1 \
    60                 share/aclocal/glib.m4
     40                    ${destroot}${prefix}/lib/libgthread.1.dylib" }
Note: See TracChangeset for help on using the changeset viewer.