summaryrefslogtreecommitdiff
path: root/java/jmf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-04-22 20:30:15 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-04-22 20:30:15 +0000
commit640464513611df9dc38e3d7e14877521968b9076 (patch)
treec464bdae9314ca8d44333e879eb49ebec12e793f /java/jmf
parent- Add stage support [1] (diff)
- Fix the fetch link;
- Support staging.
Notes
Notes: svn path=/head/; revision=351881
Diffstat (limited to 'java/jmf')
-rw-r--r--java/jmf/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/java/jmf/Makefile b/java/jmf/Makefile
index 28263e6c3208..85053e170b24 100644
--- a/java/jmf/Makefile
+++ b/java/jmf/Makefile
@@ -4,7 +4,7 @@
PORTNAME= jmf
PORTVERSION= 2.1.1e
PORTREVISION= 2
-CATEGORIES= java
+CATEGORIES= java multimedia
MASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava
@@ -24,15 +24,14 @@ RESTRICTED= Redistribution of pre-compiled binaries is not permitted
PORTDOCS= *
.endif
-NO_STAGE= yes
.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://java.sun.com/products/java-media/jmf/2.1.1/download.html\
-with a web browser and follow the "Download JMF ${PORTVERSION}" link.\
+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
@@ -44,13 +43,13 @@ do-configure:
@${FIND} ${WRKSRC}/bin -type f \( -name '*.bak' -o -name '*.orig' \) -delete
do-install:
- ${MKDIR} ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/jm* ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${WRKSRC}/lib/jmf.properties \
- ${JAVAJARDIR}/
+ ${STAGEDIR}${JAVAJARDIR}/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.post.mk>