diff options
author | Alex Dupre <ale@FreeBSD.org> | 2010-06-28 10:58:49 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2010-06-28 10:58:49 +0000 |
commit | f383fe51162a5a73b2e4e74a7a6926f78501f3f8 (patch) | |
tree | 1a088f329eaf5fee1104e4201fcfbba3e1a40194 /devel/sabre | |
parent | 4120dd1d73405054e0454f1d40ef31d22a2a4cb0 (diff) | |
download | ports-f383fe51162a5a73b2e4e74a7a6926f78501f3f8.tar.gz ports-f383fe51162a5a73b2e4e74a7a6926f78501f3f8.zip |
Notes
Diffstat (limited to 'devel/sabre')
-rw-r--r-- | devel/sabre/Makefile | 37 | ||||
-rw-r--r-- | devel/sabre/distinfo | 3 | ||||
-rw-r--r-- | devel/sabre/files/patch-src_java_de_tu_darmstadt_informatik_rbg_bstickler_udflib_UDFImageBuilderFile.java | 17 | ||||
-rw-r--r-- | devel/sabre/pkg-descr | 15 |
4 files changed, 72 insertions, 0 deletions
diff --git a/devel/sabre/Makefile b/devel/sabre/Makefile new file mode 100644 index 000000000000..d2e4eea71e88 --- /dev/null +++ b/devel/sabre/Makefile @@ -0,0 +1,37 @@ +# Ports collection makefile for: sabre +# Date created: 28 Jun 2010 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= sabre +PORTVERSION= 20100501 +CATEGORIES= devel multimedia java +MASTER_SITES= SF +MASTER_SITE_SUBDIR= sabre-library +DISTNAME= ${PORTNAME}-src-${PORTVERSION} + +MAINTAINER= ale@FreeBSD.org +COMMENT= A Simple API for Binary REpresentations and an UDF Library + +LICENSE= LGPL21 + +WRKSRC= ${WRKDIR}/Simple\ API\ for\ Binary\ REpresentations\ \(SABRE\) +USE_ZIP= yes +USE_JAVA= yes +JAVA_VERSION= 1.5+ +USE_ANT= yes +ALL_TARGET= dist + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/udflib.jar + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/udflib.jar..." + @${INSTALL_DATA} ${WRKSRC}/dist/udflib.jar ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" + +.include <bsd.port.mk> diff --git a/devel/sabre/distinfo b/devel/sabre/distinfo new file mode 100644 index 000000000000..27df7e638655 --- /dev/null +++ b/devel/sabre/distinfo @@ -0,0 +1,3 @@ +MD5 (sabre-src-20100501.zip) = 02bda404f1883851622e9390067d6c1f +SHA256 (sabre-src-20100501.zip) = 705fd496b8f5ca38a3cd7fe65cea4acd8c860db731dc72f4c6f51cf87dd750ee +SIZE (sabre-src-20100501.zip) = 1622423 diff --git a/devel/sabre/files/patch-src_java_de_tu_darmstadt_informatik_rbg_bstickler_udflib_UDFImageBuilderFile.java b/devel/sabre/files/patch-src_java_de_tu_darmstadt_informatik_rbg_bstickler_udflib_UDFImageBuilderFile.java new file mode 100644 index 000000000000..cef9ccd6a3f0 --- /dev/null +++ b/devel/sabre/files/patch-src_java_de_tu_darmstadt_informatik_rbg_bstickler_udflib_UDFImageBuilderFile.java @@ -0,0 +1,17 @@ +--- src/java/de/tu_darmstadt/informatik/rbg/bstickler/udflib/UDFImageBuilderFile.java.orig 2010-06-28 11:44:55.000000000 +0200 ++++ src/java/de/tu_darmstadt/informatik/rbg/bstickler/udflib/UDFImageBuilderFile.java 2010-06-28 11:46:18.000000000 +0200 +@@ -32,6 +32,14 @@ + // Symlink // TODO: maybe support symlinks
+ }
+
++ public UDFImageBuilderFile( String fileIdentifier, File sourceFile )
++ throws Exception
++ {
++ this(sourceFile);
++
++ identifier = fileIdentifier;
++ }
++
+ public UDFImageBuilderFile( File sourceFile )
+ throws Exception
+ {
diff --git a/devel/sabre/pkg-descr b/devel/sabre/pkg-descr new file mode 100644 index 000000000000..99c782bf0f8c --- /dev/null +++ b/devel/sabre/pkg-descr @@ -0,0 +1,15 @@ +This project provides the Java-based implementation of the +Simple API for Binary REpresentations (SABRE). The library +defines observer-pattern interfaces for processing hierarchically +structured, binary-oriented documents, comparable to the Simple +API for XML (SAX). Processing can be modularized into a streaming +pipeline composed of separate stages, enabling the parsing, +transformation and serialization of large binary documents. + +UDFLib is a Java-based implementation for creating UDF filesystem +images for DVDs according to ISO 13346, also known as ECMA-167. + +WWW: http://sabre-library.sourceforge.net/ + +- Alex Dupre +ale@FreeBSD.org |