Ticket #47155: Portfile.diff
File Portfile.diff, 2.0 KB (added by stevecheckoway (Stephen Checkoway), 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup qt4 1.0 6 6 7 7 name djview 8 version 4.9 9 revision 1 8 version 4.10 10 9 categories aqua graphics www 11 10 license GPL-2+ MIT 12 11 maintainers nicos openmaintainer … … 19 18 looks nicer on a screen and consume less client resources than competing \ 20 19 formats. 21 20 22 homepage http://djvu.sourceforge.net/ 21 homepage http://djvu.sourceforge.net/djview4.html 23 22 24 23 master_sites sourceforge:djvu 25 24 26 #Patch to suppress use of translations in code, as English cannot be obtained 27 #otherwise (ticket #36210) 28 patchfiles patch-djview.cpp.diff 25 patchfiles patch-makefile-target-fix.diff \ 26 patch-makefile-qmake-workaround.diff 29 27 30 checksums rmd160 c0d6b33767096ee9f1aeee3f3bf82b0dc10b5b42 \ 31 sha256 d150f557aaa073356d77c1f5e566a6a566281df5f92395b6822139f0e5c90e0c 32 33 worksrcdir ${name}4-${version} 28 checksums rmd160 859dcdbfd43ecf7506786f5658ca12ce6041d83d \ 29 sha256 7caf7ee249edd994092b32a5573f111b2337ec99159083a5cf1a20432633ba7f 34 30 35 31 depends_lib-append \ 36 32 port:djvulibre … … 43 39 --disable-desktopfiles \ 44 40 QMAKESPEC=${qt_mkspecs_dir}/macx-g++ 45 41 46 # when Qt is installed without +universal, and qmake is called with47 # "QMAKE_LDFLAGS += -arch foo", and "foo" is the native arch, then, at48 # least sometimes, qmake will erroneously remove the second "foo" but49 # leave the "-arch" flag -- generating an error at linking. Not sure50 # if this is the case with +debug; does not matter for this port,51 # since it has not debug variant.52 post-configure {53 if {![variant_isset universal]} {54 reinplace "s|\\(-arch ${build_arch}\\) -arch|\\1|" \55 ${worksrcpath}/src/Makefile56 }57 }58 59 42 # allow ccache, if specified by the user 60 43 pre-build { 61 44 if {[tbool configure.ccache]} {