diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-04-21 12:08:11 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-04-21 12:08:11 +0000 |
commit | 9bb19e2c6b0d5b5b8ea562d8a851c3e542a3e407 (patch) | |
tree | 0bae78b877f95c6d82f235509e35b96641ffe5f8 | |
parent | Use MAKE_ARGS, PLIST_FILES & PORTDOCS (diff) |
Project X - a free Java based demux utility
Copyright (C) 2001-2004 dvb.matt
European digital radio & television uses the DVB standard to broadcast its
data. Project X gives you a look behind the transmissions and tries its best
to handle & repair many stream types and shows what went wrong on reception.
It is intended for educational purposes only, as a non-commercial test project.
It may not be used otherwise. Most parts are only experimental.
WWW: http://sourceforge.net/projects/project-x
PR: 79769
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes:
svn path=/head/; revision=133840
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/projectx/Makefile | 45 | ||||
-rw-r--r-- | multimedia/projectx/distinfo | 2 | ||||
-rw-r--r-- | multimedia/projectx/files/project-x.sh.in | 13 | ||||
-rw-r--r-- | multimedia/projectx/pkg-descr | 11 | ||||
-rw-r--r-- | multimedia/projectx/pkg-plist | 19 |
6 files changed, 91 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 5beeca4faebc..69025a177e4c 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -131,6 +131,7 @@ SUBDIR += p5-Video-OpenQuicktime SUBDIR += pitivi SUBDIR += ppm2fli + SUBDIR += projectx SUBDIR += pvr250 SUBDIR += py-gstreamer SUBDIR += qdvdauthor diff --git a/multimedia/projectx/Makefile b/multimedia/projectx/Makefile new file mode 100644 index 000000000000..077642bf8e31 --- /dev/null +++ b/multimedia/projectx/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: projectx +# Date created: Sun Jul 18 15:07:26 CEST 2004 +# Whom: Juergen Lock <nox@jelal.kn-bremen.de> +# +# $FreeBSD$ +# + +PORTNAME= projectx +PORTVERSION= 0.82.1.00 +CATEGORIES= multimedia java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= project-x +DISTNAME= ProjectX_Source_${PORTVERSION} + +MAINTAINER= nox@jelal.kn-bremen.de +COMMENT= DVB (mpeg) cutting/demux tool + +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper + +USE_ZIP= yes +USE_JAVA= yes +JAVA_VERSION= 1.3+ +USE_JIKES= no + +SUB_FILES= project-x.sh +DATADIR= ${JAVASHAREDIR}/${PORTNAME} + +do-configure: + ${TR} -d '\015' <${WRKSRC}/build.sh | ${SED} -e "s|^javac|${JAVAC}|" >${WRKSRC}/build-fbsd.sh + +do-build: + cd ${WRKSRC} && ${MKDIR} build && ${SH} build-fbsd.sh + +do-install: + ${MKDIR} ${DATADIR}/lib + ${INSTALL_DATA} ${WRKSRC}/ProjectX.jar ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar ${DATADIR}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar ${DATADIR}/lib + ${MKDIR} ${DATADIR}/htmls/images ${DATADIR}/htmls/de + ${INSTALL_DATA} ${WRKSRC}/htmls/*.html ${DATADIR}/htmls + ${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html ${DATADIR}/htmls/de + ${INSTALL_DATA} ${WRKSRC}/htmls/images/* ${DATADIR}/htmls/images + ${INSTALL_SCRIPT} ${WRKDIR}/project-x.sh ${PREFIX}/bin/project-x + +.include <bsd.port.mk> diff --git a/multimedia/projectx/distinfo b/multimedia/projectx/distinfo new file mode 100644 index 000000000000..b2735ed6215d --- /dev/null +++ b/multimedia/projectx/distinfo @@ -0,0 +1,2 @@ +MD5 (ProjectX_Source_0.82.1.00.zip) = 95b87eafb547ff75df75d07b31f7355d +SIZE (ProjectX_Source_0.82.1.00.zip) = 700265 diff --git a/multimedia/projectx/files/project-x.sh.in b/multimedia/projectx/files/project-x.sh.in new file mode 100644 index 000000000000..8ef402d61b5d --- /dev/null +++ b/multimedia/projectx/files/project-x.sh.in @@ -0,0 +1,13 @@ +#!/bin/sh +# +# $FreeBSD$ + +case "$#" in +0) + mkdir -p "${HOME}/.projectx" + cd "${HOME}/.projectx" + ln -sf %%PREFIX%%/share/projectx/htmls . + ;; +esac + +JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/ProjectX.jar" "$@" diff --git a/multimedia/projectx/pkg-descr b/multimedia/projectx/pkg-descr new file mode 100644 index 000000000000..b03240fc1dd9 --- /dev/null +++ b/multimedia/projectx/pkg-descr @@ -0,0 +1,11 @@ +Project X - a free Java based demux utility +Copyright (C) 2001-2004 dvb.matt + +European digital radio & television uses the DVB standard to broadcast its +data. Project X gives you a look behind the transmissions and tries its best +to handle & repair many stream types and shows what went wrong on reception. + +It is intended for educational purposes only, as a non-commercial test project. +It may not be used otherwise. Most parts are only experimental. + +WWW: http://sourceforge.net/projects/project-x diff --git a/multimedia/projectx/pkg-plist b/multimedia/projectx/pkg-plist new file mode 100644 index 000000000000..d177cdd533d5 --- /dev/null +++ b/multimedia/projectx/pkg-plist @@ -0,0 +1,19 @@ +@comment $FreeBSD$ +bin/project-x +%%DATADIR%%/htmls/cli.html +%%DATADIR%%/htmls/faq.html +%%DATADIR%%/htmls/index.html +%%DATADIR%%/htmls/images/right.gif +%%DATADIR%%/htmls/images/up.gif +%%DATADIR%%/htmls/images/px.gif +%%DATADIR%%/htmls/de/cli.html +%%DATADIR%%/htmls/de/faq.html +%%DATADIR%%/htmls/de/index.html +%%DATADIR%%/lib/commons-net-1.3.0.jar +%%DATADIR%%/lib/jakarta-oro-2.0.8.jar +%%DATADIR%%/ProjectX.jar +@dirrm %%DATADIR%%/lib +@dirrm %%DATADIR%%/htmls/images +@dirrm %%DATADIR%%/htmls/de +@dirrm %%DATADIR%%/htmls +@dirrm %%DATADIR%% |