Commits
Ryan Schmidt authored b4826e1d0a1
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | # Please keep the minivmac and minivmac-devel ports as similar as possible. |
6 6 | |
7 7 | set my_name minivmac |
8 8 | set my_suffix -devel |
9 9 | name ${my_name}${my_suffix} |
10 10 | set my_subport [regsub -- {-devel$} ${subport} {}] |
11 11 | conflicts [lsearch -all -inline -not -exact [list ${my_subport} ${my_subport}-devel] ${subport}] |
12 12 | epoch 4 |
13 - | version 36.03 |
13 + | version 36.04 |
14 14 | set my_version [strsed ${version} {g/^.*-20//}] |
15 15 | categories emulators aqua |
16 16 | maintainers {ryandesign @ryandesign} |
17 17 | license GPL-2 |
18 18 | homepage http://www.gryphel.org/c/minivmac/beta.html |
19 19 | platforms macosx |
20 20 | dist_subdir ${my_name} |
21 21 | |
22 22 | description an emulator of the Macintosh Plus and other \ |
23 23 | early Macintosh models |
71 71 | set my_src_distfile ${my_src}.tgz |
72 72 | set my_icons icnsosx-1.0.0 |
73 73 | set my_icons_distfile ${my_icons}.zip |
74 74 | |
75 75 | distfiles ${my_src_distfile}:minivmacsource \ |
76 76 | ${my_icons_distfile}:minivmacextras6 |
77 77 | |
78 78 | extract.only ${my_src_distfile} |
79 79 | |
80 80 | checksums ${my_src_distfile} \ |
81 - | rmd160 4a18b3d35a71b2fc72107b04362c26ee0347b411 \ |
82 - | sha256 728bdd553d8b22b8e43342c117968a41cdbb602543411a874931a9d3b0cdfb3f \ |
83 - | size 500662 \ |
81 + | rmd160 613534f9aa4fd779d245f5511731617df4da3bb6 \ |
82 + | sha256 9b7343cec87723177a203e69ad3baf20f49b4e8f03619e366c4bf2705167dfa4 \ |
83 + | size 500742 \ |
84 84 | ${my_icons_distfile} \ |
85 85 | rmd160 cef6d7d7578464538d0042b0d98379ae7f18fab7 \ |
86 86 | sha256 968a0bad51903c9cd3b08476ec5a6572856dc44eedf9ff9b174eb9c59b7b7117 \ |
87 87 | size 60373 |
88 88 | |
89 89 | depends_extract-append bin:unzip:unzip |
90 90 | |
91 91 | depends_skip_archcheck unzip |
92 92 | |
93 93 | patchfiles configuration.patch \ |
118 118 | system -W ${workpath} "unzip -q '${distpath}/${my_icons_distfile}'" |
119 119 | } |
120 120 | |
121 121 | post-patch { |
122 122 | # Tell the build system what the Xcode version is; theoretically |
123 123 | # this lets it use flags better suited to that Xcode version. |
124 124 | if [info exists xcodeversion] { |
125 125 | set xcodeversion_split [concat [split ${xcodeversion} {.}] {0 0 0}] |
126 126 | set ide_vers [lindex ${xcodeversion_split} 0][string range [join [lrange ${xcodeversion_split} 1 end] {}] 0 2] |
127 127 | } else { |
128 - | set ide_vers 2410 |
128 + | set ide_vers 9410 |
129 129 | } |
130 130 | reinplace "s|@IDE_VERS@|${ide_vers}|g" ${worksrcpath}/setup/CONFIGUR.i |
131 131 | |
132 132 | # Use prettier icons. |
133 133 | foreach icon {App Dsk Rom} { |
134 134 | move -force ${workpath}/${my_icons}/icons/${icon}Icon.icns \ |
135 135 | ${worksrcpath}/src/ICON[string toupper ${icon}]O.icns |
136 136 | } |
137 137 | delete ${workpath}/${my_icons} |
138 138 | } |