Changeset 40559 for trunk/dports
- Timestamp:
- Oct 6, 2008, 9:11:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/hsshellscript/Portfile
r30224 r40559 24 24 patchfiles patch-Makefile 25 25 26 configure { cd ${worksrcpath}26 configure { 27 27 set ghcversion [ exec ghc --version | sed "s|^.*version ||" ] 28 reinplace s|/usr/local/imports|${prefix}/lib/ghc-${ghcversion}/imports| Makefile29 reinplace s|/usr/local|${prefix}|g Makefile28 reinplace s|/usr/local/imports|${prefix}/lib/ghc-${ghcversion}/imports| ${worksrcpath}/Makefile 29 reinplace s|/usr/local|${prefix}|g ${worksrcpath}/Makefile 30 30 } 31 31 … … 34 34 post-destroot { system "ranlib ${destroot}${prefix}/lib/libhsshellscript.a" } 35 35 36 post-activate { cd ${worksrcpath}36 post-activate { 37 37 set ghcversion [ exec ghc --version | sed "s|^.*version ||" ] 38 system " DEST_IMPORTS=${prefix}/lib/ghc-${ghcversion}/imports/hsshellscript \38 system "cd ${worksrcpath} && DEST_IMPORTS=${prefix}/lib/ghc-${ghcversion}/imports/hsshellscript \ 39 39 DEST_LIB=${prefix}/lib \ 40 40 ghc-pkg -i lib/hsshellscript.pkg --update-package --auto-ghci-libs"
Note: See TracChangeset
for help on using the changeset viewer.