# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils # Short one-line description of this package. DESCRIPTION="Converts text files to PostScript format for printing." # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="http://www.risacher.org/nenscript/" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://www.risacher.org/nenscript/${P}.tgz" # License of the package. This must match the name of file(s) in # /usr/portage/licenses/. For complex license combination see the developer # docs on gentoo.org for details. LICENSE="public-domain" SLOT="0" KEYWORDS="x86" # Comprehensive list of any and all USE flags leveraged in the ebuild, # with the exception of any ARCH specific flags, i.e. "ppc", "sparc", # "x86" and "alpha". This is a required variable. If the ebuild doesn't # use any USE flags, set to "". IUSE="" # A space delimited list of portage features to restrict. man 5 ebuild # for details. Usually not needed. #RESTRICT="nostrip" # Build-time dependencies, such as # ssl? ( >=dev-libs/openssl-0.9.6b ) # >=dev-lang/perl-5.6.1-r1 # It is advisable to use the >= syntax show above, to reflect what you # had installed on your system when you tested the package. Then # other users hopefully won't be caught without the right version of # a dependency. DEPEND="" # Run-time dependencies, same as DEPEND if RDEPEND isn't defined: #RDEPEND="" # Source directory; the dir where the sources can be found (automatically # unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P} # If you don't need to change it, leave the S= line out of the ebuild # to keep it tidy. S=${WORKDIR}/${P} src_unpack() { unpack ${A} ; cd ${S} epatch ${FILESDIR}/makefile.patch } src_compile() { emake || die "emake failed" } src_install() { # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and # understanding the install part of the Makefiles. # This is the preferred way to install. #make DESTDIR=${D} install || die dobin nenscript || die doman nenscript.1 || die }