summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-27 16:46:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-27 16:46:21 +0000
commitdc63c85c173fab28835e29231e594beb3e54fbd7 (patch)
tree4081ceb11b2a34b85f10744d5934f8c8450d8574 /net-misc
parentStable on amd64 and remove old (diff)
downloadgentoo-2-dc63c85c173fab28835e29231e594beb3e54fbd7.tar.gz
gentoo-2-dc63c85c173fab28835e29231e594beb3e54fbd7.tar.bz2
gentoo-2-dc63c85c173fab28835e29231e594beb3e54fbd7.zip
version bump, bug #140242
(Portage version: 2.1.4)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/hsc/ChangeLog11
-rw-r--r--net-misc/hsc/files/digest-hsc-1.0b3
-rw-r--r--net-misc/hsc/files/hsc-1.0b-cflags.patch45
-rw-r--r--net-misc/hsc/files/hsc-1.0b-nostrip.patch18
-rw-r--r--net-misc/hsc/hsc-1.0b.ebuild34
5 files changed, 109 insertions, 2 deletions
diff --git a/net-misc/hsc/ChangeLog b/net-misc/hsc/ChangeLog
index 685654b4023e..cccb296bd9bf 100644
--- a/net-misc/hsc/ChangeLog
+++ b/net-misc/hsc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/hsc
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hsc/ChangeLog,v 1.11 2007/02/09 04:47:31 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hsc/ChangeLog,v 1.12 2008/01/27 16:46:21 aballier Exp $
+
+*hsc-1.0b (27 Jan 2008)
+
+ 27 Jan 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/hsc-1.0b-cflags.patch, +files/hsc-1.0b-nostrip.patch,
+ +hsc-1.0b.ebuild:
+ version bump, bug #140242
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-misc/hsc/files/digest-hsc-1.0b b/net-misc/hsc/files/digest-hsc-1.0b
new file mode 100644
index 000000000000..3b6f6da8229d
--- /dev/null
+++ b/net-misc/hsc/files/digest-hsc-1.0b
@@ -0,0 +1,3 @@
+MD5 c06248b01ba1191c23918ad2252adbb4 hsc-1.0b.tar.bz2 623192
+RMD160 aaf00b9bd92a669e7363d28edfb338cd9fdd7a96 hsc-1.0b.tar.bz2 623192
+SHA256 4c3e4b7a96851d8a8cd4c0ce7135c9730f2fb63b0ae3555183b0285d04b38a81 hsc-1.0b.tar.bz2 623192
diff --git a/net-misc/hsc/files/hsc-1.0b-cflags.patch b/net-misc/hsc/files/hsc-1.0b-cflags.patch
new file mode 100644
index 000000000000..1459d5ad049a
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-cflags.patch
@@ -0,0 +1,45 @@
+Index: hsc-1.0/configure.in
+===================================================================
+--- hsc-1.0.orig/configure.in
++++ hsc-1.0/configure.in
+@@ -46,12 +46,12 @@ case $host in
+ ;;
+ esac
+ echo "Configuring for $SYSTEM"
+-CFLAGS="-Wall -pedantic"
++CFLAGS="$CFLAGS -Wall -pedantic"
+
+ AC_ARG_ENABLE(debug,
+ AS_HELP_STRING([--enable-debug],[Compile programs with GDB support and debugging output]),
+ [CFLAGS="$CFLAGS -ggdb -g3 -DDEBUG"; REGEXDEBUG="regex/printchar.o"],
+- CFLAGS="$CFLAGS -fomit-frame-pointer -Os")
++ CFLAGS="$CFLAGS")
+ AC_ARG_ENABLE(efence,
+ AS_HELP_STRING([--enable-efence],[Link with efence library for memory debugging]),
+ CFLAGS="$CFLAGS -lefence")
+Index: hsc-1.0/src/regex/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/regex/Makefile.in
++++ hsc-1.0/src/regex/Makefile.in
+@@ -29,7 +29,7 @@ version = 0.12
+ CPPFLAGS =
+
+ # Likewise, you can override CFLAGS to optimize, use -Wall, etc.
+-CFLAGS = -g
++#CFLAGS = -g
+
+ # Ditto for LDFLAGS and LOADLIBES.
+ LDFLAGS =
+Index: hsc-1.0/src/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/Makefile.in
++++ hsc-1.0/src/Makefile.in
+@@ -27,7 +27,7 @@ DATADIR=@datadir@
+
+ CFLAGS = @CFLAGS@ -D@SYSTEM@ -I.
+ COMP = @CC@ -o $@ $(CFLAGS)
+-LINK = @CC@ -o $@ $(CFLAGS)
++LINK = @CC@ -o $@ $(CFLAGS) $(LDFLAGS)
+ LINKLIBS= @LINKLIBS@
+ MOVE = mv
+ COPY = cp
diff --git a/net-misc/hsc/files/hsc-1.0b-nostrip.patch b/net-misc/hsc/files/hsc-1.0b-nostrip.patch
new file mode 100644
index 000000000000..af4cc947d8fd
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-nostrip.patch
@@ -0,0 +1,18 @@
+Index: hsc-1.0/src/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/Makefile.in
++++ hsc-1.0/src/Makefile.in
+@@ -87,10 +87,9 @@ rex:
+ # installation
+ #--------------------------------------------------------------------
+ install : all
+- strip $(EXE_ALL)
+- $(INSTALL) -Ds hsc/hsc $(BINDIR)/hsc
+- $(INSTALL) -Ds hsctools/hscdepp $(BINDIR)/hscdepp
+- $(INSTALL) -Ds hsctools/hscpitt $(BINDIR)/hscpitt
++ $(INSTALL) -D hsc/hsc $(BINDIR)/hsc
++ $(INSTALL) -D hsctools/hscdepp $(BINDIR)/hscdepp
++ $(INSTALL) -D hsctools/hscpitt $(BINDIR)/hscpitt
+
+ #--------------------------------------------------------------------
+ # cleanup - remove all objects and executables
diff --git a/net-misc/hsc/hsc-1.0b.ebuild b/net-misc/hsc/hsc-1.0b.ebuild
new file mode 100644
index 000000000000..35b2799af8d9
--- /dev/null
+++ b/net-misc/hsc/hsc-1.0b.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hsc/hsc-1.0b.ebuild,v 1.1 2008/01/27 16:46:21 aballier Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="An HTML preprocessor using ML syntax"
+HOMEPAGE="http://www.linguistik.uni-erlangen.de/~msbethke/software.html"
+SRC_URI="http://www.linguistik.uni-erlangen.de/~msbethke/binaries/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}-${PV/b/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-cflags.patch"
+ epatch "${FILESDIR}/${P}-nostrip.patch"
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/hsc
+ emake BINDIR="${D}/usr/bin" DATADIR="${D}/usr/share/hsc" \
+ prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" \
+ datadir="${D}/usr/share/hsc" install || die "make install failed"
+}