Skip to content
Permalink
Browse files

destroot

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1942 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Feb 2, 2003
1 parent 46db40c commit 6c726c6570487d0c553cc589b951341a7142e292
Showing with 11 additions and 17 deletions.
  1. +4 −6 net/fetch/Portfile
  2. +7 −11 net/libfetch/Portfile
@@ -15,11 +15,9 @@ build.type bsd
build.args CFLAGS+=-I${prefix}/include LDADD+=-L${prefix}/lib\\ -lfetch

install { cd ${workpath}/${worksrcdir}
system "install -o root -m 755 -d ${prefix}/bin"
system "install -o root -m 555 fetch ${prefix}/bin"
system "install -o root -m 755 -d ${prefix}/man/man1"
system "install -o root -m 755 -d ${destroot}${prefix}/bin"
system "install -o root -m 555 fetch ${destroot}${prefix}/bin"
system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
system "install -o root -m 644 -c fetch.1 \
${prefix}/man/man1" }
${destroot}${prefix}/man/man1" }

contents bin/fetch \
man/man1/fetch.1
@@ -15,17 +15,13 @@ configure {}
set libver 3
build.env LDADD=-install_name\\ ${prefix}/lib/libfetch.${libver}.dylib
install { cd ${workpath}/${worksrcdir}
system "install -o root -m 755 -d ${prefix}/lib"
system "install -o root -m 755 -d ${destroot}${prefix}/lib"
system "install -o root -m 644 -c libfetch.${libver}.dylib \
${prefix}/lib"
system "ln -sf libfetch.3.dylib ${prefix}/lib/libfetch.dylib"
system "install -o root -m 755 -d ${prefix}/include"
system "install -o root -m 644 -c fetch.h ${prefix}/include"
system "install -o root -m 755 -d ${prefix}/man/man3"
${destroot}${prefix}/lib"
system "ln -sf libfetch.3.dylib ${destroot}${prefix}/lib/libfetch.dylib"
system "install -o root -m 755 -d ${destroot}${prefix}/include"
system "install -o root -m 644 -c fetch.h ${destroot}${prefix}/include"
system "install -o root -m 755 -d ${destroot}${prefix}/man/man3"
system "install -o root -m 644 -c fetch.3 \
${prefix}/man/man3" }
${destroot}${prefix}/man/man3" }

contents lib/libfetch.dylib \
lib/libfetch.3.dylib \
include/fetch.h \
man/man3/fetch.3

0 comments on commit 6c726c6

Please sign in to comment.
You can’t perform that action at this time.