diff options
author | skv <skv@FreeBSD.org> | 2005-04-18 19:36:00 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2005-04-18 19:36:00 +0800 |
commit | ac814cd424f0e3c917318fd2390c71bd312f5d25 (patch) | |
tree | 0ffad5e1b7f8abb3c286830f2ff00aae8fd11f4b /textproc | |
parent | e0389fb08ff59b7a10b9f5aaf93e562379622ef3 (diff) | |
download | freebsd-ports-gnome-ac814cd424f0e3c917318fd2390c71bd312f5d25.tar.gz freebsd-ports-gnome-ac814cd424f0e3c917318fd2390c71bd312f5d25.tar.zst freebsd-ports-gnome-ac814cd424f0e3c917318fd2390c71bd312f5d25.zip |
Add docbook-xml-440 4.4,
DocBook/XML DTD V4.4, designed for
technical documentation.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/docbook-xml-440/Makefile | 81 | ||||
-rw-r--r-- | textproc/docbook-xml-440/distinfo | 2 | ||||
-rw-r--r-- | textproc/docbook-xml-440/pkg-descr | 3 |
4 files changed, 87 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d0647064a6a0..836209f1c614 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -83,6 +83,7 @@ SUBDIR += docbook-to-man SUBDIR += docbook-xml SUBDIR += docbook-xml-430 + SUBDIR += docbook-xml-440 SUBDIR += docbook-xsd SUBDIR += docbook-xsl SUBDIR += docbookide.el diff --git a/textproc/docbook-xml-440/Makefile b/textproc/docbook-xml-440/Makefile new file mode 100644 index 000000000000..7dee7d58dcfe --- /dev/null +++ b/textproc/docbook-xml-440/Makefile @@ -0,0 +1,81 @@ +# New ports collection makefile for: docbook-xml-440 +# Date created: 16 April 2005 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ + +PORTNAME= docbook-xml +PORTVERSION= 4.4 +CATEGORIES= textproc +MASTER_SITES= http://www.oasis-open.org/docbook/xml/${PORTVERSION}/ + +MAINTAINER= skv@FreeBSD.org +COMMENT= DocBook/XML DTD V4.4, designed for technical documentation + +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr + +USE_ZIP= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes +LATEST_LINK= ${PORTNAME}-440 +PLIST= ${WRKSRC}/pkg-plist + +XMLCATBASE= share/xml +DTD_NAME= docbook +DTD_VERSION= ${PORTVERSION} + +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_XML= ${PREFIX}/${XMLCATBASE}/catalog.ports +REGIST_CAT_FLAGS_XML= -c ${CATALOG_PORTS_XML} \ + add nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml +UNREGIST_CAT_FLAGS_XML= -c ${CATALOG_PORTS_XML} \ + remove nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml + +DOC_FILES= ChangeLog README +DTDDIR= ${XMLCATBASE}/${DTD_NAME}/${DTD_VERSION} +DTD_FILES= calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \ + dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbookx.dtd \ + htmltblx.mod soextblx.dtd +ENTDIR= ${DTDDIR}/ent +ENT_FILES= isoamsa.ent isoamsb.ent isoamsc.ent isoamsn.ent \ + isoamso.ent isoamsr.ent isobox.ent isocyr1.ent \ + isocyr2.ent isodia.ent isogrk1.ent isogrk2.ent \ + isogrk3.ent isogrk4.ent isolat1.ent isolat2.ent \ + isonum.ent isopub.ent isotech.ent + +pre-install: + @${RM} -f ${PLIST} +.for F in ${ENT_FILES} + @${ECHO_CMD} "${ENTDIR}/${F}" >> ${PLIST} +.endfor + @${ECHO_CMD} "@dirrm ${ENTDIR}" >> ${PLIST} +.for F in ${DTD_FILES} + @${ECHO_CMD} "${DTDDIR}/${F}" >> ${PLIST} +.endfor + @${ECHO_CMD} "@dirrm ${DTDDIR}" >> ${PLIST} + @${ECHO_CMD} "@unexec rmdir %D/${XMLCATBASE}/${DTD_NAME} 2> /dev/null || true" >> ${PLIST} +.ifndef NOPORTDOCS +.for F in ${DOC_FILES} + @${ECHO_CMD} "${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST} +.endfor + @${ECHO_CMD} "@unexec rmdir %D/${DOCSDIR:S!^${PREFIX}/!!} 2> /dev/null || true" >> ${PLIST} +.endif + @${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST} + @${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST} + +do-install: + ${MKDIR} ${PREFIX}/${DTDDIR} + ${INSTALL_DATA} ${DTD_FILES:S!^!${WRKSRC}/!} ${PREFIX}/${DTDDIR} + ${MKDIR} ${PREFIX}/${ENTDIR} + ${INSTALL_DATA} ${ENT_FILES:S!^!${WRKSRC}/ent/!} ${PREFIX}/${ENTDIR} +.ifndef NOPORTDOCS + ${MKDIR} ${DOCSDIR} +.for F in ${DOC_FILES} + ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}/${F}.${PORTVERSION} +.endfor +.endif + +post-install: + -${XMLCATMGR} ${REGIST_CAT_FLAGS_XML} + +.include <bsd.port.mk> diff --git a/textproc/docbook-xml-440/distinfo b/textproc/docbook-xml-440/distinfo new file mode 100644 index 000000000000..9f5ed6cd008c --- /dev/null +++ b/textproc/docbook-xml-440/distinfo @@ -0,0 +1,2 @@ +MD5 (docbook-xml-4.4.zip) = cbb04e9a700955d88c50962ef22c1634 +SIZE (docbook-xml-4.4.zip) = 96107 diff --git a/textproc/docbook-xml-440/pkg-descr b/textproc/docbook-xml-440/pkg-descr new file mode 100644 index 000000000000..b916ecf3fad6 --- /dev/null +++ b/textproc/docbook-xml-440/pkg-descr @@ -0,0 +1,3 @@ +XML version of the DocBook DTD V4.4. + +WWW: http://www.docbook.org/xml/4.4/index.html |