diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-31 19:43:38 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-31 19:43:38 +0000 |
commit | e4774a0c80a0a0489a1f6c1cf718c6fe0a99b398 (patch) | |
tree | ecbc8bc69e5629494988b8057ec2facf167f4698 /textproc/docbook-xml-450 | |
parent | 4fafb2ffbf60af8c272405cace17469d5dd9508d (diff) | |
download | ports-e4774a0c80a0a0489a1f6c1cf718c6fe0a99b398.tar.gz ports-e4774a0c80a0a0489a1f6c1cf718c6fe0a99b398.zip |
Notes
Diffstat (limited to 'textproc/docbook-xml-450')
-rw-r--r-- | textproc/docbook-xml-450/Makefile | 81 | ||||
-rw-r--r-- | textproc/docbook-xml-450/distinfo | 3 | ||||
-rw-r--r-- | textproc/docbook-xml-450/pkg-descr | 3 |
3 files changed, 87 insertions, 0 deletions
diff --git a/textproc/docbook-xml-450/Makefile b/textproc/docbook-xml-450/Makefile new file mode 100644 index 000000000000..fc4c596f6be2 --- /dev/null +++ b/textproc/docbook-xml-450/Makefile @@ -0,0 +1,81 @@ +# New ports collection makefile for: docbook-xml-450 +# Date created: 2006-10-31 +# Whom: alepulver +# +# $FreeBSD$ + +PORTNAME= docbook-xml +PORTVERSION= 4.5 +CATEGORIES= textproc +MASTER_SITES= http://www.oasis-open.org/docbook/xml/${PORTVERSION}/ + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= DocBook/XML DTD V4.5, designed for technical documentation + +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr + +USE_ZIP= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes +LATEST_LINK= ${PORTNAME}-450 +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} "@dirrmtry ${XMLCATBASE}/${DTD_NAME}" >> ${PLIST} +.ifndef NOPORTDOCS +.for F in ${DOC_FILES} + @${ECHO_CMD} "${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST} +.endfor + @${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!}" >> ${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-450/distinfo b/textproc/docbook-xml-450/distinfo new file mode 100644 index 000000000000..495495c6346e --- /dev/null +++ b/textproc/docbook-xml-450/distinfo @@ -0,0 +1,3 @@ +MD5 (docbook-xml-4.5.zip) = 03083e288e87a7e829e437358da7ef9e +SHA256 (docbook-xml-4.5.zip) = 4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4 +SIZE (docbook-xml-4.5.zip) = 98497 diff --git a/textproc/docbook-xml-450/pkg-descr b/textproc/docbook-xml-450/pkg-descr new file mode 100644 index 000000000000..ef2a41db48f1 --- /dev/null +++ b/textproc/docbook-xml-450/pkg-descr @@ -0,0 +1,3 @@ +XML version of the DocBook DTD V4.5. + +WWW: http://www.docbook.org/xml/4.5/index.html |