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
1PortSystem 1.0
2name            libfetch
3version         4.6.2-RELEASE
4categories      net
6description     FreeBSD file fetching library
7platforms       darwin
8use_bzip2       yes
10checksums       md5 81e390ad3bf8309f65c923a0c034e841
11patchfiles      patch-Makefile patch-http.c
12build.type      bsd
13worksrcdir      ${portname}
14configure       {}
15set libver      3
16build.env       LDADD=-install_name\\ ${prefix}/lib/libfetch.${libver}.dylib
17install         { cd ${workpath}/${worksrcdir}
18                  system "install -o root -m 755 -d ${destroot}${prefix}/lib"
19                  system "install -o root -m 644 -c libfetch.${libver}.dylib \
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"
25                  system "install -o root -m 644 -c fetch.3 \
26                  ${destroot}${prefix}/man/man3" }
Note: See TracBrowser for help on using the repository browser.