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/

Feature safe:	yes
This commit is contained in:
Alex Dupre 2010-06-28 10:58:49 +00:00
parent 4120dd1d73
commit f383fe5116
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257104
5 changed files with 73 additions and 0 deletions

View file

@ -3082,6 +3082,7 @@
SUBDIR += rudiments
SUBDIR += rvi
SUBDIR += rvm
SUBDIR += sabre
SUBDIR += safestr
SUBDIR += scandoc
SUBDIR += scons

37
devel/sabre/Makefile Normal file
View file

@ -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>

3
devel/sabre/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (sabre-src-20100501.zip) = 02bda404f1883851622e9390067d6c1f
SHA256 (sabre-src-20100501.zip) = 705fd496b8f5ca38a3cd7fe65cea4acd8c860db731dc72f4c6f51cf87dd750ee
SIZE (sabre-src-20100501.zip) = 1622423

View file

@ -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
{

15
devel/sabre/pkg-descr Normal file
View file

@ -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