# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="An HTML preprocessor" HOMEPAGE="http://htp.sourceforge.net/" SRC_URI="mirror://sourceforge/htp/${P}.tar.gz" LICENSE="Clarified-Artistic" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha" IUSE="" DEPEND="virtual/glibc" RDEPEND="virtual/glibc" # HTP does not use autoconf, have to set options defined in Makefile.config src_unpack() { unpack ${A} || die # Patch to remove meta-generator tag with "ego-gratifying Easter egg": patch "${S}/src/misc-proc.c" << EOF || die @@ -24,10 +23,0 @@ - /* authors ego-gratifying easter egg */ - /* put a generator meta-tag at the end of the HTML header */ - StreamPrintF(task->outfile, - "outfile, " />\n"); - } else { - StreamPrintF(task->outfile, ">\n"); - } EOF } src_compile() { emake CCOPT="-c ${CFLAGS}" || die } src_install() { make DESTDIR="${D}" prefix="${D}/usr" pkgdocdir="${D}/usr/share/doc/${PF}" \ install || die }