Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2005 23:11:30 +0200 (CEST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79769: new port multimedia/projectx
Message-ID:  <200504102111.j3ALBUN37016@saturn.kn-bremen.de>
Resent-Message-ID: <200504102120.j3ALKRtc041917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79769
>Category:       ports
>Synopsis:       new port multimedia/projectx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 10 21:20:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
me?  organized??
>Environment:
System: FreeBSD saturn 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #6: Wed Feb 16 17:5
6:04 CET 2005     nox@saturn:/ad0/usr/home/nox/src5/usr/src/sys/i386/compile/NEP
TUN  i386


>Description:
	
ProjectX is a java app to (mainly) cut/demux dvb recordings
(mpeg .ts files), the resulting .m2v and .mpa files can directly
be used in e.g. dvdstyler to create video dvds of them.

>How-To-Repeat:
	n/a
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	pkg-descr
#	pkg-plist
#	distinfo
#	files/
#	files/project-x
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	projectx
X# Date created:			Sun Jul 18 15:07:26 CEST 2004
X# Whom:				Juergen Lock <nox@jelal.kn-bremen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	projectx
XPORTVERSION=	0.82.1.00
XCATEGORIES=	multimedia java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	project-x
XDISTNAME=	ProjectX_Source_${PORTVERSION}
X
XMAINTAINER=	nox@jelal.kn-bremen.de
XCOMMENT=	DVB (mpeg) cutting/demux tool
X
XUSE_ZIP=	yes
XUSE_JAVA=	1.3+
XNEED_JAVAC=	yes
XPLIST_SUB+=	JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///}
X
Xpost-extract:
X	@${SED} -e "s|%%PREFIX%%|${PREFIX}|" -e "s|%%JAVA%%|${JAVA}|" -e "s|%%JAVAJARDIR%%|${JAVAJARDIR}|" ${FILESDIR}/project-x >${WRKDIR}/project-x
X	${TR} -d '\015' <${WRKSRC}/build.sh |${SED} -e "s|^javac|${JAVAC}|" >${WRKSRC}/build-fbsd.sh
X
Xdo-build:
X	cd ${WRKSRC} && ${MKDIR} build && ${SH} build-fbsd.sh
X
Xdo-install:
X	${MKDIR} ${JAVAJARDIR}/lib
X	${INSTALL_DATA} ${WRKSRC}/ProjectX.jar ${JAVAJARDIR}
X	${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar ${JAVAJARDIR}/lib
X	${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar ${JAVAJARDIR}/lib
X	${MKDIR} ${PREFIX}/share/projectx/htmls/images ${PREFIX}/share/projectx/htmls/de
X	${INSTALL_DATA} ${WRKSRC}/htmls/*.html ${PREFIX}/share/projectx/htmls
X	${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html ${PREFIX}/share/projectx/htmls/de
X	${INSTALL_DATA} ${WRKSRC}/htmls/images/* ${PREFIX}/share/projectx/htmls/images
X	${INSTALL_SCRIPT} ${WRKDIR}/project-x ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XX - a free Java based demux utility
XCopyright (C) 2001-2004 dvb.matt
X
XEuropean digital radio & television uses the DVB standard to broadcast its
Xdata. Project X gives you a look behind the transmissions and tries its best
Xto handle & repair many stream types and shows what went wrong on reception.
X
XIt is intended for educational purposes only, as a non-commercial test project.
XIt may not be used otherwise. Most parts are only experimental.
X
XWWW: http://sourceforge.net/projects/project-x
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xbin/project-x
X%%JAVAJARDIR%%/ProjectX.jar
X%%JAVAJARDIR%%/lib/commons-net-1.3.0.jar
X%%JAVAJARDIR%%/lib/jakarta-oro-2.0.8.jar
X@dirrm %%JAVAJARDIR%%/lib
Xshare/projectx/htmls/cli.html
Xshare/projectx/htmls/faq.html
Xshare/projectx/htmls/index.html
Xshare/projectx/htmls/images/right.gif
Xshare/projectx/htmls/images/up.gif
Xshare/projectx/htmls/images/px.gif
Xshare/projectx/htmls/de/cli.html
Xshare/projectx/htmls/de/faq.html
Xshare/projectx/htmls/de/index.html
X@dirrm share/projectx/htmls/images
X@dirrm share/projectx/htmls/de
X@dirrm share/projectx/htmls
X@dirrm share/projectx
END-of-pkg-plist
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (ProjectX_Source_0.82.1.00.zip) = 95b87eafb547ff75df75d07b31f7355d
XSIZE (ProjectX_Source_0.82.1.00.zip) = 700265
END-of-distinfo
echo c - files/
mkdir -p files/ > /dev/null 2>&1
echo x - files/project-x
sed 's/^X//' >files/project-x << 'END-of-files/project-x'
X#! /bin/sh
Xcase "$#" in
X0)
X	mkdir -p ~/.projectx
X	cd ~/.projectx
X	ln -sf %%PREFIX%%/share/projectx/htmls .
X	%%JAVA%% -jar %%JAVAJARDIR%%/ProjectX.jar "$@"
X	;;
X*)
X	%%JAVA%% -jar %%JAVAJARDIR%%/ProjectX.jar "$@"
X	;;
Xesac
END-of-files/project-x
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504102111.j3ALBUN37016>