summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-23 01:49:02 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-23 01:49:02 +0000
commit2550eda32256ff5de94773b0e944b641576443d9 (patch)
treee389d6e651924e897734e7d225cd48c77ae94101 /net-print
parentVersion bump. (diff)
downloadgentoo-2-2550eda32256ff5de94773b0e944b641576443d9.tar.gz
gentoo-2-2550eda32256ff5de94773b0e944b641576443d9.tar.bz2
gentoo-2-2550eda32256ff5de94773b0e944b641576443d9.zip
Version bump.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/apsfilter/ChangeLog7
-rw-r--r--net-print/apsfilter/apsfilter-7.2.8.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/net-print/apsfilter/ChangeLog b/net-print/apsfilter/ChangeLog
index 2d27bd3dec6c..6141ecb05141 100644
--- a/net-print/apsfilter/ChangeLog
+++ b/net-print/apsfilter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/apsfilter
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/ChangeLog,v 1.19 2011/06/05 20:57:22 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/ChangeLog,v 1.20 2011/08/23 01:49:02 radhermit Exp $
+
+*apsfilter-7.2.8 (23 Aug 2011)
+
+ 23 Aug 2011; Tim Harder <radhermit@gentoo.org> +apsfilter-7.2.8.ebuild:
+ Version bump.
*apsfilter-7.2.7 (05 Jun 2011)
diff --git a/net-print/apsfilter/apsfilter-7.2.8.ebuild b/net-print/apsfilter/apsfilter-7.2.8.ebuild
new file mode 100644
index 000000000000..b38311c8ab8c
--- /dev/null
+++ b/net-print/apsfilter/apsfilter-7.2.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/apsfilter-7.2.8.ebuild,v 1.1 2011/08/23 01:49:02 radhermit Exp $
+
+EAPI=4
+
+DESCRIPTION="Apsfilter Prints So Fine, It Leads To Extraordinary Results"
+HOMEPAGE="http://www.apsfilter.org"
+SRC_URI="http://www.apsfilter.org/download/${P}.tar.bz2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="cups"
+SLOT="0"
+LICENSE="GPL-2"
+
+RDEPEND="|| ( net-print/cups net-print/lprng )
+ app-text/ghostscript-gpl
+ >=app-text/psutils-1.17
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ >=app-text/a2ps-4.13b-r4
+ >=sys-apps/gawk-3.1.0-r1
+ virtual/mta"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ # assume thet lprng is installed if cups isn't USEd
+ use cups && \
+ myconf="--with-printcap=/etc/cups/printcap --with-spooldir=/var/spool/cups" || \
+ myconf="--with-printcap=/etc/lprng/printcap"
+
+ # econf doesn't work here :(
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/${PF} --sysconfdir=/etc ${myconf} || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+ dosym /usr/share/apsfilter/SETUP /usr/bin/apsfilter
+ use cups && \
+ dosym /etc/cups/printcap /etc/printcap || \
+ dosym /etc/lprng/printcap /etc/printcap
+}