Changeset 40558 for trunk/dports
- Timestamp:
- Oct 6, 2008, 9:09:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/hs-plugins/Portfile
r32256 r40558 35 35 destroot.destdir PREFIX=${destroot}${prefix} 36 36 37 post-activate { cd ${worksrcpath}37 post-activate { 38 38 39 39 # start by unregistering old versions 40 40 41 system " ghc-pkg -r printf || true"42 system " ghc-pkg -r eval || true"43 system " ghc-pkg -r plugins || true"44 system " ghc-pkg -r hi || true"45 system " ghc-pkg -r altdata || true"41 system "cd ${worksrcpath} && ghc-pkg -r printf || true" 42 system "cd ${worksrcpath} && ghc-pkg -r eval || true" 43 system "cd ${worksrcpath} && ghc-pkg -r plugins || true" 44 system "cd ${worksrcpath} && ghc-pkg -r hi || true" 45 system "cd ${worksrcpath} && ghc-pkg -r altdata || true" 46 46 47 system " PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/altdata/altdata.conf.in"48 system " PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/hi/hi.conf.in"49 system " PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/plugins/plugins.conf.in"50 system " PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/eval/eval.conf.in"51 system " PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/printf/printf.conf.in"47 system "cd ${worksrcpath} && PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/altdata/altdata.conf.in" 48 system "cd ${worksrcpath} && PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/hi/hi.conf.in" 49 system "cd ${worksrcpath} && PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/plugins/plugins.conf.in" 50 system "cd ${worksrcpath} && PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/eval/eval.conf.in" 51 system "cd ${worksrcpath} && PREFIX=${prefix} LIBDIR=${prefix}/lib/${name} ghc-pkg -u < src/printf/printf.conf.in" 52 52 53 53 system "ranlib ${prefix}/lib/${name}/libHSplugins.a"
Note: See TracChangeset
for help on using the changeset viewer.