diff options
author | Johannes Jost Meixner <xmj@FreeBSD.org> | 2014-09-22 10:40:00 +0000 |
---|---|---|
committer | Johannes Jost Meixner <xmj@FreeBSD.org> | 2014-09-22 10:40:00 +0000 |
commit | 05317facbedf1ed4566b56f4e09e6e4a49fc3f38 (patch) | |
tree | f0614b64c20d137667eadfbdc5663150937dc6c3 /editors | |
parent | Simplify plist (diff) |
Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.
This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.
If you want to switch to linux-c6 ports, please define at /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
Additionally, please add the following line to /etc/sysctl.conf:
compat.linux.osrelease=2.6.18
Upgrading procedures are shown in /usr/ports/UPDATING.
This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.
Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,
PR: 186820
Differential Revision: https://reviews.freebsd.org/D793
Reviewed by: allanjude, antoine, bapt, rene
Approved by: portmgr (antoine, bapt)
Approved by: koobs (mentor)
Sponsored by: Perceivon Hosting Inc.
Notes
Notes:
svn path=/head/; revision=368845
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 2 | ||||
-rw-r--r-- | editors/sublime/Makefile | 46 | ||||
-rw-r--r-- | editors/sublime/distinfo | 2 | ||||
-rw-r--r-- | editors/sublime/files/patch-PackageSetup.py | 8 | ||||
-rw-r--r-- | editors/sublime/files/sublime.in | 2 | ||||
-rw-r--r-- | editors/sublime/pkg-descr | 3 | ||||
-rw-r--r-- | editors/sublime/pkg-plist | 71 | ||||
-rw-r--r-- | editors/sublime3/Makefile | 51 | ||||
-rw-r--r-- | editors/sublime3/distinfo | 2 | ||||
-rw-r--r-- | editors/sublime3/files/sublime.in | 2 | ||||
-rw-r--r-- | editors/sublime3/pkg-descr | 3 | ||||
-rw-r--r-- | editors/sublime3/pkg-plist | 64 |
12 files changed, 256 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index 43d05ac32e84..fe91994f5071 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -267,5 +267,7 @@ SUBDIR += zile SUBDIR += zim SUBDIR += zoinks + SUBDIR += sublime + SUBDIR += sublime3 .include <bsd.port.subdir.mk> diff --git a/editors/sublime/Makefile b/editors/sublime/Makefile new file mode 100644 index 000000000000..104622b53070 --- /dev/null +++ b/editors/sublime/Makefile @@ -0,0 +1,46 @@ +# Created by: Johannes Meixner <xmj@chaot.net> +# $FreeBSD$ + +PORTNAME= sublime +PORTVERSION= 2.0.2 +CATEGORIES= editors linux +MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/ +DISTNAME= Sublime%20Text%202.0.2 + +MAINTAINER= xmj@chaot.net +COMMENT= Sublime Text is a sophisticated text editor for code, markup and prose + +USES= tar:bzip2 +INSTALLS_ICONS= yes +WRKSRC= ${WRKDIR}/"Sublime Text 2" + +NO_BUILD= +STRIP= # don't strip linux binaries. +SUB_FILES= sublime + +USE_LINUX= yes +USE_LINUX_APPS= xorglibs + +post-patch: + ${BRANDELF} -t Linux ${WRKSRC}/sublime_text + ${RM} -rf ${WRKSRC}/lib + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + + @${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + @${RM} -rf ${WRKSRC}/Icon/ + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + @${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text + @${INSTALL} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime + +.include <bsd.port.mk> diff --git a/editors/sublime/distinfo b/editors/sublime/distinfo new file mode 100644 index 000000000000..2bbe2c4dfb74 --- /dev/null +++ b/editors/sublime/distinfo @@ -0,0 +1,2 @@ +SHA256 (Sublime%20Text%202.0.2.tar.bz2) = 07338e041cfb348938fa8069f0aad3b5b43c319b7ec564ffff1489796f2dcf08 +SIZE (Sublime%20Text%202.0.2.tar.bz2) = 5584673 diff --git a/editors/sublime/files/patch-PackageSetup.py b/editors/sublime/files/patch-PackageSetup.py new file mode 100644 index 000000000000..d82b41402591 --- /dev/null +++ b/editors/sublime/files/patch-PackageSetup.py @@ -0,0 +1,8 @@ +--- ./PackageSetup.py.orig 2014-03-22 14:57:27.290782685 +0200 ++++ ./PackageSetup.py 2014-03-22 14:57:40.220307481 +0200 +@@ -1,4 +1,4 @@ +-#!python ++#!/usr/bin/env python + + from __future__ import with_statement + import glob diff --git a/editors/sublime/files/sublime.in b/editors/sublime/files/sublime.in new file mode 100644 index 000000000000..fa3f9b266de2 --- /dev/null +++ b/editors/sublime/files/sublime.in @@ -0,0 +1,2 @@ +#!/compat/linux/bin/sh +%%DATADIR%%/sublime_text diff --git a/editors/sublime/pkg-descr b/editors/sublime/pkg-descr new file mode 100644 index 000000000000..b4d307909ed4 --- /dev/null +++ b/editors/sublime/pkg-descr @@ -0,0 +1,3 @@ +Sublime Text is a sophisticated text editor for code, markup and prose. + +WWW: http://www.sublimetext.com diff --git a/editors/sublime/pkg-plist b/editors/sublime/pkg-plist new file mode 100644 index 000000000000..571bb1fc354b --- /dev/null +++ b/editors/sublime/pkg-plist @@ -0,0 +1,71 @@ +bin/sublime +share/icons/hicolor/128x128/apps/sublime_text.png +share/icons/hicolor/16x16/apps/sublime_text.png +share/icons/hicolor/256x256/apps/sublime_text.png +share/icons/hicolor/32x32/apps/sublime_text.png +share/icons/hicolor/48x48/apps/sublime_text.png +%%DATADIR%%/PackageSetup.py +%%DATADIR%%/Pristine Packages/ASP.sublime-package +%%DATADIR%%/Pristine Packages/ActionScript.sublime-package +%%DATADIR%%/Pristine Packages/AppleScript.sublime-package +%%DATADIR%%/Pristine Packages/Batch File.sublime-package +%%DATADIR%%/Pristine Packages/C#.sublime-package +%%DATADIR%%/Pristine Packages/C++.sublime-package +%%DATADIR%%/Pristine Packages/CSS.sublime-package +%%DATADIR%%/Pristine Packages/Clojure.sublime-package +%%DATADIR%%/Pristine Packages/Color Scheme - Default.sublime-package +%%DATADIR%%/Pristine Packages/D.sublime-package +%%DATADIR%%/Pristine Packages/Default.sublime-package +%%DATADIR%%/Pristine Packages/Diff.sublime-package +%%DATADIR%%/Pristine Packages/Erlang.sublime-package +%%DATADIR%%/Pristine Packages/Go.sublime-package +%%DATADIR%%/Pristine Packages/Graphviz.sublime-package +%%DATADIR%%/Pristine Packages/Groovy.sublime-package +%%DATADIR%%/Pristine Packages/HTML.sublime-package +%%DATADIR%%/Pristine Packages/Haskell.sublime-package +%%DATADIR%%/Pristine Packages/Java.sublime-package +%%DATADIR%%/Pristine Packages/JavaScript.sublime-package +%%DATADIR%%/Pristine Packages/LaTeX.sublime-package +%%DATADIR%%/Pristine Packages/Language - English.sublime-package +%%DATADIR%%/Pristine Packages/Lisp.sublime-package +%%DATADIR%%/Pristine Packages/Lua.sublime-package +%%DATADIR%%/Pristine Packages/Makefile.sublime-package +%%DATADIR%%/Pristine Packages/Markdown.sublime-package +%%DATADIR%%/Pristine Packages/Matlab.sublime-package +%%DATADIR%%/Pristine Packages/OCaml.sublime-package +%%DATADIR%%/Pristine Packages/Objective-C.sublime-package +%%DATADIR%%/Pristine Packages/PHP.sublime-package +%%DATADIR%%/Pristine Packages/Perl.sublime-package +%%DATADIR%%/Pristine Packages/Python.sublime-package +%%DATADIR%%/Pristine Packages/R.sublime-package +%%DATADIR%%/Pristine Packages/Rails.sublime-package +%%DATADIR%%/Pristine Packages/Regular Expressions.sublime-package +%%DATADIR%%/Pristine Packages/RestructuredText.sublime-package +%%DATADIR%%/Pristine Packages/Ruby.sublime-package +%%DATADIR%%/Pristine Packages/SQL.sublime-package +%%DATADIR%%/Pristine Packages/Scala.sublime-package +%%DATADIR%%/Pristine Packages/ShellScript.sublime-package +%%DATADIR%%/Pristine Packages/TCL.sublime-package +%%DATADIR%%/Pristine Packages/Text.sublime-package +%%DATADIR%%/Pristine Packages/Textile.sublime-package +%%DATADIR%%/Pristine Packages/Theme - Default.sublime-package +%%DATADIR%%/Pristine Packages/User.sublime-package +%%DATADIR%%/Pristine Packages/Vintage.sublime-package +%%DATADIR%%/Pristine Packages/XML.sublime-package +%%DATADIR%%/Pristine Packages/YAML.sublime-package +%%DATADIR%%/sublime_plugin.py +%%DATADIR%%/sublime_text +@dirrmtry %%DATADIR%%/Pristine Packages +@dirrmtry %%DATADIR%% +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor/256x256/apps +@dirrmtry share/icons/hicolor/256x256 +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/16x16 +@dirrmtry share/icons/hicolor/128x128/apps +@dirrmtry share/icons/hicolor/128x128 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons diff --git a/editors/sublime3/Makefile b/editors/sublime3/Makefile new file mode 100644 index 000000000000..8700ee39c313 --- /dev/null +++ b/editors/sublime3/Makefile @@ -0,0 +1,51 @@ +# Created by: Miguel Clara <miguelmclara@gmail.com> +# $FreeBSD$ + +PORTNAME= sublime +PORTVERSION= 3.0.65 +CATEGORIES= editors linux +MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/ +PKGNAMEPREFIX= linux- +DISTNAME= sublime_text_3_build_3065_x32 + +MAINTAINER= miguelmclara@gmail.com +COMMENT= Sublime Text is a sophisticated text editor for code, markup and prose + +USES= tar:bzip2 +INSTALLS_ICONS= yes +WRKSRC= ${WRKDIR}/sublime_text_3 + +CONFLICTS= linux-sublime-[0-24-9]* + +NO_BUILD= +STRIP= # don't strip linux binaries. +SUB_FILES= sublime + +USE_LINUX= yes +USE_LINUX_APPS= xorglibs + +post-patch: + ${BRANDELF} -t Linux ${WRKSRC}/sublime_text + ${BRANDELF} -t Linux ${WRKSRC}/plugin_host + ${RM} -rf ${WRKSRC}/lib + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + + @${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + @${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + @${RM} -rf ${WRKSRC}/Icon/ + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + @${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text + @${CHMOD} +x ${STAGEDIR}${DATADIR}/plugin_host + @${INSTALL} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime + +.include <bsd.port.mk> diff --git a/editors/sublime3/distinfo b/editors/sublime3/distinfo new file mode 100644 index 000000000000..856316583e39 --- /dev/null +++ b/editors/sublime3/distinfo @@ -0,0 +1,2 @@ +SHA256 (sublime_text_3_build_3065_x32.tar.bz2) = e25f84fe0d0c02ce71274d334fd42ce6313adcd4ec1d588b165d25f5e93ad78d +SIZE (sublime_text_3_build_3065_x32.tar.bz2) = 7624149 diff --git a/editors/sublime3/files/sublime.in b/editors/sublime3/files/sublime.in new file mode 100644 index 000000000000..fa3f9b266de2 --- /dev/null +++ b/editors/sublime3/files/sublime.in @@ -0,0 +1,2 @@ +#!/compat/linux/bin/sh +%%DATADIR%%/sublime_text diff --git a/editors/sublime3/pkg-descr b/editors/sublime3/pkg-descr new file mode 100644 index 000000000000..b4d307909ed4 --- /dev/null +++ b/editors/sublime3/pkg-descr @@ -0,0 +1,3 @@ +Sublime Text is a sophisticated text editor for code, markup and prose. + +WWW: http://www.sublimetext.com diff --git a/editors/sublime3/pkg-plist b/editors/sublime3/pkg-plist new file mode 100644 index 000000000000..239449da8b51 --- /dev/null +++ b/editors/sublime3/pkg-plist @@ -0,0 +1,64 @@ +bin/sublime +share/icons/hicolor/128x128/apps/sublime-text.png +share/icons/hicolor/16x16/apps/sublime-text.png +share/icons/hicolor/256x256/apps/sublime-text.png +share/icons/hicolor/32x32/apps/sublime-text.png +share/icons/hicolor/48x48/apps/sublime-text.png +%%DATADIR%%/Packages/ASP.sublime-package +%%DATADIR%%/Packages/ActionScript.sublime-package +%%DATADIR%%/Packages/AppleScript.sublime-package +%%DATADIR%%/Packages/Batch File.sublime-package +%%DATADIR%%/Packages/C#.sublime-package +%%DATADIR%%/Packages/C++.sublime-package +%%DATADIR%%/Packages/CSS.sublime-package +%%DATADIR%%/Packages/Clojure.sublime-package +%%DATADIR%%/Packages/Color Scheme - Default.sublime-package +%%DATADIR%%/Packages/D.sublime-package +%%DATADIR%%/Packages/Default.sublime-package +%%DATADIR%%/Packages/Diff.sublime-package +%%DATADIR%%/Packages/Erlang.sublime-package +%%DATADIR%%/Packages/Go.sublime-package +%%DATADIR%%/Packages/Graphviz.sublime-package +%%DATADIR%%/Packages/Groovy.sublime-package +%%DATADIR%%/Packages/HTML.sublime-package +%%DATADIR%%/Packages/Haskell.sublime-package +%%DATADIR%%/Packages/Java.sublime-package +%%DATADIR%%/Packages/JavaScript.sublime-package +%%DATADIR%%/Packages/LaTeX.sublime-package +%%DATADIR%%/Packages/Language - English.sublime-package +%%DATADIR%%/Packages/Lisp.sublime-package +%%DATADIR%%/Packages/Lua.sublime-package +%%DATADIR%%/Packages/Makefile.sublime-package +%%DATADIR%%/Packages/Markdown.sublime-package +%%DATADIR%%/Packages/Matlab.sublime-package +%%DATADIR%%/Packages/OCaml.sublime-package +%%DATADIR%%/Packages/Objective-C.sublime-package +%%DATADIR%%/Packages/PHP.sublime-package +%%DATADIR%%/Packages/Pascal.sublime-package +%%DATADIR%%/Packages/Perl.sublime-package +%%DATADIR%%/Packages/Python.sublime-package +%%DATADIR%%/Packages/R.sublime-package +%%DATADIR%%/Packages/Rails.sublime-package +%%DATADIR%%/Packages/Regular Expressions.sublime-package +%%DATADIR%%/Packages/RestructuredText.sublime-package +%%DATADIR%%/Packages/Ruby.sublime-package +%%DATADIR%%/Packages/SQL.sublime-package +%%DATADIR%%/Packages/Scala.sublime-package +%%DATADIR%%/Packages/ShellScript.sublime-package +%%DATADIR%%/Packages/TCL.sublime-package +%%DATADIR%%/Packages/Text.sublime-package +%%DATADIR%%/Packages/Textile.sublime-package +%%DATADIR%%/Packages/Theme - Default.sublime-package +%%DATADIR%%/Packages/Vintage.sublime-package +%%DATADIR%%/Packages/XML.sublime-package +%%DATADIR%%/Packages/YAML.sublime-package +%%DATADIR%%/changelog.txt +%%DATADIR%%/crash_reporter +%%DATADIR%%/plugin_host +%%DATADIR%%/python3.3.zip +%%DATADIR%%/sublime.py +%%DATADIR%%/sublime_plugin.py +%%DATADIR%%/sublime_text +%%DATADIR%%/sublime_text.desktop +@dirrmtry %%DATADIR%%/Packages +@dirrmtry %%DATADIR%% |