2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Anton Yudin <toha@toha.org.ua>
|
2004-02-09 17:22:27 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jmf
|
|
|
|
PORTVERSION= 2.1.1e
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2014-04-22 22:30:15 +02:00
|
|
|
CATEGORIES= java multimedia
|
2004-02-09 17:22:27 +01:00
|
|
|
MASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava
|
|
|
|
|
2013-12-11 06:25:28 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-02-09 17:22:27 +01:00
|
|
|
COMMENT= Java Media Framework
|
|
|
|
|
2014-03-10 16:21:21 +01:00
|
|
|
USES= zip
|
2005-01-18 10:37:04 +01:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2004-02-09 17:22:27 +01:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/JMF-${PORTVERSION}
|
|
|
|
|
2012-01-03 07:41:23 +01:00
|
|
|
RESTRICTED= Redistribution of pre-compiled binaries is not permitted
|
2004-02-09 17:22:27 +01:00
|
|
|
|
2014-07-04 02:20:03 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-02-09 17:22:27 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# Check for JMF sources
|
2013-08-29 15:02:01 +02:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
2012-01-03 07:41:23 +01:00
|
|
|
IGNORE= because of licensing restrictions, you must fetch the source\
|
|
|
|
distribution manually.\
|
2014-04-22 22:30:15 +02:00
|
|
|
Please access: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html \
|
|
|
|
with a web browser and follow the "Java Media Framework (JMF) ${PORTVERSION}" link.\
|
2012-01-03 07:41:23 +01:00
|
|
|
Select download format: cross-platform format. Please place this file in\
|
|
|
|
${DISTDIR}
|
2004-02-09 17:22:27 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
for file in `${LS} ${WRKSRC}/bin/jm*`; do \
|
|
|
|
${REINPLACE_CMD} -e "s:%%JAVAJARDIR%%:${JAVAJARDIR}:g" -e "s:%%PREFIX%%:${PREFIX}:g" $${file}; \
|
|
|
|
done
|
2012-01-03 07:41:23 +01:00
|
|
|
@${FIND} ${WRKSRC}/bin -type f \( -name '*.bak' -o -name '*.orig' \) -delete
|
2004-02-09 17:22:27 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-04-22 22:30:15 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${STAGEDIR}${PREFIX}/bin/
|
2004-02-09 17:22:27 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${WRKSRC}/lib/jmf.properties \
|
2014-04-22 22:30:15 +02:00
|
|
|
${STAGEDIR}${JAVAJARDIR}/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/
|
2004-02-09 17:22:27 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|