Skip to content
Permalink
Browse files

removed requirement for root to install

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2120 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Mar 2, 2003
1 parent 2921dfa commit 50e2182c139217c751480f05aae188c95928f389
Showing with 5 additions and 5 deletions.
  1. +5 −5 graphics/gd/Portfile
@@ -29,14 +29,14 @@ post-build { cd ${worksrcpath}
-current_version ${libver} -all_load libgd.a -L${prefix}/lib -lpng -lz -ljpeg" }

install.args PREFIX=${destroot}/${prefix}
pre-install { system "install -o root -m 755 -d ${destroot}/${prefix}/bin"
system "install -o root -m 755 -d ${destroot}/${prefix}/man/man1"
system "install -o root -m 755 -d ${destroot}/${prefix}/include"
system "install -o root -m 755 -d ${destroot}/${prefix}/lib" }
pre-install { system "install -d ${destroot}/${prefix}/bin"
system "install -d ${destroot}/${prefix}/man/man1"
system "install -d ${destroot}/${prefix}/include"
system "install -d ${destroot}/${prefix}/lib" }


post-install { system "rm ${destroot}/${prefix}/lib/libgd.a"
system "install -o root -m 755 ${worksrcpath}/libgd.${libver}.dylib \
system "install ${worksrcpath}/libgd.${libver}.dylib \
${destroot}/${prefix}/lib/libgd.${libver}.dylib" }


0 comments on commit 50e2182

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