Ticket #48980: mu-update-version.diff
File mu-update-version.diff, 2.0 KB (added by xuchunyang (Chunyang Xu), 9 years ago) |
---|
-
mail/mu/Portfile
5 5 PortGroup github 1.0 6 6 PortGroup elisp 1.0 7 7 8 github.setup djcb mu 0.9.12 v 9 revision 1 8 github.setup djcb mu 0.9.13 v 10 9 license GPL-3 11 10 categories mail 12 11 maintainers sean openmaintainer … … 22 21 23 22 homepage http://www.djcbsoftware.nl/code/mu/ 24 23 25 checksums rmd160 dd0fb51b3351396295c96e1a72b853446b31a2ac\26 sha256 7044d776b7a7ff7b8a4e5b4e00c8c853a15119f0b7db4835bcfec551062a46f824 checksums rmd160 15c8a9c1b5db698e22e134ba5c4d979a6c58d97a \ 25 sha256 e010e63e35e15e9f371573db121075241e31ad9620e890a348f34fb644c98b6a 27 26 28 27 depends_build port:pkgconfig 29 28 depends_lib port:gmime port:xapian-core port:guile … … 48 47 } 49 48 50 49 subport mu-devel { 51 github.setup djcb mu 1c988358155b50 github.setup djcb mu 4774429ad6d6 52 51 name mu-devel 53 version 0.9.12.99 54 revision 4 52 version 0.9.13.99 55 53 56 checksums rmd160 cbf2361c631b2b2b7bb4dbb423ecddd350da9a69 \ 57 sha256 bab8509b742ba57903a24f3cad86ab4ac75540a1bcf6d78034b120315aff8ea5 58 } 54 checksums rmd160 1ebffcfa3da78219ea230819a50436e23ff1b749 \ 55 sha256 21ee613857717956c7f6df401e75c2cdd632aebe7390e8885916c9fca1089af8 59 56 60 post-extract { 61 # set the displayed version to a 6-character string since most releases are 62 # of the form 0.9.XX 63 set over 0.9.11 64 set dver [string range $version 0 5] 65 if {$subport eq "mu-devel"} { 66 set over 0.9.12 57 post-extract { 58 set over 0.9.13 67 59 set dver [string range $version 0 5]-[string range ${github.version} 0 6] 60 reinplace "s,$over,$dver,g" ${worksrcpath}/configure.ac 68 61 } 69 reinplace "s,$over,$dver,g" ${worksrcpath}/configure.ac70 62 }