- Timestamp:
- 08/27/08 14:46:39 (3 months ago)
- Files:
-
- 1 modified
-
trunk/dports/graphics/dcraw/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/dcraw/Portfile
r39646 r39649 35 35 post-extract { 36 36 xinstall -W ${filespath} Makefile.in ${worksrcpath}/Makefile 37 xinstall -d ${worksrcpath}/build 37 38 # Move "install" script; it conflicts with the destroot phase ("make install") 38 39 move ${worksrcpath}/install ${worksrcpath}/install.sh … … 50 51 } 51 52 53 set my_locales {eo ru fr it de pt es zh_TW zh_CN nl pl hu ca cs sv} 54 55 post-build { 56 foreach locale ${my_locales} { 57 if {[file exist ${worksrcpath}/dcraw_${locale}.po]} { 58 system "msgfmt -o ${worksrcpath}/build/dcraw_${locale}.mo ${worksrcpath}/dcraw_${locale}.po" 59 } 60 } 61 } 62 52 63 post-destroot { 53 64 xinstall -m 644 -W ${worksrcpath} dcraw.1 ${destroot}${prefix}/share/man/man1 54 foreach l ang {eo ru fr it de pt es zh_TW zh_CN nl pl hu ca cs sv} {55 if {[file exist ${worksrcpath}/dcraw_${l ang}.1]} {56 xinstall -m 755 -d ${destroot}${prefix}/share/man/${l ang}/man157 xinstall -m 644 -W ${worksrcpath} dcraw_${l ang}.1 ${destroot}${prefix}/share/man/${lang}/man1/dcraw.165 foreach locale ${my_locales} { 66 if {[file exist ${worksrcpath}/dcraw_${locale}.1]} { 67 xinstall -m 755 -d ${destroot}${prefix}/share/man/${locale}/man1 68 xinstall -m 644 -W ${worksrcpath} dcraw_${locale}.1 ${destroot}${prefix}/share/man/${locale}/man1/dcraw.1 58 69 } 59 if {[file exist ${worksrcpath}/ dcraw_${lang}.po]} {60 xinstall -m 755 -d ${destroot}${prefix}/share/locale/${l ang}/LC_MESSAGES61 system "msgfmt -o ${destroot}${prefix}/share/locale/${lang}/LC_MESSAGES/dcraw.mo ${worksrcpath}/dcraw_${lang}.po"70 if {[file exist ${worksrcpath}/build/dcraw_${locale}.mo]} { 71 xinstall -m 755 -d ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES 72 xinstall -m 644 -W ${worksrcpath}/build dcraw_${locale}.mo ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES/dcraw.mo 62 73 } 63 74 }

