summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-03-30 21:09:41 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-03-30 21:09:41 +0000
commitddb90b6196179d45263f5fb4085e3c87e397152c (patch)
tree11bcbc3d90bf54086910b05751db013129f92cf6
parentStable on x86, bug #169152. (diff)
downloadgentoo-2-ddb90b6196179d45263f5fb4085e3c87e397152c.tar.gz
gentoo-2-ddb90b6196179d45263f5fb4085e3c87e397152c.tar.bz2
gentoo-2-ddb90b6196179d45263f5fb4085e3c87e397152c.zip
Version bump, bug #142476.
(Portage version: 2.1.2.3)
-rw-r--r--app-misc/boxes/ChangeLog8
-rw-r--r--app-misc/boxes/boxes-1.1.ebuild34
-rw-r--r--app-misc/boxes/files/boxes-1.1-Makefile.patch46
-rw-r--r--app-misc/boxes/files/digest-boxes-1.13
4 files changed, 90 insertions, 1 deletions
diff --git a/app-misc/boxes/ChangeLog b/app-misc/boxes/ChangeLog
index 4a57027d9bed..f9ebd6446b64 100644
--- a/app-misc/boxes/ChangeLog
+++ b/app-misc/boxes/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/boxes
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/ChangeLog,v 1.15 2007/01/18 00:04:20 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/ChangeLog,v 1.16 2007/03/30 21:09:41 dirtyepic Exp $
+
+*boxes-1.1 (30 Mar 2007)
+
+ 30 Mar 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/boxes-1.1-Makefile.patch, +boxes-1.1.ebuild:
+ Version bump, bug #142476.
18 Jan 2007; Ryan Hill <dirtyepic@gentoo.org>
+files/boxes-1.0.1-Makefile.patch, +files/boxes-1.0.1-flex.patch,
diff --git a/app-misc/boxes/boxes-1.1.ebuild b/app-misc/boxes/boxes-1.1.ebuild
new file mode 100644
index 000000000000..0a87e0b186de
--- /dev/null
+++ b/app-misc/boxes/boxes-1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/boxes-1.1.ebuild,v 1.1 2007/03/30 21:09:41 dirtyepic Exp $
+
+inherit eutils
+
+DESCRIPTION="draw any kind of boxes around your text!"
+HOMEPAGE="http://boxes.thomasjensen.com/"
+SRC_URI="http://boxes.thomasjensen.com/download/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dobin src/boxes || die
+ doman doc/boxes.1
+ dodoc README
+ insinto /usr/share/boxes
+ doins boxes-config
+}
diff --git a/app-misc/boxes/files/boxes-1.1-Makefile.patch b/app-misc/boxes/files/boxes-1.1-Makefile.patch
new file mode 100644
index 000000000000..cedda637a515
--- /dev/null
+++ b/app-misc/boxes/files/boxes-1.1-Makefile.patch
@@ -0,0 +1,46 @@
+diff -Naur boxes-1.1-orig/Makefile boxes-1.1/Makefile
+--- boxes-1.1-orig/Makefile 2007-03-30 14:59:03.000000000 -0600
++++ boxes-1.1/Makefile 2007-03-30 15:01:38.000000000 -0600
+@@ -73,7 +73,7 @@
+
+
+ # The following line (GLOBALCONF) is the only line you should need to edit!
+-GLOBALCONF = /usr/share/boxes
++GLOBALCONF = /usr/share/boxes/boxes-config
+ BVERSION = 1.1
+
+ SNAPFILE = boxes-SNAP-$(shell date +%Y%m%d)
+diff -Naur boxes-1.1-orig/src/Makefile boxes-1.1/src/Makefile
+--- boxes-1.1-orig/src/Makefile 2007-03-30 14:59:03.000000000 -0600
++++ boxes-1.1/src/Makefile 2007-03-30 15:02:37.000000000 -0600
+@@ -86,7 +86,7 @@
+ LEX = flex
+ YACC = bison
+ CC = gcc
+-CFLAGS = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
++CFLAGS += -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
+ LDFLAGS = -Lregexp
+
+ GEN_HDR = parser.h
+@@ -106,8 +106,7 @@
+
+
+ build:
+- $(MAKE) CFLAGS_ADDTL=-O boxes
+- strip boxes
++ $(MAKE) boxes
+ debug:
+ $(MAKE) CFLAGS_ADDTL=-g boxes
+
+diff -Naur boxes-1.1-orig/src/regexp/Makefile boxes-1.1/src/regexp/Makefile
+--- boxes-1.1-orig/src/regexp/Makefile 2007-03-30 14:59:03.000000000 -0600
++++ boxes-1.1/src/regexp/Makefile 2007-03-30 15:03:10.000000000 -0600
+@@ -42,7 +42,7 @@
+ #============================================================================
+
+
+-CFLAGS = -O -I. $(CFLAGS_ADDTL)
++CFLAGS += -I. $(CFLAGS_ADDTL)
+
+ ALL_CL = regexp/regexp.c regexp/regsub.c
+ C_SRC = $(notdir $(ALL_CL))
diff --git a/app-misc/boxes/files/digest-boxes-1.1 b/app-misc/boxes/files/digest-boxes-1.1
new file mode 100644
index 000000000000..9d4c7094a740
--- /dev/null
+++ b/app-misc/boxes/files/digest-boxes-1.1
@@ -0,0 +1,3 @@
+MD5 d2ef9fa28a87bf32b3fe0c47ab82fa97 boxes-1.1.src.tar.gz 138279
+RMD160 40fb3eb5123fc60ec3e270f1dd1d2d9f31f7f900 boxes-1.1.src.tar.gz 138279
+SHA256 c9f931fc9f8e0aeadb370518e3e66f1cbfa956ba7817bcb8f701630f70b711e3 boxes-1.1.src.tar.gz 138279