summaryrefslogtreecommitdiff
path: root/app-doc/psmark
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/psmark')
-rw-r--r--app-doc/psmark/Manifest7
-rw-r--r--app-doc/psmark/files/psmark-2.1-Makefile-QA.patch19
-rw-r--r--app-doc/psmark/files/psmark-2.1-string.patch15
-rw-r--r--app-doc/psmark/metadata.xml9
-rw-r--r--app-doc/psmark/psmark-2.1.ebuild34
5 files changed, 84 insertions, 0 deletions
diff --git a/app-doc/psmark/Manifest b/app-doc/psmark/Manifest
new file mode 100644
index 000000000000..4c8a6a012b39
--- /dev/null
+++ b/app-doc/psmark/Manifest
@@ -0,0 +1,7 @@
+AUX psmark-2.1-Makefile-QA.patch 399 SHA256 99aa55fcd984b08ed79cc7dbcb31590d90c8e5317e2608752732b466b020a5b4 SHA512 efdcccc2e206cc55617e5a895bc7f2e66f0d5dac5dd459c372544658682bec5419c36628109f2d877fbca7f411e7e40af111fdfc96ec37530a5025c4eb9e9ff3 WHIRLPOOL f7394d8a95a2a87627b18f5e9fce75c915bc18a7015f1b8a7273a17eb9d770164c783800ce9ecace64971f1d71e9588dd92ca95855b6af63f7a4a9d24d155908
+AUX psmark-2.1-string.patch 741 SHA256 d52b195ee4a565cbe04cdd730b3b6d8ec2838f42e6c5b913852ae1d053118446 SHA512 bb10c379ef84d13a0c0f6b84ac19132f8f0352582c0441f3f626c94065dc79a68b1796222f9fe13f873b7638a39ea942d80385658ac461df023707ae2bfee158 WHIRLPOOL 5e52cccf5c8b9ebdedbcb31ed1ff6705421ee67839611511f1f7aec1ea5d6229b93aceaa9052c8781e560994001777ac1e92593757698ca9c7326bcae2cde09f
+DIST psmark-v2.1.tar.gz 16296 SHA256 de7df2cb5fbad408406c96a3eccd14f219424a2d42394e64b4c73027f26dd8b4 SHA512 0a765dda878478e767ae02ac0838a9c36a110000b35d557b1b3d17d22c518f42249cd4eba856b476ba8042e026cb49f736077d3bf236f2a9a4f3df4ff4357fef WHIRLPOOL 4113ee8e8b30826e9ce3463c20fd8317726faac3e655630a863cd8a91b59c6014095565340bb2ba68ddfe5b819de675613e2d371af021d00345dda92e3ba5a20
+EBUILD psmark-2.1.ebuild 673 SHA256 aaeb99c9b2a4fbb1e5d8ffc63e480011dc3f80bab2344cab433562a5764d1684 SHA512 40b25dc411accf7831a528cb98d0ae68610872a1763fd82bc0112f6b79ec5a0646f66d7ff0a2bf90edb303dd819443ed8f3bee1980fe48246e29f89db85ea463 WHIRLPOOL dcae157625e0a544d7cb86b9233b4be56eb6648eb8e15872e3bae55e1d36aa3401d9ebd9211cadcc3f9eead6b77140a81fb51af62c528d6b760697c9522fc444
+MISC ChangeLog 2834 SHA256 b0d942b2e515d9fa514073fa38e9d0989dbef6a3ca1bd4f6a55e1e2465506cca SHA512 f473930725fbef13e544fe276755727a94f91bbae79838b4309603af82e624ed9c05c204fc34c9f9d693d5e4822102215d8f441e741249dc22a7753fa9470e4b WHIRLPOOL 3d8bf09d6b7f119d2f29ea28ead5956b5112f578d0a476d1b31875c89970000d40a3dcacc50c934b289131431f5cb3bd811f189d760f270ac6450812519235b0
+MISC ChangeLog-2015 1135 SHA256 e0e8cd1bb757834c1d4f8143d3eee8a8ce76f1a0fb0527ea32a0e74f48117aa3 SHA512 4fc47c242c70ee1b53c9cd97a6677fcbbab5b1ae9367aa6a483b1af21010183a4637ae1e2f76d967009ca95fb8eeb2abd5b5d8ec6c67f6f331dc2c4398cc4c66 WHIRLPOOL a43a74467b49cd6b6da10d594f32cb8653614f5f3d59c61c0c868cf58bc5ca6f7bee8c6c3c1907de050fbc4dcea611180a1e7bcbab41f360aedbb880199c42f4
+MISC metadata.xml 386 SHA256 11d13a3a4fae3f2bce5208a090f9aee64c530ebd0e2721fde4070770b48dea15 SHA512 370998924fccef0a77f7be68c6f582a0ffc34196555189f0d5e0400817d2983abbb755aaf12fa90411e784082cd395dfbb6c29155675bc6f64b351771f715193 WHIRLPOOL 8c112c81335b0f7241ad4a062494ebf5c921c72f5fc882ad1ad270075bb84f24681e33a2c795de081c0f0f34ca8c1b2a2097faf5c71257559d3ad1b0cb6de811
diff --git a/app-doc/psmark/files/psmark-2.1-Makefile-QA.patch b/app-doc/psmark/files/psmark-2.1-Makefile-QA.patch
new file mode 100644
index 000000000000..30a81498bf6d
--- /dev/null
+++ b/app-doc/psmark/files/psmark-2.1-Makefile-QA.patch
@@ -0,0 +1,19 @@
+--- Makefile.original 2009-10-04 19:06:09.000000000 -0600
++++ Makefile 2009-10-04 19:08:25.000000000 -0600
+@@ -3,14 +3,13 @@
+ all:
+ make clean
+ make psmark
+
+ psmark:
+- gcc $(CFLAGS) -o psmark psmark.c
+- strip psmark
++ $(CC) $(CFLAGS) $(LDFLAGS) -o psmark psmark.c
+
+ clean:
+ rm -f *.o psmark
+
+ install:
+- install -s psmark /usr/bin/
++ install psmark /usr/bin/
+ install psmark.1 /usr/man/man1/
diff --git a/app-doc/psmark/files/psmark-2.1-string.patch b/app-doc/psmark/files/psmark-2.1-string.patch
new file mode 100644
index 000000000000..f520f8b5e6de
--- /dev/null
+++ b/app-doc/psmark/files/psmark-2.1-string.patch
@@ -0,0 +1,15 @@
+--- psmark.c.orig 2006-06-06 23:43:19.000000000 -0700
++++ psmark.c 2006-06-06 23:44:27.000000000 -0700
+@@ -97,9 +97,9 @@
+ progname);
+ fprintf(stderr,"example:\n %s -i test.ps -o output.ps -b 0.4 -s 15 \"vertical label\""
+ "\n\n",progname);
+- fprintf(stderr,"Notes: The offsets are measured from the bottom left hand corner, but
+- they are not in sync with the page corner: some fiddling is required
+- to get text to appear right in the corner.\n"
++ fprintf(stderr,"Notes: The offsets are measured from the bottom left hand corner, but\n"
++ "they are not in sync with the page corner: some fiddling is required\n"
++ "to get text to appear right in the corner.\n"
+ );
+
+ exit(error ? EXIT_FAILURE : EXIT_SUCCESS);
diff --git a/app-doc/psmark/metadata.xml b/app-doc/psmark/metadata.xml
new file mode 100644
index 000000000000..3eac7901d842
--- /dev/null
+++ b/app-doc/psmark/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>Command-line Postscript watermark tool; simple, but useful
+for things like adding a watermark to outgoing or incoming faxes (eg, use
+with the sendfax command from net-misc/hylafax).
+</longdescription>
+</pkgmetadata>
diff --git a/app-doc/psmark/psmark-2.1.ebuild b/app-doc/psmark/psmark-2.1.ebuild
new file mode 100644
index 000000000000..e11fae44bd4d
--- /dev/null
+++ b/app-doc/psmark/psmark-2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+MY_PN=${PN}-v
+MY_P=${MY_PN}${PV}
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="Prints watermark-like text on any PostScript document"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://www.antitachyon.com/download/${MY_P}.tar.gz"
+
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-string.patch\
+ "${FILESDIR}"/${P}-Makefile-QA.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin psmark
+ doman psmark.1
+ dodoc README CHANGELOG
+}