diff options
author | 2013-02-26 17:46:20 +1100 | |
---|---|---|
committer | 2013-02-26 17:46:20 +1100 | |
commit | 878f853263a1a3102d480ca742c9887251701f0b (patch) | |
tree | ea55489ee20742a259038653fbebc8ca861e215a /app-text | |
parent | dev-lang/dmd: Bump to 2.062. Keeping some older versions in case of regressions. (diff) | |
download | sunrise-reviewed-878f853263a1a3102d480ca742c9887251701f0b.tar.gz sunrise-reviewed-878f853263a1a3102d480ca742c9887251701f0b.tar.bz2 sunrise-reviewed-878f853263a1a3102d480ca742c9887251701f0b.zip |
app-text/peg-markdown: moved to portage.
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/peg-markdown/ChangeLog | 16 | ||||
-rw-r--r-- | app-text/peg-markdown/Manifest | 6 | ||||
-rw-r--r-- | app-text/peg-markdown/files/peg-markdown-0.4.12-Makefile.patch | 66 | ||||
-rw-r--r-- | app-text/peg-markdown/files/peg-markdown-0.4.12-declare.patch | 10 | ||||
-rw-r--r-- | app-text/peg-markdown/metadata.xml | 7 | ||||
-rw-r--r-- | app-text/peg-markdown/peg-markdown-0.4.12.ebuild | 39 |
6 files changed, 0 insertions, 144 deletions
diff --git a/app-text/peg-markdown/ChangeLog b/app-text/peg-markdown/ChangeLog deleted file mode 100644 index 8ed594974..000000000 --- a/app-text/peg-markdown/ChangeLog +++ /dev/null @@ -1,16 +0,0 @@ -# ChangeLog for app-text/peg-markdown -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 15 Apr 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com - files/peg-markdown-0.4.12-Makefile.patch: - Makefile.patch was changed a little: not used variables removed (they were - there by error) - -*peg-markdown-0.4.12 (14 Apr 2012) - - 14 Apr 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com - +peg-markdown-0.4.12.ebuild, +files/peg-markdown-0.4.12-Makefile.patch, - +files/peg-markdown-0.4.12-declare.patch, +metadata.xml: - New ebuild for bug #411895 thanks to mgorny - diff --git a/app-text/peg-markdown/Manifest b/app-text/peg-markdown/Manifest deleted file mode 100644 index b61c04c1b..000000000 --- a/app-text/peg-markdown/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX peg-markdown-0.4.12-Makefile.patch 1816 RMD160 a1400a905fffa2d51de8f1dc5220838a25efb23d SHA1 2558ea45d14747a6a9cf479a805d317071f4f911 SHA256 6ce4852bd6c82b2c99cf94454580087075983d1ccb93d09bebe3c2181e60fbb7 -AUX peg-markdown-0.4.12-declare.patch 215 RMD160 78ebd55cfaddfcc1b40398363ddad79e6af14a17 SHA1 8a9a4b34feceb799723ffa7807d3b311ef83d1bd SHA256 31c21cde280d6f2382f4ddffca22a562b3d8e75899ad541a49d959d396e68337 -DIST peg-markdown-0.4.12.tar.gz 80775 RMD160 ef1a5d1885909d0d438cf96e35e0ce8dae4a9bbd SHA1 f71dbbf394af95831d780bfd3650eabd8456b7fe SHA256 dd76542ac72c971f6cbb232882e086aacf54ad454f0bab7feb749cf10b5c7f70 -EBUILD peg-markdown-0.4.12.ebuild 786 RMD160 ebb9efa8eba2690a87a033fe6faf76b70df2e253 SHA1 b106aa17b4a551674d6cd55af81e863969225ea5 SHA256 bc85e8927d8090c7ef252a42817e8ee019010b4411639c1ba676c9b06ad29330 -MISC ChangeLog 604 RMD160 f7e75ae4c00f6a8bc07c910f2f22371214464e4c SHA1 7c42bc0bf909f76bd968f7d97a40ffb2f51793b0 SHA256 439eb5677690feac90d60d0f41fb6e4859d458b797a215820e2780070d5cf3ad -MISC metadata.xml 214 RMD160 efd8175069efb91061298ff4584218b633e44678 SHA1 d372fdbfcb7fd07a4082961d3f3527be4fca1d60 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 diff --git a/app-text/peg-markdown/files/peg-markdown-0.4.12-Makefile.patch b/app-text/peg-markdown/files/peg-markdown-0.4.12-Makefile.patch deleted file mode 100644 index 1ca38335c..000000000 --- a/app-text/peg-markdown/files/peg-markdown-0.4.12-Makefile.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- Makefile -+++ Makefile -@@ -1,27 +1,37 @@ --ALL : markdown -- --PROGRAM=markdown -+PROGRAM=peg-markdown -+LNAME=peg-markdown -+VER=0.4.12 -+LIBRARY=lib$(LNAME).so -+REALNAME=$(LIBRARY).$(VER) -+CC ?= gcc - CFLAGS ?= -Wall -O3 -ansi - OBJS=markdown_parser.o markdown_output.o markdown_lib.o - PEGDIR=peg-0.1.4 --LEG=$(PEGDIR)/leg -+LEG=leg - --$(LEG): -- CC=gcc make -C $(PEGDIR) -+ALL : $(PROGRAM) build-doc - - %.o : %.c markdown_peg.h -- $(CC) -c `pkg-config --cflags glib-2.0` $(CFLAGS) -o $@ $< -+ $(CC) -c `pkg-config --cflags glib-2.0` $(CFLAGS) -fPIC -o $@ $< -+ -+$(PROGRAM) : markdown.c $(LIBRARY) -+ $(CC) `pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` $(CFLAGS) $(LDFLAGS) -o $@ $< \ -+ -L. -l $(LNAME) -+ -+$(LIBRARY) : $(REALNAME) -+ ln -s $< $@ - --$(PROGRAM) : markdown.c $(OBJS) -- $(CC) `pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` $(CFLAGS) -o $@ $(OBJS) $< -+$(REALNAME) : $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $? \ -+ `pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` - --markdown_parser.c : markdown_parser.leg $(LEG) markdown_peg.h parsing_functions.c utility_functions.c -+markdown_parser.c : markdown_parser.leg markdown_peg.h parsing_functions.c utility_functions.c - $(LEG) -o $@ $< - - .PHONY: clean test - - clean: -- rm -f markdown_parser.c $(PROGRAM) $(OBJS); \ -+ rm -f markdown_parser.c $(PROGRAM) $(OBJS) $(LIBRARY) $(REALNAME); \ - make -C $(PEGDIR) clean - - distclean: clean -@@ -29,8 +39,13 @@ - - test: $(PROGRAM) - cd MarkdownTest_1.0.3; \ -+ export LD_LIBRARY_PATH=..; \ - ./MarkdownTest.pl --script=../$(PROGRAM) --tidy - - leak-check: $(PROGRAM) -- valgrind --leak-check=full ./markdown README -+ export LD_LIBRARY_PATH=.; \ -+ valgrind --leak-check=full ./$(PROGRAM) README - -+build-doc: $(PROGRAM) -+ export LD_LIBRARY_PATH=.; \ -+ ./$(PROGRAM) README > README.html diff --git a/app-text/peg-markdown/files/peg-markdown-0.4.12-declare.patch b/app-text/peg-markdown/files/peg-markdown-0.4.12-declare.patch deleted file mode 100644 index f86d680d7..000000000 --- a/app-text/peg-markdown/files/peg-markdown-0.4.12-declare.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- markdown_peg.h -+++ markdown_peg.h -@@ -2,7 +2,6 @@ - #include "markdown_lib.h" - #include <glib.h> - --extern char *strdup(const char *string); - - /* Information (label, URL and title) for a link. */ - struct Link { diff --git a/app-text/peg-markdown/metadata.xml b/app-text/peg-markdown/metadata.xml deleted file mode 100644 index cc3fe2494..000000000 --- a/app-text/peg-markdown/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>maintainer-wanted@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/app-text/peg-markdown/peg-markdown-0.4.12.ebuild b/app-text/peg-markdown/peg-markdown-0.4.12.ebuild deleted file mode 100644 index 87c0d508c..000000000 --- a/app-text/peg-markdown/peg-markdown-0.4.12.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils toolchain-funcs vcs-snapshot - -DESCRIPTION="An implementation of John Gruber's markdown in C" -HOMEPAGE="https://github.com/jgm/peg-markdown" -SRC_URI="https://github.com/jgm/${PN}/tarball/${PV} -> ${P}.tar.gz" - -LICENSE="|| ( GPL-2 MIT )" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND="dev-util/peg" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch \ - "${FILESDIR}/${P}-Makefile.patch" \ - "${FILESDIR}/${P}-declare.patch" -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - exeinto usr/bin - doexe ${PN} - dolib.so lib${PN}.so.${PV} - dosym lib${PN}.so.${PV} usr/lib/lib${PN}.so - dohtml README.html - insinto usr/include - doins markdown_lib.h -} |