Ticket #13419: Portfile.diff
File Portfile.diff, 1.3 KB (added by ecronin (Eric Cronin), 17 years ago) |
---|
-
Portfile
old new 34 34 reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/bkb 35 35 reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/sub.c 36 36 reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/asn/Makefile 37 reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/asn/asn 37 reinplace "s|/usr/local/bin|${prefix}/bin/blackbag|g" ${worksrcpath}/asn/asn 38 reinplace "s|shift|#shift|g" ${worksrcpath}/asn/asn 38 39 reinplace "s|-I../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile 39 40 reinplace "s|-L../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile 40 41 reinplace "s|-g||g" ${worksrcpath}/common.mk … … 44 45 system "touch ${worksrcpath}/sub.macros" 45 46 } 46 47 48 post-build { 49 cd ${worksrcpath}/asn 50 system "${build.cmd}" 51 } 52 47 53 post-destroot { 54 cd ${worksrcpath}/asn 55 file rename asn asn1 56 system "${build.cmd} install ${build.target} DESTDIR=${destroot}" 48 57 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 49 58 xinstall -m 0644 ${worksrcpath}/README \ 50 59 ${destroot}${prefix}/share/doc/${name}/README 51 60 } 52 61 62 53 63 platform darwin 9 { 54 64 post-patch { 55 65 reinplace "s|setpgrp|setpgid|g" ${worksrcpath}/tsec.c