summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-02-17 22:38:44 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-02-17 22:38:44 +0000
commitcb6be02d04263bd58a9da161d94a3eebb6345f39 (patch)
tree4bbdf8e6b170ed24fb3151e8537fa10491774843 /net-print/adobeps
parentversion bump; major ebuild cleanup wrt #208584 (diff)
downloadgentoo-2-cb6be02d04263bd58a9da161d94a3eebb6345f39.tar.gz
gentoo-2-cb6be02d04263bd58a9da161d94a3eebb6345f39.tar.bz2
gentoo-2-cb6be02d04263bd58a9da161d94a3eebb6345f39.zip
initial commit.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-print/adobeps')
-rw-r--r--net-print/adobeps/ChangeLog10
-rw-r--r--net-print/adobeps/Manifest17
-rw-r--r--net-print/adobeps/adobeps-1.0.6.ebuild88
-rw-r--r--net-print/adobeps/metadata.xml9
4 files changed, 124 insertions, 0 deletions
diff --git a/net-print/adobeps/ChangeLog b/net-print/adobeps/ChangeLog
new file mode 100644
index 000000000000..f61379430636
--- /dev/null
+++ b/net-print/adobeps/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/adobeps
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/adobeps/ChangeLog,v 1.1 2008/02/17 22:38:44 sbriesen Exp $
+
+*adobeps-1.0.6 (17 Feb 2008)
+
+ 17 Feb 2008; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +adobeps-1.0.6.ebuild:
+ initial commit.
+
diff --git a/net-print/adobeps/Manifest b/net-print/adobeps/Manifest
new file mode 100644
index 000000000000..d4be16f91306
--- /dev/null
+++ b/net-print/adobeps/Manifest
@@ -0,0 +1,17 @@
+DIST Winstchs.exe 7763014 RMD160 40500d826419f0abba45295fb1d90c4a2513961b SHA1 bdde8922a655e27a0cf426bd63a5fa0a46e39b72 SHA256 4af84c26ad901cde09571930b7d228dfc88327711b5360f6441147443afcbcad
+DIST winstDan.exe 7815273 RMD160 d41aef98f9ab73afa4698cd80d5591771303685c SHA1 eba8d7408d94845ffcc16396f323a538a6db8a8f SHA256 a95c420208cb90be6d741214c56d130793eaad415a6fcece120516c993f5340f
+DIST winstbrz.exe 7820627 RMD160 dc27d9679413ed07dc29775092e90f4007d9b62e SHA1 04b1cb06d0229ccd7fc43c50b0ebfd4c405bb1a7 SHA256 4585b2749e1bc227cabcfebdd1729183deb769ba4c18f12df58defc59545559d
+DIST winstdut.exe 7835281 RMD160 f9a14af43058d64b95048cba9b61e5b3c94a0561 SHA1 665b276b90d1a11e5b08f8994a8918d07fddaa31 SHA256 bd82ad3616c3572262c03590832f19cd872afb07b8eea4e6540d33a6906ac815
+DIST winsteng.exe 7740765 RMD160 519b9c66dcd358a3a0ea9449526498c139553f15 SHA1 1d5de340ec3e165cf56da87c20434ad077f2bb86 SHA256 45a66f17f7c34e268fac4f40e829a3fb676c50d137e38fdee225ee1bcda189d0
+DIST winstfin.exe 7821985 RMD160 0ddaa2783f37fa09d8647ae732ea564514293a20 SHA1 301020fa0758a6d256c83b49f94db1b63944d6bf SHA256 ecd28749632525287b562817580eea81e3cdef31c585d8a81a25bdca013e79d7
+DIST winstfre.exe 7834972 RMD160 d1e2abf6c7b113b915eca51de7a0e782862e5117 SHA1 28540a240993b128cb9f5b9668f5147909b21ca8 SHA256 60a47b14c43c5da5b29a5af064f6fa1bccce8c19d574cfde49b538d9f58a8866
+DIST winstger.exe 7849748 RMD160 74f83166d0182635decc3e20c22256c6752a73d5 SHA1 fce5c1d8f44d5227ba334dd24e6d369b875e98f0 SHA256 15990b737acd3c0b5eb7c7c1829c82c7cf061e7d86d9e9ac171c5a4adc06158e
+DIST winstita.exe 7839874 RMD160 125f70b2f604ead717df9d0d441cfe54b2fc326b SHA1 d171a8c9dee346c99efa1193a6eb9b20e9ec11bf SHA256 9bb47ecb4918596668475ca716e417ca6e502df305c84a99ab6a4746ebea5d49
+DIST winstjpn.exe 7852247 RMD160 c092ac909a9290643cd648b820767b51e04cac8d SHA1 9408f6f76551f8bf941ccf090b06a7d19a59d81b SHA256 c08e8ed2c7bf366932f95267e829f8aae1cf52b7193bd0f6877b80db357ec79a
+DIST winstkor.exe 7794202 RMD160 b6f2f2f242064e236cd1bcdc72eda147281f9619 SHA1 33b36c301d3afdf4191616c7f5cdf2c35739ce52 SHA256 4faef9c08136cd5658d8961786e7ad6494189401c028c369d88340638cd1fe8a
+DIST winstnor.exe 7827002 RMD160 e20da1aa880687e6803352c4470239688b0acd3c SHA1 29855f55a654faa3b607519a7289663dd5f46801 SHA256 55171e86fff838bd056b1964c9e1f7ef07ced81e30dc7f41b464390852998c11
+DIST winstspa.exe 7839771 RMD160 fdb0d86e58256795b3c949dad45e9ee8d212b09a SHA1 3bd907f1f65619865f3f71b42a455ba5afd35ace SHA256 7930f5dd895e29670ec98f63155df09f55adb4b4a7b0cfe833a8cb3365cf3993
+DIST winstswe.exe 7803620 RMD160 98d22b11b32d53bd3045cd13bd17057cc56d3142 SHA1 019df8a5ae9c67dc5d9977f7c45a1c154520e717 SHA256 f2d7b2f15048e21a69b0d31e3fa19d275a6a132d7c95e03420be39c11828d103
+EBUILD adobeps-1.0.6.ebuild 2714 RMD160 c28e173019f8e76cac63d44f2d0cffa66e35bd63 SHA1 66ca76f9dc1c2756b1279977a98616929db7c868 SHA256 1c8bce10babe80f755eeaf45b548ca29aaca9041d0e02fdb7fbaf5c0365d570c
+MISC ChangeLog 262 RMD160 f366928174271d4941f5f7d39fcfa00c5980fafc SHA1 5616621a409d1d4e4dcadb86345fbb98d12c6126 SHA256 a0b6280a236ffd6cdb400d759b7cb9da299b3f9f69037176c7e9ca97787cca9f
+MISC metadata.xml 260 RMD160 ec3e42bcfecae9e6ec261e08c455086395cb31d7 SHA1 4bd905c3b4ec03f6ff5443d315cc0ee9e6de4441 SHA256 3daf3f2d4dff9acd7d244b31f754164ad4d8a5d0243a4ca117ec9118ff31f98f
diff --git a/net-print/adobeps/adobeps-1.0.6.ebuild b/net-print/adobeps/adobeps-1.0.6.ebuild
new file mode 100644
index 000000000000..0038d1b43fb9
--- /dev/null
+++ b/net-print/adobeps/adobeps-1.0.6.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/adobeps/adobeps-1.0.6.ebuild,v 1.1 2008/02/17 22:38:44 sbriesen Exp $
+
+inherit eutils
+
+DESCRIPTION="Adobe PostScript drivers for Windows for use with CUPS"
+HOMEPAGE="http://www.adobe.com/support/downloads/product.jsp?product=44&platform=Windows"
+SRC_URI_BASE="ftp://ftp.adobe.com/pub/adobe/printerdrivers/win/1.x"
+SRC_URI=""
+
+LICENSE="AdobePS"
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cups"
+
+DEPEND="app-arch/cabextract"
+RDEPEND="cups? ( >=net-print/cups-1.2 )"
+
+IUSE_LINGUAS=( en da de es fi fr it ja ko nl no pt_BR se zh_CN )
+IUSE_FILES=( winsteng winstDan winstger winstspa winstfin winstfre winstita
+ winstjpn winstkor winstdut winstnor winstbrz winstswe Winstchs ) # winstcht
+
+IUSE_LANGS=""
+IUSE_CLOSE=""
+for ((X=0; X < ${#IUSE_LINGUAS[*]}; X++)); do
+ IUSE="${IUSE} linguas_${IUSE_LINGUAS[X]}"
+ SRC_URI="${SRC_URI} linguas_${IUSE_LINGUAS[X]}? ( ${SRC_URI_BASE}/${IUSE_FILES[X]}.exe )"
+ IUSE_LANGS="${IUSE_LANGS} !linguas_${IUSE_LINGUAS[X]}? ("
+ IUSE_CLOSE="${IUSE_CLOSE} )"
+done
+SRC_URI="${SRC_URI} ${IUSE_LANGS} ${SRC_URI_BASE}/${IUSE_FILES[0]}.exe${IUSE_CLOSE}"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ local X L=""
+ ADOBEPS_LANG=""
+ for X in ${LINGUAS}; do
+ if [[ " ${IUSE_LINGUAS[*]} " =~ " ${X} " ]]; then
+ [ -z "${ADOBEPS_LANG}" ] && ADOBEPS_LANG="${X}"
+ L="${L} ${X}"
+ fi
+ done
+ if [ -z "${ADOBEPS_LANG}" ]; then
+ L="${IUSE_LINGUAS[0]}"; ADOBEPS_LANG="${L}"
+ fi
+ elog "Selected languages:" ${L}
+ use cups && elog "CUPS drivers language: ${ADOBEPS_LANG}"
+}
+
+src_unpack() {
+ local X L
+ for ((X=0; X < ${#IUSE_LINGUAS[*]}; X++)); do
+ L="${IUSE_LINGUAS[X]}"
+ if use linguas_${L} || [ "${L}" = "${ADOBEPS_LANG}" ]; then
+ cabextract -Lq -d "${S}/${IUSE_LINGUAS[X]}" \
+ "${DISTDIR}/${IUSE_FILES[X]}.exe" || die "unpack failed"
+ fi
+ done
+}
+
+src_install() {
+ local X
+ for X in ${IUSE_LINGUAS[*]}; do
+ if use linguas_${X} || [ "${X}" = "${ADOBEPS_LANG}" ]; then
+ # files and filenames taken from cupsaddsmb man-page
+ insinto "/usr/share/${PN}/${X}"
+ # Windows 2000 and higher
+ doins ${X}/winxp/{ps5ui.dll,pscript.hlp,pscript.ntf,pscript5.dll}
+ # Windows 95, 98, and Me
+ newins ${X}/windows/adfonts.mfm ADFONTS.MFM
+ newins ${X}/windows/adobeps4.drv ADOBEPS4.DRV
+ newins ${X}/windows/adobeps4.hlp ADOBEPS4.HLP
+ newins ${X}/windows/iconlib.dll ICONLIB.DLL
+ newins ${X}/windows/psmon.dll PSMON.DLL
+ fi
+ done
+ # symlink primary language to cups drivers
+ if use cups; then
+ dodir /usr/share/cups/drivers
+ for X in ps5ui.dll pscript.hlp pscript.ntf pscript5.dll \
+ ADFONTS.MFM ADOBEPS4.DRV ADOBEPS4.HLP ICONLIB.DLL PSMON.DLL; do
+ dosym "../../${PN}/${ADOBEPS_LANG}/${X}" "/usr/share/cups/drivers/${X}"
+ done
+ fi
+}
diff --git a/net-print/adobeps/metadata.xml b/net-print/adobeps/metadata.xml
new file mode 100644
index 000000000000..abc550987baf
--- /dev/null
+++ b/net-print/adobeps/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+</pkgmetadata>