Remove gstoraster; it'll be part of ghostscript soon.
This commit is contained in:
parent
bcf7859592
commit
446548b384
@ -1,41 +0,0 @@
|
|||||||
# $OpenBSD: Makefile,v 1.4 2012/02/16 22:10:59 ajacoutot Exp $
|
|
||||||
|
|
||||||
COMMENT = filter to convert PostScript or PDF to cups raster format
|
|
||||||
|
|
||||||
DISTNAME = gstoraster-1.04
|
|
||||||
REVISION = 0
|
|
||||||
|
|
||||||
CATEGORIES = print
|
|
||||||
|
|
||||||
HOMEPAGE = http://cupsaddons.sourceforge.net/
|
|
||||||
|
|
||||||
MAINTAINER = Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
||||||
|
|
||||||
# GPLv2+
|
|
||||||
PERMIT_PACKAGE_CDROM = Yes
|
|
||||||
PERMIT_PACKAGE_FTP = Yes
|
|
||||||
PERMIT_DISTFILES_CDROM =Yes
|
|
||||||
PERMIT_DISTFILES_FTP = Yes
|
|
||||||
|
|
||||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cupsaddons/filter-gstoraster/}
|
|
||||||
|
|
||||||
RUN_DEPENDS = print/ghostscript/gnu>=9.02
|
|
||||||
|
|
||||||
PKG_ARCH = *
|
|
||||||
NO_BUILD = Yes
|
|
||||||
NO_REGRESS = Yes
|
|
||||||
|
|
||||||
WRKDIST = ${WRKDIR}
|
|
||||||
|
|
||||||
pre-configure:
|
|
||||||
${SUBST_CMD} ${WRKDIST}/gstoraster
|
|
||||||
|
|
||||||
do-install:
|
|
||||||
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cups/filter
|
|
||||||
${INSTALL_SCRIPT} ${WRKDIST}/gstoraster ${PREFIX}/libexec/cups/filter
|
|
||||||
cd ${PREFIX}/libexec/cups/filter && ln -s gstoraster pstoraster
|
|
||||||
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/gstoraster
|
|
||||||
${INSTALL_DATA} ${WRKDIST}/gstoraster.convs ${PREFIX}/share/examples/gstoraster
|
|
||||||
${INSTALL_DATA} ${WRKDIST}/gstoraster.pdf ${PREFIX}/share/doc/gstoraster
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
@ -1,5 +0,0 @@
|
|||||||
MD5 (gstoraster-1.04.tar.gz) = 8j5WueN3F3KqdnZHWPT81A==
|
|
||||||
RMD160 (gstoraster-1.04.tar.gz) = VRqLvMjaQ61IPKCHZqtKCB9jx94=
|
|
||||||
SHA1 (gstoraster-1.04.tar.gz) = uJuhzgQhtLAdSaHbmWLoOKe9Ay0=
|
|
||||||
SHA256 (gstoraster-1.04.tar.gz) = Mcs76OMjid0Vd/OzH5sEgQsEmdmhikDZbdfzpt+bJAU=
|
|
||||||
SIZE (gstoraster-1.04.tar.gz) = 162504
|
|
@ -1,16 +0,0 @@
|
|||||||
$OpenBSD: patch-gstoraster,v 1.2 2011/08/25 10:40:48 ajacoutot Exp $
|
|
||||||
--- gstoraster.orig Tue Aug 2 15:28:57 2011
|
|
||||||
+++ gstoraster Thu Aug 25 12:08:22 2011
|
|
||||||
@@ -61,10 +61,11 @@
|
|
||||||
# the orientation specified by the PPD default page size. Any fit-to-page scaling is not
|
|
||||||
# yet implemented.
|
|
||||||
#
|
|
||||||
+use bytes;
|
|
||||||
use File::Copy;
|
|
||||||
|
|
||||||
# -------------------------- configuration parameters --------------------------
|
|
||||||
-@paths = ('/bin', '/usr/bin', '/usr/local/bin', '/opt/bin');
|
|
||||||
+@paths = ('/bin', '/usr/bin', '${LOCALBASE}/bin');
|
|
||||||
$cmdlpgsz = 1; # set to 1 in order to set page size by commandline option
|
|
||||||
$ignore_gserror = 0; # set to 1 in order to ignore Ghostscript errors
|
|
||||||
$gsname = 'gs'; # the plain name of the Ghostscript executable
|
|
@ -1,10 +0,0 @@
|
|||||||
This filter is designed to replace both the pstoraster and the
|
|
||||||
pdftoraster filter.
|
|
||||||
It honours the *LandscapeOrientation: Plus90 | Minus90 | Any PPD
|
|
||||||
directive (Any interpreted as Plus90) and does the necessary
|
|
||||||
transformation by ordinary PostScript means, thus bypassing the
|
|
||||||
special CTM handling by Ghostscript's cups device (which is equivalent
|
|
||||||
to Minus90).
|
|
||||||
Currently, only the Landscape/Portrait orientation is handled, forcing
|
|
||||||
the output to the orientation specified by the PPD default page size.
|
|
||||||
Any fit-to-page scaling is not yet implemented.
|
|
@ -1,14 +0,0 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.2 2011/07/06 16:07:16 ajacoutot Exp $
|
|
||||||
@conflict ghostscript-<9.02
|
|
||||||
@pkgpath print/ghostscript/gnu
|
|
||||||
@newgroup _cups:541
|
|
||||||
libexec/cups/filter/gstoraster
|
|
||||||
libexec/cups/filter/pstoraster
|
|
||||||
share/doc/gstoraster/
|
|
||||||
share/doc/gstoraster/gstoraster.pdf
|
|
||||||
share/examples/gstoraster/
|
|
||||||
@group _cups
|
|
||||||
@sample ${SYSCONFDIR}/cups/
|
|
||||||
@group
|
|
||||||
share/examples/gstoraster/gstoraster.convs
|
|
||||||
@sample ${SYSCONFDIR}/cups/gstoraster.convs
|
|
Loading…
Reference in New Issue
Block a user