source: trunk/dports/net/libfetch/Portfile @ 1942

Last change on this file since 1942 was 1942, checked in by michaelm, 18 years ago


  • Property svn:eol-style set to native
File size: 1.0 KB
[850]1PortSystem 1.0
[960]2name            libfetch
3version         4.6.2-RELEASE
[235]4categories      net
[999]6description     FreeBSD file fetching library
[960]7platforms       darwin
[1003]8use_bzip2       yes
[1003]10checksums       md5 81e390ad3bf8309f65c923a0c034e841
[235]11patchfiles      patch-Makefile patch-http.c
[948]12build.type      bsd
[235]13worksrcdir      ${portname}
14configure       {}
[870]15set libver      3
[948]16build.env       LDADD=-install_name\\ ${prefix}/lib/libfetch.${libver}.dylib
[551]17install         { cd ${workpath}/${worksrcdir}
[1942]18                  system "install -o root -m 755 -d ${destroot}${prefix}/lib"
[870]19                  system "install -o root -m 644 -c libfetch.${libver}.dylib \
[1942]20                  ${destroot}${prefix}/lib"
21                  system "ln -sf libfetch.3.dylib ${destroot}${prefix}/lib/libfetch.dylib"
22                  system "install -o root -m 755 -d ${destroot}${prefix}/include"
23                  system "install -o root -m 644 -c fetch.h ${destroot}${prefix}/include"
24                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man3"
[551]25                  system "install -o root -m 644 -c fetch.3 \
[1942]26                  ${destroot}${prefix}/man/man3" }
Note: See TracBrowser for help on using the repository browser.