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
|
2004-02-09 17:22:27 +01:00
|
|
|
CATEGORIES= java
|
|
|
|
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
|
|
|
|
|
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
|
|
|
USE_ZIP= YES
|
|
|
|
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
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2013-09-20 21:48:32 +02:00
|
|
|
NO_STAGE= yes
|
2004-02-09 17:22:27 +01:00
|
|
|
.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.\
|
|
|
|
Please access: http://java.sun.com/products/java-media/jmf/2.1.1/download.html\
|
|
|
|
with a web browser and follow the "Download JMF ${PORTVERSION}" link.\
|
|
|
|
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:
|
2012-01-03 07:41:23 +01:00
|
|
|
${MKDIR} ${PREFIX}/bin
|
2004-02-09 17:22:27 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${WRKSRC}/lib/jmf.properties \
|
|
|
|
${JAVAJARDIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
2012-01-03 07:41:23 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-02-09 17:22:27 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|