mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
3505159e72
Move ports to the licenses framework. RESTRICTED → auto-accept (unless expressly stated otherwise) NO_CDROM → dist-mirror pkg-mirror auto-accept Differential Revision: https://reviews.freebsd.org/D30010
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# Created by: Anton Yudin <toha@toha.org.ua>
|
|
|
|
PORTNAME= jmf
|
|
PORTVERSION= 2.1.1e
|
|
PORTREVISION= 3
|
|
CATEGORIES= java multimedia
|
|
MASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java Media Framework
|
|
|
|
# Converted from RESTRICTED
|
|
LICENSE= jmf
|
|
LICENSE_NAME= jmf
|
|
LICENSE_TEXT= Redistribution of pre-compiled binaries is not permitted
|
|
LICENSE_PERMS= auto-accept
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
NO_BUILD= YES
|
|
|
|
WRKSRC= ${WRKDIR}/JMF-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Check for JMF sources
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= because of licensing restrictions, you must fetch the source\
|
|
distribution manually.\
|
|
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.\
|
|
Select download format: cross-platform format. Please place this file in\
|
|
${DISTDIR}
|
|
.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
|
|
@${FIND} ${WRKSRC}/bin -type f \( -name '*.bak' -o -name '*.orig' \) -delete
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${WRKSRC}/lib/jmf.properties \
|
|
${STAGEDIR}${JAVAJARDIR}/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.post.mk>
|