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
commit09101c876f2d5c7baa7ed7989e3025795393c1e0 (patch)
tree80144dfa94d7a006a2a455fd470289e8ac6c6e46 /app-text/mbtpdfasm
parentCleanup ebuild and create softlinks instead of hardlinks. (diff)
downloadgentoo-2-09101c876f2d5c7baa7ed7989e3025795393c1e0.tar.gz
gentoo-2-09101c876f2d5c7baa7ed7989e3025795393c1e0.tar.bz2
gentoo-2-09101c876f2d5c7baa7ed7989e3025795393c1e0.zip
initial commit, solving bug #75337.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'app-text/mbtpdfasm')
-rw-r--r--app-text/mbtpdfasm/ChangeLog10
-rw-r--r--app-text/mbtpdfasm/Manifest9
-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, 85 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..be5937f0e2be
--- /dev/null
+++ b/app-text/mbtpdfasm/Manifest
@@ -0,0 +1,9 @@
+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 7871882bef638ea9d5e2cb62e39fa62d mbtpdfasm-1.0.26.ebuild 1213
+RMD160 cc1bb1dea52ffd0eb04de45abcd040c0801dccca mbtpdfasm-1.0.26.ebuild 1213
+SHA256 991be2337b376acdc10b6c967d4741c6a50be5811fe050a9ba552c0089ecf268 mbtpdfasm-1.0.26.ebuild 1213
+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>