Ticket #29101: port-macvim.diff
File port-macvim.diff, 2.1 KB (added by anddam (Andrea D'Amore), 14 years ago) |
---|
-
files/patch-src_macvim_icons_make_icons.diff
1 --- src/MacVim/icons/make_icons.py.orig 2011-04-11 16:23:18.000000000 +0200 2 +++ src/MacVim/icons/make_icons.py 2011-04-11 16:23:51.000000000 +0200 3 @@ -63,6 +63,7 @@ 4 'MacVim-html': [u'HTML', SMALL], 5 'MacVim-xml': [u'XML', SMALL], 6 'MacVim-js': [u'JS', SMALL], 7 + 'MacVim-lua': [u'LUA', SMALL], 8 'MacVim-perl': [u'PERL,PL', SMALL], 9 'MacVim-py': [u'PYTHON,PY', SMALL], 10 'MacVim-php': [u'PHP', SMALL], -
files/patch-src_macvim_info.plist.diff
1 --- src/MacVim/Info.plist.orig 2011-04-11 16:38:45.000000000 +0200 2 +++ src/MacVim/Info.plist 2011-04-11 16:39:39.000000000 +0200 3 @@ -481,6 +481,22 @@ 4 </dict> 5 <dict> 6 <key>CFBundleTypeName</key> 7 + <string>Lua source</string> 8 + <key>CFBundleTypeExtensions</key> 9 + <array> 10 + <string>lua</string> 11 + </array> 12 + <key>CFBundleTypeIconFile</key> 13 + <string>MacVim-lua</string> 14 + <key>CFBundleTypeMIMETypes</key> 15 + <array> 16 + <string>text/x-lua-script</string> 17 + </array> 18 + <key>CFBundleTypeRole</key> 19 + <string>Editor</string> 20 + </dict> 21 + <dict> 22 + <key>CFBundleTypeName</key> 23 <string>Perl source</string> 24 <key>CFBundleTypeExtensions</key> 25 <array> -
Portfile
30 30 port:libiconv \ 31 31 port:ctags 32 32 33 patchfiles patch-src-MacVim-icons-Makefile.diff 33 patchfiles patch-src-MacVim-icons-Makefile.diff \ 34 patch-src_macvim_icons_make_icons.diff \ 35 patch-src_macvim_info.plist.diff 34 36 35 37 pre-fetch { 36 38 if {${os.platform} == "darwin" && ${os.major} < 10} {