summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-03-23 02:08:36 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-03-23 02:08:36 +0000
commitfa4a38d6667e334da463512a4cd7eafc266eaa7b (patch)
treebbd395c4f37c35ce2b1ea3c254206c46e08f0527 /app-text/mbtpdfasm
parentCleanup ebuild and create softlinks instead of hardlinks. (diff)
downloadhistorical-fa4a38d6667e334da463512a4cd7eafc266eaa7b.tar.gz
historical-fa4a38d6667e334da463512a4cd7eafc266eaa7b.tar.bz2
historical-fa4a38d6667e334da463512a4cd7eafc266eaa7b.zip
initial commit, solving bug #75337.
Package-Manager: portage-2.1_pre6-r3
Diffstat (limited to 'app-text/mbtpdfasm')
-rw-r--r--app-text/mbtpdfasm/ChangeLog10
-rw-r--r--app-text/mbtpdfasm/Manifest12
-rw-r--r--app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.263
-rw-r--r--app-text/mbtpdfasm/mbtpdfasm-1.0.26.ebuild50
-rw-r--r--app-text/mbtpdfasm/metadata.xml13
5 files changed, 88 insertions, 0 deletions
diff --git a/app-text/mbtpdfasm/ChangeLog b/app-text/mbtpdfasm/ChangeLog
new file mode 100644
index 000000000000..d9d593743e4f
--- /dev/null
+++ b/app-text/mbtpdfasm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/mbtpdfasm
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/ChangeLog,v 1.1 2006/03/23 02:08:36 sbriesen Exp $
+
+*mbtpdfasm-1.0.26 (23 Mar 2006)
+
+ 23 Mar 2006; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +mbtpdfasm-1.0.26.ebuild:
+ initial commit, solving bug #75337.
+
diff --git a/app-text/mbtpdfasm/Manifest b/app-text/mbtpdfasm/Manifest
new file mode 100644
index 000000000000..99fd318abd87
--- /dev/null
+++ b/app-text/mbtpdfasm/Manifest
@@ -0,0 +1,12 @@
+MD5 c4680a785de5c673cf96afd4b6f46689 ChangeLog 381
+RMD160 d7a7382a90e3cd8fb4f2b077efc4c77b6d74cd5a ChangeLog 381
+SHA256 4044a96e9ff76077637a161cf3083cb62ca0826c8e2124672edc44a59b750ee1 ChangeLog 381
+MD5 2dd6d662aaead3a85a057f8ef75c29e4 files/digest-mbtpdfasm-1.0.26 250
+RMD160 a11171ad56efe728c0d9ee1ba68d5488a601c722 files/digest-mbtpdfasm-1.0.26 250
+SHA256 350ccef86a78a994225f1cf7b212ac30ed7e32b14010a2cfbf90cc0a9c77cc44 files/digest-mbtpdfasm-1.0.26 250
+MD5 b186a7e3a318aa52ffa1e061b664b8f7 mbtpdfasm-1.0.26.ebuild 1319
+RMD160 e318f50f186e143a140501dae8816b2e482c8264 mbtpdfasm-1.0.26.ebuild 1319
+SHA256 b2706273643e6b8f8dc5be242441f7562b6cbce21ae70e1ca76ee77811487501 mbtpdfasm-1.0.26.ebuild 1319
+MD5 1a2146577d6cf6736c81e65fa99c6875 metadata.xml 441
+RMD160 7ccad357d6ccf4e61917d0855832f618df01298b metadata.xml 441
+SHA256 1f8a618fe12a4ba9d5166ba0f4ed5b163df45137f93dcc665e06fab1599e6281 metadata.xml 441
diff --git a/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.26 b/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.26
new file mode 100644
index 000000000000..e201c5fc8de5
--- /dev/null
+++ b/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.26
@@ -0,0 +1,3 @@
+MD5 15434f0098d992d3e7424cb39e9f1f13 mbtPdfAsm-1.0.26.tar.gz 258630
+RMD160 014fb4ee022561a02b286ffc5b8c1a10c3c8418c mbtPdfAsm-1.0.26.tar.gz 258630
+SHA256 13b5e44f245941da701da86e51ebbbd0b0b0632021360df4dd296b73d2b6085a mbtPdfAsm-1.0.26.tar.gz 258630
diff --git a/app-text/mbtpdfasm/mbtpdfasm-1.0.26.ebuild b/app-text/mbtpdfasm/mbtpdfasm-1.0.26.ebuild
new file mode 100644
index 000000000000..faf31d50902f
--- /dev/null
+++ b/app-text/mbtpdfasm/mbtpdfasm-1.0.26.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/mbtpdfasm-1.0.26.ebuild,v 1.1 2006/03/23 02:08:36 sbriesen Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P="mbtPdfAsm-${PV}"
+
+DESCRIPTION="mbtPdfAsm can assemble/merge PDF files, extract information from PDF files, and update the metadata in PDF files."
+HOMEPAGE="http://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html"
+SRC_URI="http://thierry.schmit.free.fr/dev/mbtPdfAsm/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="unicode"
+
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ edos2unix *.txt
+
+ # patch location of help files
+ sed -i -e "s:\(aide.txt\):/usr/share/doc/${PF}/\1:g" \
+ -e "s:\(help.txt\):/usr/share/doc/${PF}/\1:g" string.cpp
+
+ # convert to UTF-8
+ if use unicode; then
+ for i in aide.txt; do
+ einfo "Converting ${i} to UTF-8"
+ iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
+ done
+ fi
+}
+
+src_compile() {
+ # FIXME: ugly, but this way we don't need to patch anything
+ emake CC="$(tc-getCXX) ${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin mbtPdfAsm || die "install failed"
+ insinto /usr/share/doc/${PF}
+ doins *.txt # do not gzip!
+}
diff --git a/app-text/mbtpdfasm/metadata.xml b/app-text/mbtpdfasm/metadata.xml
new file mode 100644
index 000000000000..a5a32727d4b8
--- /dev/null
+++ b/app-text/mbtpdfasm/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <longdescription lang="en">
+ This program can be used to assemble/merge PDF files, extract
+ information from PDF files, and update the metadata in PDF files.
+ </longdescription>
+</pkgmetadata>