aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-04 07:20:01 +0800
committeredwin <edwin@FreeBSD.org>2003-01-04 07:20:01 +0800
commit4137acdddcfd6e0d022f231d03b4d8c64549f519 (patch)
tree4c409e9a7a391d5e026b9459993842e287a72ff7 /textproc
parentc14bf483344654abcc28da0d244cbf1647e75f28 (diff)
downloadfreebsd-ports-gnome-4137acdddcfd6e0d022f231d03b4d8c64549f519.tar.gz
freebsd-ports-gnome-4137acdddcfd6e0d022f231d03b4d8c64549f519.tar.zst
freebsd-ports-gnome-4137acdddcfd6e0d022f231d03b4d8c64549f519.zip
New Port: TEI P4 DTD
DTD of the Text Encoding Initiative PR: ports/38332 Submitted by: Henrik Motakef <henrik.motakef@web.de>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/tei-p4/Makefile42
-rw-r--r--textproc/tei-p4/distinfo1
-rw-r--r--textproc/tei-p4/pkg-comment1
-rw-r--r--textproc/tei-p4/pkg-descr11
-rw-r--r--textproc/tei-p4/pkg-plist59
6 files changed, 115 insertions, 0 deletions
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 <bsd.port.mk>
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
+ <henrik.motakef@web.de>
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