diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-02-09 16:22:27 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-02-09 16:22:27 +0000 |
commit | b280d2679a7f8f840e5665cb5be5ea5d4128feba (patch) | |
tree | 2b4b3a75da9b91e998ab8a164c77315b1f3deb8b /java/jmf/Makefile | |
parent | Change COMMENT. (diff) |
. Add a new port, java/jmf:
Java Media Framework API
The Java Media Framework API (JMF) enables audio, video and other
time-based media to be added to Java applications and applets. This
optional package, which can capture, playback, stream and transcode
multiple media formats, extends the multimedia capabilities on the
J2SE platform, and gives multimedia developers a powerful toolkit to
develop scalable, cross-platform technology.
WWW: http://java.sun.com/products/java-media/jmf/
PR: 58524
Submitted by: Anton Yudin <toha@toha.org.ua> (plus some tweaks by me)
Notes
Notes:
svn path=/head/; revision=100500
Diffstat (limited to 'java/jmf/Makefile')
-rw-r--r-- | java/jmf/Makefile | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/java/jmf/Makefile b/java/jmf/Makefile new file mode 100644 index 000000000000..ff0003bf30b2 --- /dev/null +++ b/java/jmf/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: Java Media Framework +# Date created: Sat Oct 25 16:05:29 EEST 2003 +# Whom: Anton Yudin <toha@toha.org.ua> +# +# $FreeBSD$ +# + +PORTNAME= jmf +PORTVERSION= 2.1.1e +CATEGORIES= java +MASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html +DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava +DISTFILES= ${DISTNAME}.zip + +MAINTAINER= toha@toha.org.ua +COMMENT= Java Media Framework + +USE_JAVA= 1.2+ +USE_ZIP= YES +USE_REINPLACE= YES +NO_BUILD= YES + +PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR} + +WRKSRC= ${WRKDIR}/JMF-${PORTVERSION} + +RESTRICTED= "Redistribution of pre-compiled binaries is not permitted" +NO_CDROM= "Redistribution of pre-compiled binaries is not permitted" +NO_PACKAGE= "Redistribution of pre-compiled binaries is not permitted" + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +.include <bsd.port.pre.mk> + +# Check for JMF sources +.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +Because of licensing restrictions, you must fetch the source distribution\n\ +manually. Please access:\n\ +http://java.sun.com/products/java-media/jmf/2.1.1/download.html\n\ +with a web browser and follow the \"Download JMF ${PORTVERSION}\" link\n\ +Select download format: cross-platform format\n\ +Please place this file in ${DISTDIR}.\n +.endif + +do-configure: + ${RM} ${WRKSRC}/bin/*.orig + for file in `${LS} ${WRKSRC}/bin/jm*`; do \ + ${REINPLACE_CMD} -e "s:%%JAVAJARDIR%%:${JAVAJARDIR}:g" -e "s:%%PREFIX%%:${PREFIX}:g" $${file}; \ + done + ${RM} ${WRKSRC}/bin/*.bak + +do-install: + -${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${WRKSRC}/lib/jmf.properties \ + ${JAVAJARDIR}/ +.if !defined(NOPORTDOCS) + -${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/ +.endif + +.include <bsd.port.post.mk> |