java/58524: new port: java/jmf - Java Media Framework

java/58524: new port: java/jmf - Java Media Framework

Post by toha » Sun, 26 Oct 2003 23:13:20


System: FreeBSD . 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sat Oct 4 12:20:49 EEST 2003 root@:/obj/usr/src/sys/IB i386



new port: java/jmf - Java Media Framework


# 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:
#
# java/jmf
# java/jmf/Makefile
# java/jmf/distinfo
# java/jmf/pkg-descr
# java/jmf/pkg-plist
#
echo c - java/jmf
mkdir -p java/jmf > /dev/null 2>&1
echo x - java/jmf/Makefile
sed 's/^X//' >java/jmf/Makefile << 'END-of-java/jmf/Makefile'
X# New ports collection makefile for: Java Media Framework
X# Date created: Sat Oct 25 16:05:29 EEST 2003
X# Whom: Anton Yudin < XXXX@XXXXX.COM >
X#
X# $FreeBSD$
X#
X
XPORTNAME= jmf
XPORTVERSION= 2.1.1e
XCATEGORIES= java
XMASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html
XDISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava
X
XMAINTAINER= XXXX@XXXXX.COM
XCOMMENT= Java Media Framework
X
XUSE_JAVA= 1.2+
XUSE_ZIP= YES
XNO_BUILD= YES
X
XJAVASHAREDIR= share/java
XTDIR= ${JAVASHAREDIR}/${PKGNAME}
XPLIST_SUB+= T=${TDIR}
X
XWRKSRC= ${WRKDIR}/JMF-${PORTVERSION}
X
XRESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
XNO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
XNO_PACKAGE= "Redistribution of pre-compiled binaries is not permitted"
X
X.include <bsd.port.pre.mk>
X
X# Check for JMF sources
X.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING)
XECHO_MSG=/usr/bin/printf
XIGNORE= :\n\
XBecause of licensing restrictions, you must fetch the source distribution\n\
Xmanually. Please access:\n\
Xhttp://java.sun.com/products/java-media/jmf/2.1.1/download.html\n\
Xwith a web browser and follow the \"Download JMF ${PORTVERSION}\" link\n\
XSelect download format: cross-platform format\n\
XPlease place this file in ${DISTDIR}.\n
X.endif
X
Xdo-install:
X cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${PREFIX}/${TDIR}/'{}' \; && \
X ${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${PREFIX}/${TDIR}/'{}' \;
X ${LN} -sf ${PREFIX}/${TDIR}/lib/jmf.jar ${PREFIX}/${JAVASHAREDIR}/classes/jmf.jar
X
X.include <bsd.port.post.mk>
END-of-java/jmf/Makefile
echo x - java/jmf/distinfo
sed 's/^X//' >java/jmf/distinfo << 'END-of-java/jmf/distinfo'
XMD5 (jmf-2_1_1e-alljava.zip) = 5dafc2469b22d18420ada45972a88ec0
END-of-java/jmf/distinfo
echo x - java/jmf/pkg-descr
sed 's/^X//' >java/jmf/pkg-descr << 'END-of-java/jmf/pkg-descr'
XJava Media Framework API
X
XThe Java Media Framework API (JMF) enables audio, video and other
Xtime-based media to be added to Java applications and applets. This
Xoptional package, which can capture, playback, stream and transcode
Xmultiple media formats, extends the multimedia capabilities on the
XJ2SE platform, and gives multimedia developers a powerful toolkit to
Xdevelop scalable, cross-platform technology.
X
XWWW: http://java.sun.com/products/java-media/jmf/
END-of-java/jmf/pkg-descr
echo x - java/jmf/pkg-plist
sed 's/^X//' >java/jmf/pkg-plist << 'END-of-java/jmf/pkg-plist'
Xshare/java/classes/jmf.jar
X%%T%%/bin/JMF.ico
X%%T%%/bin/jmfcustomizer
X%%T%%/bin/jmfinit
X%%T%%/bin/jmfregistry
X%%T%%/bin/jmstudio
X%%T%%/doc/attributions.ht