summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Baidakou <the.dmol@gmail.com>2012-12-25 16:35:00 +0200
committerIvan Baidakou <the.dmol@gmail.com>2012-12-25 16:35:00 +0200
commit11bfde660cf6c90d8e680704f353ff846f018935 (patch)
treed8b40606f45c48aba5eeda5886fb3c74b4c8c490 /dev-java
parentremoved due to moving into java-experimental (diff)
downloaddmol-11bfde660cf6c90d8e680704f353ff846f018935.tar.gz
dmol-11bfde660cf6c90d8e680704f353ff846f018935.tar.bz2
dmol-11bfde660cf6c90d8e680704f353ff846f018935.zip
Initial import
Package-Manager: portage-2.1.11.31 Manifest-Sign-Key: 9BF3548C
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/pcfi/ChangeLog10
-rw-r--r--dev-java/pcfi/Manifest19
-rw-r--r--dev-java/pcfi/files/pcfi-20100809_maven-build.xml157
-rw-r--r--dev-java/pcfi/metadata.xml11
-rw-r--r--dev-java/pcfi/pcfi-20100809.ebuild31
5 files changed, 228 insertions, 0 deletions
diff --git a/dev-java/pcfi/ChangeLog b/dev-java/pcfi/ChangeLog
new file mode 100644
index 0000000..56d1c91
--- /dev/null
+++ b/dev-java/pcfi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/pcfi
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pcfi-20100809 (25 Dec 2012)
+
+ 25 Dec 2012; <dmol@gentoo.org> +pcfi-20100809.ebuild,
+ +files/pcfi-20100809_maven-build.xml:
+ Initial import
+
diff --git a/dev-java/pcfi/Manifest b/dev-java/pcfi/Manifest
new file mode 100644
index 0000000..852466e
--- /dev/null
+++ b/dev-java/pcfi/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX pcfi-20100809_maven-build.xml 7241 SHA256 44c9383836c1bdfb0ffc52a10904e63584467daa5922b15e066cdf261c82b989 SHA512 39fa845740bdbffcc4c783625da898109226ecf2d624b2e0f0de2de0e89e3d349ae8b5fc205538b9f78439bc3bd7d4ae7d30f1f7c3e4c12460cb02e7490a206e WHIRLPOOL d4a46d6222d1dfcd4a1382496fc9a9389d04d6224731d59189e7f07b94ca57cb9782f411009a5760c7b651df37a9f6bc69faf62fa1bdc8609be398b2d0cf68cf
+DIST pcfi-20100809.zip 6748579 SHA256 778de81d346052826b063f43673300a2aee05873fa8f3d7b11f731731f200875 SHA512 59ba26ef720336f4f79f3f40c91b2d8b7431934a12880f059ede6bf49a9eae312c6178e296d7385e25596a38b2fdb9d15fcb06aa291858618f40b6d1a08ea76f WHIRLPOOL 5da8c79feb921b666a46bc1b71d4e68a37c8645021bd05261114b4d60e3d10146f3602dd7fdd1ff0616e8a2d171cf4a50b8f3edc91df5c2a5b1725ac4ba58def
+EBUILD pcfi-20100809.ebuild 643 SHA256 e5e7acf33828be9dc26c648fb1cc55838f58932b47a91a648b0f8761668bd004 SHA512 01bb9eed67cacbbd63372ccaa7d949389b1295bc1989cfcf6e3effc46084c7bd3bb55133dc5ae1587f8c41261e1d4cf1a04f93a9d8047b962dcaa3ff2a3026f9 WHIRLPOOL 46af311eaa8285182993d22f535924ddb80153fa3597e6d4a17d1fb9cd9457ce05010de33f3537abbcfffc1c3034260fd9f77edf476526119393516b46e4af30
+MISC ChangeLog 258 SHA256 d63eca2fcd0ff64be39b4c46de16f05d33ffbad5b339c08b2fe3e55780e28990 SHA512 2c03b745a27021c207652e4de532ae50eec244d62018e940965aee84a3dfcbef08900b0513b741a6454e363fc34016ba9054632d0bec4a2083410cda4c9c542b WHIRLPOOL 44f912c5260a0abaa0aea9ceadfe50dda735b80370ac21ef2b9633b0e6a0e3bd7d8ebc40832ae0ba3b27e86e4b2f82ff28bab364ec39c08fc6c0da8fd8466d81
+MISC metadata.xml 435 SHA256 182dc5bc87730335aea394765d9349dbf28524ad573d86a2af34c02f5df3989d SHA512 217821289fa5e5e1632c7391a84e61fc365b5d3309664feaf9f7a87aac5246c6f62646a43757feb5d3a71196a8a1e739d184930af1ae94071e3871d43687c9d7 WHIRLPOOL 577a935cddfcb3fc8895d8b1934582b52655614ace3c5525b83a544803f22d44f8d629df8fca46522b617e3c1a4c11dd3ce81a93f2138fca1b84b82e82ae03cf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQ2bmUAAoJEMw3yeub81SMTt0IALWr+SvHhaK72zO23t4F+r1n
+F87DscX1vQDK2L2AXff/9/iNE311X3n76LjC+xaaexWTbPMtpYOLnsB7IV6qKQEk
+WG3+mbnRD3NpfiYzMu0Y2Wqztb6iFZVdKM5LCHFm7Qjg+m/canYd+mAbWqJpPWER
+7EB5LNq5SFVXrK46slOo+6As5HMF8v5aAo3k2hMdfmyC2Itd2DWQ4nu0WKd4dZav
+IAVUOWFLHJe3ygKZX/TToFOvTQib1OCMsvMvctRrui1JJES90/vcJ5iwjvYv0fNO
+eZXseLSO1eMKgjwthNb4ShWhFCXb/HzRUA1iokrZ2qcVsuPXNo8TgL0tPJKSs7c=
+=QV6D
+-----END PGP SIGNATURE-----
diff --git a/dev-java/pcfi/files/pcfi-20100809_maven-build.xml b/dev-java/pcfi/files/pcfi-20100809_maven-build.xml
new file mode 100644
index 0000000..ed1713b
--- /dev/null
+++ b/dev-java/pcfi/files/pcfi-20100809_maven-build.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
+<!-- ====================================================================== -->
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Any modifications will be overwritten. -->
+<!-- -->
+<!-- Generated by Maven Ant Plugin on 12/25/12 2:10 PM -->
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<project name="pcfi-from-maven" default="package" basedir=".">
+
+ <!-- ====================================================================== -->
+ <!-- Build environment properties -->
+ <!-- ====================================================================== -->
+
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property file="maven-build.properties"/>
+
+ <property name="maven.build.finalName" value="pcfi-SNAPSHOT"/>
+ <property name="maven.build.dir" value="target"/>
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
+ <property name="maven.build.srcDir.0" value="src/main/java"/>
+ <property name="maven.build.resourceDir.0" value="src/main/resources"/>
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
+ <property name="maven.build.testDir.0" value="src/test/java"/>
+ <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
+
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <property name="maven.settings.offline" value="false"/>
+ <property name="maven.settings.interactiveMode" value="true"/>
+
+ <!-- ====================================================================== -->
+ <!-- Defining classpaths -->
+ <!-- ====================================================================== -->
+
+ <path id="build.classpath"/>
+ <path id="build.test.classpath"/>
+
+ <!-- ====================================================================== -->
+ <!-- Cleaning up target -->
+ <!-- ====================================================================== -->
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.dir}"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile" depends="get-deps" description="Compile the code">
+ <mkdir dir="${maven.build.outputDir}"/>
+ <copy todir="${maven.build.outputDir}">
+ <fileset dir="${maven.build.resourceDir.0}"/>
+ </copy>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Test-compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile-tests"
+ depends="compile"
+ description="Compile the test code"
+ unless="maven.test.skip">
+ <mkdir dir="${maven.build.testOutputDir}"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Run all tests -->
+ <!-- ====================================================================== -->
+
+ <target name="test"
+ depends="compile-tests, junit-missing"
+ unless="junit.skipped"
+ description="Run the test cases"/>
+
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present"/>
+ </target>
+
+ <target name="test-junit-status"
+ depends="test-junit-present">
+ <condition property="junit.missing">
+ <and>
+ <isfalse value="${junit.present}"/>
+ <isfalse value="${maven.test.skip}"/>
+ </and>
+ </condition>
+ <condition property="junit.skipped">
+ <or>
+ <isfalse value="${junit.present}"/>
+ <istrue value="${maven.test.skip}"/>
+ </or>
+ </condition>
+ </target>
+
+ <target name="junit-missing"
+ depends="test-junit-status"
+ if="junit.missing">
+ <echo>=================================== WARNING ===================================</echo>
+ <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
+ <echo>===============================================================================</echo>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Javadoc target -->
+ <!-- ====================================================================== -->
+
+ <target name="javadoc" description="Generates the Javadoc of the application"/>
+
+ <!-- ====================================================================== -->
+ <!-- Package target -->
+ <!-- ====================================================================== -->
+
+ <target name="package" depends="compile,test" description="Package the application">
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
+ compress="true"
+ index="false"
+ basedir="${maven.build.outputDir}"
+ excludes="**/package.html"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- A dummy target for the package named after the type it creates -->
+ <!-- ====================================================================== -->
+
+ <target name="jar" depends="package" description="Builds the jar for the application"/>
+
+ <!-- ====================================================================== -->
+ <!-- Download dependencies target -->
+ <!-- ====================================================================== -->
+
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${maven.settings.offline}" arg2="true"/>
+ </condition>
+ </target>
+
+ <target name="get-deps"
+ depends="test-offline"
+ description="Download all dependencies"
+ unless="maven.mode.offline">
+ <mkdir dir="${maven.repo.local}"/>
+ </target>
+
+</project>
diff --git a/dev-java/pcfi/metadata.xml b/dev-java/pcfi/metadata.xml
new file mode 100644
index 0000000..cbc9b73
--- /dev/null
+++ b/dev-java/pcfi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+Collection of PDF core font information files downloaded from Adobe's
+Developer Center and elsewhere. This collection contains font metrics
+for the 14 PDF core fonts, CMaps for the PDF CJK fonts and the Adobe
+Glyph List.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/pcfi/pcfi-20100809.ebuild b/dev-java/pcfi/pcfi-20100809.ebuild
new file mode 100644
index 0000000..bd71a33
--- /dev/null
+++ b/dev-java/pcfi/pcfi-20100809.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="PDF Core Font Information"
+HOMEPAGE="https://github.com/jukka/pcfi"
+GITHUB_USER="jukka"
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/master.zip -> ${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/${PN}-master"
+
+JAVA_PKG_BSFIX="off"
+
+java_prepare() {
+ cp -v "${FILESDIR}"/${P}_maven-build.xml build.xml
+}
+
+src_install() {
+ java-pkg_newjar target/${PN}-SNAPSHOT.jar ${PN}.jar
+}