From 4cfd446861e75c9face438c4f558a6580297edee Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 3 Jan 2003 23:20:01 +0000 Subject: [PATCH] New Port: TEI P4 DTD DTD of the Text Encoding Initiative PR: ports/38332 Submitted by: Henrik Motakef --- textproc/Makefile | 1 + textproc/tei-p4/Makefile | 42 ++++++++++++++++++++++++++ textproc/tei-p4/distinfo | 1 + textproc/tei-p4/pkg-comment | 1 + textproc/tei-p4/pkg-descr | 11 +++++++ textproc/tei-p4/pkg-plist | 59 +++++++++++++++++++++++++++++++++++++ 6 files changed, 115 insertions(+) create mode 100644 textproc/tei-p4/Makefile create mode 100644 textproc/tei-p4/distinfo create mode 100644 textproc/tei-p4/pkg-comment create mode 100644 textproc/tei-p4/pkg-descr create mode 100644 textproc/tei-p4/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index f88af28d4db9..32a56a53bd46 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -368,6 +368,7 @@ SUBDIR += tei-guidelines-p4 SUBDIR += tei-lite SUBDIR += tei-p3 + SUBDIR += tei-p4 SUBDIR += tei-xlite SUBDIR += tex2im SUBDIR += texi2db diff --git a/textproc/tei-p4/Makefile b/textproc/tei-p4/Makefile new file mode 100644 index 000000000000..1cd844510cd6 --- /dev/null +++ b/textproc/tei-p4/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: tei-p4 +# Date created: 29 April 2002 +# Whom: Henrik Motakef +# +# $FreeBSD$ +# + +PORTNAME= tei +PORTVERSION= p4 +CATEGORIES= textproc +MASTER_SITES= http://www.tei-c.org/P4X/DTD/ +DISTNAME= dtd + +MAINTAINE= henrik.motakef@web.de + +RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog + +USE_ZIP= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes +PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \ + MKCATALOG=${MKCATALOG} + +DTD= dtd.zip +SGMLDIR= ${PREFIX}/share/sgml +INSTDIR= ${SGMLDIR}/${PORTNAME}/${PORTVERSION} +MKCATALOG= ${PREFIX}/sbin/mkcatalog + +pre-install: + @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/*.dtd ${INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/*.ent ${INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/*.dec ${INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/teicatalog.xml ${INSTDIR} + ${SED} -e "s!&DTDpath;!${INSTDIR}/!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog + +post-install: + @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + +.include diff --git a/textproc/tei-p4/distinfo b/textproc/tei-p4/distinfo new file mode 100644 index 000000000000..0641ddaaafef --- /dev/null +++ b/textproc/tei-p4/distinfo @@ -0,0 +1 @@ +MD5 (dtd.zip) = 1c4e64e093c87e7675a2596840e54e98 diff --git a/textproc/tei-p4/pkg-comment b/textproc/tei-p4/pkg-comment new file mode 100644 index 000000000000..babae93b393f --- /dev/null +++ b/textproc/tei-p4/pkg-comment @@ -0,0 +1 @@ +DTD of the Text Encoding Initiative diff --git a/textproc/tei-p4/pkg-descr b/textproc/tei-p4/pkg-descr new file mode 100644 index 000000000000..d0e58c58c39d --- /dev/null +++ b/textproc/tei-p4/pkg-descr @@ -0,0 +1,11 @@ +The DTD of the Text Encoding Initiative allows encoding of a wide range +of document types in the domain of humanities. If focuses on, but is not +restricted to, the needs of the scholarly research and education community. + +This port contains the TEI P4 DTD. It can be used to create documents that +conform to either SGML or XML. + +WWW: http://www.tei-c.org/ + +-- Henrik Motakef + diff --git a/textproc/tei-p4/pkg-plist b/textproc/tei-p4/pkg-plist new file mode 100644 index 000000000000..d5ff520073c6 --- /dev/null +++ b/textproc/tei-p4/pkg-plist @@ -0,0 +1,59 @@ +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% +share/sgml/tei/p4/dummy.dtd +share/sgml/tei/p4/teicatalog.xml +share/sgml/tei/p4/tei2.dtd +share/sgml/tei/p4/teiana2.dtd +share/sgml/tei/p4/teiback2.dtd +share/sgml/tei/p4/teicert2.dtd +share/sgml/tei/p4/teicore2.dtd +share/sgml/tei/p4/teicorp2.dtd +share/sgml/tei/p4/teidict2.dtd +share/sgml/tei/p4/teidram2.dtd +share/sgml/tei/p4/teifig2.dtd +share/sgml/tei/p4/teifron2.dtd +share/sgml/tei/p4/teifs2.dtd +share/sgml/tei/p4/teifsd2.dtd +share/sgml/tei/p4/teigen2.dtd +share/sgml/tei/p4/teihdr2.dtd +share/sgml/tei/p4/teilink2.dtd +share/sgml/tei/p4/teimix2.dtd +share/sgml/tei/p4/teind2.dtd +share/sgml/tei/p4/teinet2.dtd +share/sgml/tei/p4/teipl2.dtd +share/sgml/tei/p4/teipros2.dtd +share/sgml/tei/p4/teishd2.dtd +share/sgml/tei/p4/teispok2.dtd +share/sgml/tei/p4/teistr2.dtd +share/sgml/tei/p4/teitc2.dtd +share/sgml/tei/p4/teite2f.dtd +share/sgml/tei/p4/teite2n.dtd +share/sgml/tei/p4/teiterm2.dtd +share/sgml/tei/p4/teitran2.dtd +share/sgml/tei/p4/teitsd2.dtd +share/sgml/tei/p4/teivers2.dtd +share/sgml/tei/p4/teiwsd2.dtd +share/sgml/tei/p4/teiana2.ent +share/sgml/tei/p4/teiclas2.ent +share/sgml/tei/p4/teidict2.ent +share/sgml/tei/p4/teidram2.ent +share/sgml/tei/p4/teifig2.ent +share/sgml/tei/p4/teigis2.ent +share/sgml/tei/p4/teikey2.ent +share/sgml/tei/p4/teilink2.ent +share/sgml/tei/p4/teind2.ent +share/sgml/tei/p4/teispok2.ent +share/sgml/tei/p4/teitc2.ent +share/sgml/tei/p4/teiterm2.ent +share/sgml/tei/p4/teitran2.ent +share/sgml/tei/p4/teivers2.ent +share/sgml/tei/p4/teisgml.dec +share/sgml/tei/p4/teixlite.dec +share/sgml/tei/p4/teilitex.ent +share/sgml/tei/p4/teilitex.dtd +share/sgml/tei/p4/teilite.dec +share/sgml/tei/p4/teilitex.dec +share/sgml/tei/p4/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% +@dirrm share/sgml/tei/p4/ +@unexec rmdir %D/share/sgml/tei 2>/dev/null || true +@unexec rmdir %D/share/sgml 2>/dev/null || true