summaryrefslogtreecommitdiff
path: root/app-doc/psmark
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-doc/psmark
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-doc/psmark')
-rw-r--r--app-doc/psmark/Manifest1
-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.xml11
-rw-r--r--app-doc/psmark/psmark-2.1.ebuild35
5 files changed, 81 insertions, 0 deletions
diff --git a/app-doc/psmark/Manifest b/app-doc/psmark/Manifest
new file mode 100644
index 0000000000..8615609718
--- /dev/null
+++ b/app-doc/psmark/Manifest
@@ -0,0 +1 @@
+DIST psmark-v2.1.tar.gz 16296 SHA256 de7df2cb5fbad408406c96a3eccd14f219424a2d42394e64b4c73027f26dd8b4 SHA512 0a765dda878478e767ae02ac0838a9c36a110000b35d557b1b3d17d22c518f42249cd4eba856b476ba8042e026cb49f736077d3bf236f2a9a4f3df4ff4357fef WHIRLPOOL 4113ee8e8b30826e9ce3463c20fd8317726faac3e655630a863cd8a91b59c6014095565340bb2ba68ddfe5b819de675613e2d371af021d00345dda92e3ba5a20
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 0000000000..30a81498bf
--- /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 0000000000..f520f8b5e6
--- /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 0000000000..125dad9375
--- /dev/null
+++ b/app-doc/psmark/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<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 0000000000..4f5983b4e7
--- /dev/null
+++ b/app-doc/psmark/psmark-2.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="http://www.antitachyon.com/Content/10_Produkte/50_Utilities/psmark/"
+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
+}