diff options
author | mat <mat@FreeBSD.org> | 2014-02-17 23:01:23 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-02-17 23:01:23 +0800 |
commit | a059eb2fcea405a4136d933025048a757c115f30 (patch) | |
tree | e673deef3bbeab9c56b218e4802ce20fe8fec017 | |
parent | e81ed3e0e077bc07dfaae66e099b0d19c9eba110 (diff) | |
download | freebsd-ports-gnome-a059eb2fcea405a4136d933025048a757c115f30.tar.gz freebsd-ports-gnome-a059eb2fcea405a4136d933025048a757c115f30.tar.zst freebsd-ports-gnome-a059eb2fcea405a4136d933025048a757c115f30.zip |
Convert to staging.
Sponsored by: Absolight
-rw-r--r-- | textproc/crimson/Makefile | 28 | ||||
-rw-r--r-- | textproc/crimson/files/pkg-message.in (renamed from textproc/crimson/pkg-message) | 5 | ||||
-rw-r--r-- | textproc/crimson/pkg-plist | 183 |
3 files changed, 15 insertions, 201 deletions
diff --git a/textproc/crimson/Makefile b/textproc/crimson/Makefile index 04dcfe379d1d..665492a74a8e 100644 --- a/textproc/crimson/Makefile +++ b/textproc/crimson/Makefile @@ -14,27 +14,23 @@ COMMENT= Implements the Java API for XML Processing (JAXP) RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +JAVAVM?= ${LOCALBASE}/bin/javavm NO_BUILD= yes -JAVAVM?= ${LOCALBASE}/bin/javavm +OPTIONS_DEFINE= DOCS EXAMPLES -DOCSDIR= ${PREFIX}/share/doc/java/${PORTNAME} -READMES= README.html ChangeLog +SUB_FILES= pkg-message +PLIST_FILES= share/java/classes/crimson.jar +PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes do-install: - @ ${MKDIR} ${PREFIX}/share/java/classes; \ - cd ${INSTALL_WRKSRC}; \ - ${INSTALL_DATA} crimson.jar ${PREFIX}/share/java/classes -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${DOCSDIR}; \ - cd ${INSTALL_WRKSRC}; \ - ${INSTALL_DATA} ${READMES} ${DOCSDIR}; \ - ${PAX} -rw docs examples ${DOCSDIR} -.endif - -post-install: - @ ${SED} "s|/usr/local|${PREFIX}|g" ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/java/classes + ${INSTALL_DATA} ${INSTALL_WRKSRC}/crimson.jar ${STAGEDIR}${PREFIX}/share/java/classes + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} README.html ChangeLog ${STAGEDIR}${DOCSDIR} + cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR} + cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} examples ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/textproc/crimson/pkg-message b/textproc/crimson/files/pkg-message.in index b04dd9b63ca5..b22478b2dc38 100644 --- a/textproc/crimson/pkg-message +++ b/textproc/crimson/files/pkg-message.in @@ -1,6 +1,6 @@ The following jar file has been installed: - /usr/local/share/java/classes/crimson.jar + %%PREFIX%%/share/java/classes/crimson.jar Add it to your CLASSPATH to use JAXP. @@ -9,4 +9,5 @@ NOTE: now only one jar file, crimson.jar. You should remove the old port and any references to the jaxp.jar to avoid confusion. -Documentation is in /usr/local/share/doc/java/crimson +Documentation is in %%PREFIX%%/share/doc/crimson +Examples is in %%PREFIX%%/share/examples/crimson diff --git a/textproc/crimson/pkg-plist b/textproc/crimson/pkg-plist deleted file mode 100644 index 182b00002ed6..000000000000 --- a/textproc/crimson/pkg-plist +++ /dev/null @@ -1,183 +0,0 @@ -%%PORTDOCS%%share/doc/java/crimson/docs/api/package-list -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/NodeList.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/EntityReference.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Attr.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Element.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Text.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/DOMException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/CDATASection.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Document.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/DOMImplementation.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Comment.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/DocumentType.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Entity.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Notation.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/CharacterData.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/ProcessingInstruction.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/NamedNodeMap.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/DocumentFragment.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/class-use/Node.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/w3c/dom/class-use -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/CharacterData.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Entity.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/package-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/DocumentType.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Attr.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Notation.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Text.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/NamedNodeMap.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/package-tree.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/EntityReference.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Element.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/ProcessingInstruction.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/package-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/DocumentFragment.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Comment.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/DOMImplementation.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/DOMException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/package-use.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/NodeList.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/CDATASection.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Node.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/w3c/dom/Document.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/w3c/dom -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/w3c -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/DTDHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/DefaultHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/package-tree.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/AttributesImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/ParserAdapter.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/XMLReaderAdapter.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/ParserFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/XMLReaderFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/AttributeListImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/XMLFilterImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/LocatorImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/NamespaceSupport.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use/DefaultHandler.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax/helpers/class-use -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/package-use.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/XMLFilterImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/package-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/XMLReaderFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/AttributeListImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/AttributesImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/LocatorImpl.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/NamespaceSupport.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/ParserAdapter.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/ParserFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/package-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/helpers/XMLReaderAdapter.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax/helpers -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/SAXNotSupportedException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/DocumentHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/AttributeList.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/SAXParseException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/HandlerBase.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/ErrorHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/SAXException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/Attributes.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/Parser.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/InputSource.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/EntityResolver.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/SAXNotSupportedException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/XMLFilter.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/DTDHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/Locator.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/SAXNotRecognizedException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/XMLReader.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/class-use/ContentHandler.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax/class-use -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/LexicalHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/class-use/DeclHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/class-use/LexicalHandler.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax/ext/class-use -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/package-use.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/package-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/DeclHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/package-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ext/package-tree.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax/ext -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/SAXNotRecognizedException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/package-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/XMLFilter.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/Parser.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/AttributeList.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/XMLReader.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/HandlerBase.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ContentHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/package-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/package-use.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/DocumentHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/InputSource.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/Attributes.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/Locator.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/package-tree.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/SAXParseException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/ErrorHandler.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/SAXException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/org/xml/sax/EntityResolver.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml/sax -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org/xml -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/org -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/package-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/package-use.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/DocumentBuilderFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/SAXParser.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/SAXParserFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/ParserConfigurationException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/DocumentBuilder.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/class-use/FactoryConfigurationError.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/javax/xml/parsers/class-use -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/ParserConfigurationException.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/DocumentBuilder.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/SAXParserFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/SAXParser.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/package-tree.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/FactoryConfigurationError.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/DocumentBuilderFactory.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/javax/xml/parsers/package-frame.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/javax/xml/parsers -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/javax/xml -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api/javax -%%PORTDOCS%%share/doc/java/crimson/docs/api/overview-summary.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/help-doc.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/index-all.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/index.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/deprecated-list.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/stylesheet.css -%%PORTDOCS%%share/doc/java/crimson/docs/api/overview-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/serialized-form.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/allclasses-frame.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/overview-tree.html -%%PORTDOCS%%share/doc/java/crimson/docs/api/packages.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/api -%%PORTDOCS%%share/doc/java/crimson/docs/style/default.css -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs/style -%%PORTDOCS%%@dirrm share/doc/java/crimson/docs -%%PORTDOCS%%share/doc/java/crimson/examples/samples/namespace.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/weekly-euc-jp.dtd -%%PORTDOCS%%share/doc/java/crimson/examples/samples/two_gent.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/java.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/book-order.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/play.dtd -%%PORTDOCS%%share/doc/java/crimson/examples/samples/spec.dtd -%%PORTDOCS%%share/doc/java/crimson/examples/samples/rich_iii.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/weekly-euc-jp.xml -%%PORTDOCS%%share/doc/java/crimson/examples/samples/REC-xml-19980210.xml -%%PORTDOCS%%@dirrm share/doc/java/crimson/examples/samples -%%PORTDOCS%%share/doc/java/crimson/examples/DOMEcho/DOMEcho.java -%%PORTDOCS%%share/doc/java/crimson/examples/DOMEcho/DOMEcho.class -%%PORTDOCS%%share/doc/java/crimson/examples/DOMEcho/build.xml -%%PORTDOCS%%share/doc/java/crimson/examples/DOMEcho/DOMEcho$MyErrorHandler.class -%%PORTDOCS%%@dirrm share/doc/java/crimson/examples/DOMEcho -%%PORTDOCS%%share/doc/java/crimson/examples/SAXTagCount/build.xml -%%PORTDOCS%%share/doc/java/crimson/examples/SAXTagCount/SAXTagCount.java -%%PORTDOCS%%@dirrm share/doc/java/crimson/examples/SAXTagCount -%%PORTDOCS%%share/doc/java/crimson/examples/index.html -%%PORTDOCS%%@dirrm share/doc/java/crimson/examples -%%PORTDOCS%%share/doc/java/crimson/README.html -%%PORTDOCS%%share/doc/java/crimson/ChangeLog -%%PORTDOCS%%@dirrm share/doc/java/crimson -%%PORTDOCS%%@dirrm share/doc/java -share/java/classes/crimson.jar |