aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/javahelp/Makefile51
-rw-r--r--java/javahelp/pkg-descr2
-rw-r--r--java/jrosetta/Makefile10
-rw-r--r--math/jlatexmath/Makefile46
4 files changed, 45 insertions, 64 deletions
diff --git a/java/javahelp/Makefile b/java/javahelp/Makefile
index e0018e670f4a..d7d8bdbdfd84 100644
--- a/java/javahelp/Makefile
+++ b/java/javahelp/Makefile
@@ -5,49 +5,46 @@ PORTNAME= javahelp
PORTVERSION= 2.0.05
PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= http://download.java.net/javadesktop/javahelp/ \
- http://www.predatorlabs.net/dl/
+MASTER_SITES= http://download.java.net/javadesktop/javahelp/
DISTNAME= ${PORTNAME}2_0_05
MAINTAINER= ports@FreeBSD.org
-COMMENT= A system to add online help to Java applications
+COMMENT= Online help support for Java applications
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_RUN= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/jh2.0
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhindexer
${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhsearch
(cd ${WRKSRC} && ${RM} -rf `${FIND} . -type d -name .svn`)
do-install:
- ${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${JAVAJARDIR}/LICENSE.${PORTNAME}.html
- ${INSTALL_SCRIPT} ${WRKSRC}/javahelp/bin/jhindexer ${PREFIX}/bin/jhindexer
- ${INSTALL_SCRIPT} ${WRKSRC}/javahelp/bin/jhsearch ${PREFIX}/bin/jhsearch
- ${INSTALL_DATA} ${WRKSRC}/javahelp/bin/jhindexer.jar ${JAVAJARDIR}/jhindexer.jar
- ${INSTALL_DATA} ${WRKSRC}/javahelp/bin/jhsearch.jar ${JAVAJARDIR}/jhsearch.jar
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jh.jar ${JAVAJARDIR}/jh.jar
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jhall.jar ${JAVAJARDIR}/jhall.jar
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jhbasic.jar ${JAVAJARDIR}/jhbasic.jar
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jsearch.jar ${JAVAJARDIR}/jsearch.jar
- ${MKDIR} ${JAVAJARDIR}/dtd
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/favorites_2_0.dtd ${JAVAJARDIR}/dtd/favorites_2_0.dtd
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/helpset_2_0.dtd ${JAVAJARDIR}/dtd/helpset_2_0.dtd
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/index_2_0.dtd ${JAVAJARDIR}/dtd/index_2_0.dtd
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/map_2_0.dtd ${JAVAJARDIR}/dtd/map_2_0.dtd
- ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/toc_2_0.dtd ${JAVAJARDIR}/dtd/toc_2_0.dtd
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
- (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
- (cd ${WRKSRC}/demos/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${STAGEDIR}${JAVAJARDIR}/LICENSE.${PORTNAME}.html
+ ${INSTALL_SCRIPT} ${WRKSRC}/javahelp/bin/jhindexer ${STAGEDIR}${PREFIX}/bin/jhindexer
+ ${INSTALL_SCRIPT} ${WRKSRC}/javahelp/bin/jhsearch ${STAGEDIR}${PREFIX}/bin/jhsearch
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/bin/jhindexer.jar ${STAGEDIR}${JAVAJARDIR}/jhindexer.jar
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/bin/jhsearch.jar ${STAGEDIR}${JAVAJARDIR}/jhsearch.jar
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jh.jar ${STAGEDIR}${JAVAJARDIR}/jh.jar
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jhall.jar ${STAGEDIR}${JAVAJARDIR}/jhall.jar
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jhbasic.jar ${STAGEDIR}${JAVAJARDIR}/jhbasic.jar
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/jsearch.jar ${STAGEDIR}${JAVAJARDIR}/jsearch.jar
+ ${MKDIR} ${STAGEDIR}${JAVAJARDIR}/dtd
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/favorites_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/favorites_2_0.dtd
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/helpset_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/helpset_2_0.dtd
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/index_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/index_2_0.dtd
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/map_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/map_2_0.dtd
+ ${INSTALL_DATA} ${WRKSRC}/javahelp/lib/dtd/toc_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/toc_2_0.dtd
+ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC}/demos/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff --git a/java/javahelp/pkg-descr b/java/javahelp/pkg-descr
index 8880b7b8a5b9..407ce1eb1082 100644
--- a/java/javahelp/pkg-descr
+++ b/java/javahelp/pkg-descr
@@ -4,4 +4,4 @@ is both a JCP specification (JSR 97) and a reference implementation of
that specification. The JavaHelp system open source project includes the
source to the reference implementation.
-WWW: https://javahelp.dev.java.net/
+WWW: https://javahelp.java.net/
diff --git a/java/jrosetta/Makefile b/java/jrosetta/Makefile
index 4bc99a68c7d4..588b51741b93 100644
--- a/java/jrosetta/Makefile
+++ b/java/jrosetta/Makefile
@@ -14,7 +14,6 @@ COMMENT= API for building a graphical console in Swing
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_RUN= yes
PLIST_FILES= %%JAVAJARDIR%%/jrosetta-api.jar \
@@ -23,7 +22,6 @@ PLIST_FILES= %%JAVAJARDIR%%/jrosetta-api.jar \
OPTIONS_DEFINE= COMPILE
COMPILE_DESC= Download and compile source instead of binaries
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCOMPILE}
@@ -56,14 +54,14 @@ do-build:
do-install:
.if ${PORT_OPTIONS:MCOMPILE}
${INSTALL_DATA} ${OUTPUT}/jrosetta-api/${PORTVERSION}/jrosetta-api-${PORTVERSION}.jar \
- ${JAVAJARDIR}/jrosetta-api.jar
+ ${STAGEDIR}${JAVAJARDIR}/jrosetta-api.jar
${INSTALL_DATA} ${OUTPUT}/jrosetta-engine/${PORTVERSION}/jrosetta-engine-${PORTVERSION}.jar \
- ${JAVAJARDIR}/jrosetta-engine.jar
+ ${STAGEDIR}${JAVAJARDIR}/jrosetta-engine.jar
.else
${INSTALL_DATA} ${DISTDIR}/jrosetta-api-${PORTVERSION}.jar \
- ${JAVAJARDIR}/jrosetta-api.jar
+ ${STAGEDIR}${JAVAJARDIR}/jrosetta-api.jar
${INSTALL_DATA} ${DISTDIR}/jrosetta-engine-${PORTVERSION}.jar \
- ${JAVAJARDIR}/jrosetta-engine.jar
+ ${STAGEDIR}${JAVAJARDIR}/jrosetta-engine.jar
.endif
.include <bsd.port.mk>
diff --git a/math/jlatexmath/Makefile b/math/jlatexmath/Makefile
index 9af3afefa843..aaedc55d96fd 100644
--- a/math/jlatexmath/Makefile
+++ b/math/jlatexmath/Makefile
@@ -4,8 +4,7 @@
PORTNAME= jlatexmath
PORTVERSION= 0.9.7
CATEGORIES= math java
-MASTER_SITES= http://forge.scilab.org/upload/jlatexmath/files/ \
- http://www.predatorlabs.net/dl/
+MASTER_SITES= http://forge.scilab.org/upload/jlatexmath/files/
DISTNAME= ${PORTNAME}-src-all-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -15,7 +14,6 @@ LICENSE= GPLv2
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_BUILD= yes
JAVA_RUN= yes
USE_ANT= yes
@@ -24,28 +22,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= FOP EXAMPLES
OPTIONS_DEFAULT= FOP
-FOP_DESC= textproc/fop plugin (required for math/scilab)
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MFOP}
-BUILD_DEPENDS= fop:${PORTSDIR}/textproc/fop \
- ${JAVALIBDIR}/xmlgraphics-commons.jar:${PORTSDIR}/graphics/xmlgraphics-commons \
- ${JAVASHAREDIR}/batik/batik.jar:${PORTSDIR}/graphics/batik \
- ${JAVALIBDIR}/avalon-framework.jar:${PORTSDIR}/devel/avalon-framework \
- ${JAVALIBDIR}/commons-io.jar:${PORTSDIR}/devel/jakarta-commons-io \
- ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
- ${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons
-
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-ALL_TARGET+= fop
-
-PLIST_SUB+= FOP=""
-.else
-PLIST_SUB+= FOP="@comment "
-.endif
+OPTIONS_SUB= yes
+
+FOP_DESC= textproc/fop plugin (required for math/scilab)
+FOP_BUILD_DEPENDS= fop:${PORTSDIR}/textproc/fop \
+ ${JAVALIBDIR}/xmlgraphics-commons.jar:${PORTSDIR}/graphics/xmlgraphics-commons \
+ ${JAVASHAREDIR}/batik/batik.jar:${PORTSDIR}/graphics/batik \
+ ${JAVALIBDIR}/avalon-framework.jar:${PORTSDIR}/devel/avalon-framework \
+ ${JAVALIBDIR}/commons-io.jar:${PORTSDIR}/devel/jakarta-commons-io \
+ ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
+ ${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons
+FOP_RUN_DEPENDS:= ${FOP_BUILD_DEPENDS}
+FOP_ALL_TARGET= fop
post-patch:
${REINPLACE_CMD} -e 's|/usr/share/java/fop.jar|${LOCALBASE}/share/java/fop/build/fop.jar|' ${WRKSRC}/fop.properties
@@ -53,10 +41,8 @@ post-patch:
${REINPLACE_CMD} -e 's|/usr/share/java/|${JAVALIBDIR}/|' ${WRKSRC}/fop.properties
do-install:
- ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-${PORTVERSION}.jar ${JAVAJARDIR}/jlatexmath.jar
- ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-fop-${PORTVERSION}.jar ${JAVAJARDIR}/jlatexmath-fop.jar
-.if ${PORT_OPTIONS:MEXAMPLES}
- (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jlatexmath.jar
+ ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-fop-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jlatexmath-fop.jar
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>