aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-04-23 04:30:15 +0800
committerthierry <thierry@FreeBSD.org>2014-04-23 04:30:15 +0800
commitdf2669029e01bd6a0eaaaf5dd4adfafb98b13a72 (patch)
treec464bdae9314ca8d44333e879eb49ebec12e793f /java
parent1eab5459c9f3becc4c44b7c2cb6d8b0364596c10 (diff)
downloadfreebsd-ports-gnome-df2669029e01bd6a0eaaaf5dd4adfafb98b13a72.tar.gz
freebsd-ports-gnome-df2669029e01bd6a0eaaaf5dd4adfafb98b13a72.tar.zst
freebsd-ports-gnome-df2669029e01bd6a0eaaaf5dd4adfafb98b13a72.zip
- Fix the fetch link;
- Support staging.
Diffstat (limited to 'java')
-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>