summaryrefslogtreecommitdiff
path: root/app-editors/uemacs-pk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/uemacs-pk
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/uemacs-pk')
-rw-r--r--app-editors/uemacs-pk/Manifest6
-rw-r--r--app-editors/uemacs-pk/files/uemacs-pk-4.0.15_p20110825-gentoo.patch15
-rw-r--r--app-editors/uemacs-pk/metadata.xml25
-rw-r--r--app-editors/uemacs-pk/uemacs-pk-4.0.15_p20141208.ebuild42
4 files changed, 88 insertions, 0 deletions
diff --git a/app-editors/uemacs-pk/Manifest b/app-editors/uemacs-pk/Manifest
new file mode 100644
index 000000000000..3213c5a7595c
--- /dev/null
+++ b/app-editors/uemacs-pk/Manifest
@@ -0,0 +1,6 @@
+AUX uemacs-pk-4.0.15_p20110825-gentoo.patch 302 SHA256 75281f6f4ea7057e2753b7e526fba85bd8e92237f5577733945317ab4c74e893 SHA512 6938e768e742ffcbd88469c58bba07325d0c2ae7d354bdba66fcc3f9d47d141a98923fce516a03a799032869461da301cbe8ce7f312196a51f69dddcbe5c069b WHIRLPOOL b20a3d4e2e6cd2673327e2b31f22fbd472ac290eea8ebe590e27e968d8f9ba56e76cb9da4a08e8b68258d1833aa70921bcb440ecff0a365beb0c65ee063aa20e
+DIST uemacs-4.0.15_p20141208.tar.xz 151500 SHA256 271cf8afde5e069d5b22dfdb93ace83367a89ab9ebfb753e62219d3003633a62 SHA512 a632c82275ee652412aec7d8f3549d80c5fd5bb1211675828ec4c58365bb7819927ff4e92f6fb7b5b9030b681062773ea19f1af345d4d3ddb652c3d68507bdbb WHIRLPOOL aba112d6142a40b439300ab78c206d2cd4271486d45530c9a1500705ba46cbca03df11f1d0242bed1dd7701394c86a8349eb5661f3145ddd01a8f45ae5e478e7
+EBUILD uemacs-pk-4.0.15_p20141208.ebuild 960 SHA256 de06620348b175ab39d5f89ee217fa33a2bd54eccf98d8ec4c50ba61c25f7525 SHA512 576483dcbee259b580687c43cdf06da086627f65cfd28db1af092b363e03dd1ececd1feecf61b3a6163d4a1f8f20e0261a26fd1f1d4378dd394f377f002796fe WHIRLPOOL 2e03fe614bc1d29e7695d98399db066f1b4d5d300a21da4ecf94487b9c1043a172d7e62a9e25105cec24e88325c515cc4e2f313a91857dd648202d2d480b06ed
+MISC ChangeLog 3438 SHA256 1ecfe8f91ec3548bfb12c055470efcd83a4029106e500f633a0652561340201a SHA512 de74152ac2cfdb43123b09a4a6432f28905d5d927279be2a28f8d6213138d5b4dee0b538f7b40c1d1ce0137bd3184dce26518c3f90ab55bce2e820b10ba124cb WHIRLPOOL b65cb39373e9f4e0441104bda001effb8c9111bee5914a60bbec76bef6da214c9d688dba24a994cfd629c54a20b8df43a705078dbe2d0e675deb56638f84574c
+MISC ChangeLog-2015 4476 SHA256 6057a3189f703b6dce3b4f84cfdd0ebb15d7698c77a1888308812032d0e7235a SHA512 eec38c9aea5da658930ea8af85dcfa321d7609a3f65f4502b2e1695b32715d3a6d3f6dce7bfd17278588ae166b957c6aef65f122f545fc7a630b02e3c85f5a8d WHIRLPOOL 98b7e0ec75d3bfa30d2bfece4104763dcdcfc018508a88887dbfff29c8421513ddd0e614b94123ca35218f8c4c341c562064ffa7fd2953b5833f7722ae0055fb
+MISC metadata.xml 1038 SHA256 60859f165829eec9b3e60f49eb7ead9a261f54fbc3e80ee848dfc0c736cdfb77 SHA512 303232f4886511f0731e699a8c29a1925f506a037cebc60669c02aa060b2d555bdb2378919f5d66e61859e18a3b2ede21204edc5fce37a9220ab9dcf2f23c1b0 WHIRLPOOL efa261e77bf97dd988098f3570f8f85b191f45fd863031a5fb6f96221513c64e1658df4d93b3535b0abe8f5165ab74c761c3c91c0e085f98e3bafdaf04b2b6f3
diff --git a/app-editors/uemacs-pk/files/uemacs-pk-4.0.15_p20110825-gentoo.patch b/app-editors/uemacs-pk/files/uemacs-pk-4.0.15_p20110825-gentoo.patch
new file mode 100644
index 000000000000..8ec03062f922
--- /dev/null
+++ b/app-editors/uemacs-pk/files/uemacs-pk-4.0.15_p20110825-gentoo.patch
@@ -0,0 +1,15 @@
+--- uemacs-orig/epath.h
++++ uemacs/epath.h
+@@ -25,10 +25,8 @@
+ #if V7 | BSD | USG
+ {
+ ".emacsrc", "emacs.hlp",
+-#if PKCODE
+- "/usr/global/lib/", "/usr/local/bin/", "/usr/local/lib/",
+-#endif
+-"/usr/local/", "/usr/lib/", ""};
++ "/etc/uemacs-pk/", "/usr/share/uemacs-pk/", ""
++};
+ #endif
+
+ #if VMS
diff --git a/app-editors/uemacs-pk/metadata.xml b/app-editors/uemacs-pk/metadata.xml
new file mode 100644
index 000000000000..4f52d2d2e249
--- /dev/null
+++ b/app-editors/uemacs-pk/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>emacs@gentoo.org</email>
+ <name>Gentoo Emacs project</name>
+</maintainer>
+<longdescription>
+ WHAT IS uEmacs/PK?
+
+ uEmacs/PK 4.0 is an enhanced version of MicroEMACS 3.9e. Enhancements have
+ been incorporated by Petri H. Kutvonen, University of Helsinki, Finland,
+ kutvonen@cs.Helsinki.FI.
+
+ WHY IS IT BASED ON AN OLD VERSION OF MicroEMACS?
+
+ In my opinion 3.9e was the best of all MicroEMACSes. Creeping featurism,
+ growing size, and reduced portability made versions 3.10 and 3.11 less
+ attractive. MicroEMACS 3.9e was one of the few editors that were truly
+ portable between different flavours of UNIX, PC/MS-DOS, and VAX/VMS. It was
+ pretty robust - although not flawless. uEmacs/PK 4.0 includes numerous bug
+ fixes, adds some new functionality and comfort but does not sacrifice the
+ best things (small size and portability).
+</longdescription>
+</pkgmetadata>
diff --git a/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20141208.ebuild b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20141208.ebuild
new file mode 100644
index 000000000000..fb2d7f37ef7a
--- /dev/null
+++ b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20141208.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
+HOMEPAGE="https://git.kernel.org/?p=editors/uemacs/uemacs.git;a=summary
+ ftp://ftp.cs.helsinki.fi/pub/Software/Local/uEmacs-PK"
+# snapshot from git repo
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/uemacs-${PV}.tar.xz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+
+RDEPEND="sys-libs/ncurses:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/uemacs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-4.0.15_p20110825-gentoo.patch
+}
+
+src_compile() {
+ emake V=1 \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_install() {
+ dobin em
+ insinto /usr/share/${PN}
+ doins emacs.hlp
+ newins emacs.rc .emacsrc
+ dodoc README readme.39e emacs.ps UTF-8-demo.txt
+}