aboutsummaryrefslogtreecommitdiff
path: root/textproc/tei-lite
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 12:21:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 12:21:19 +0000
commit28c66deb403b724fdb042defa2e491c438411c56 (patch)
tree03dae454e08f4f9674c583357c55817ac38c1dc1 /textproc/tei-lite
parent1ac6a1baf98d33604a875ad52ff77c179e28d719 (diff)
downloadports-28c66deb403b724fdb042defa2e491c438411c56.tar.gz
ports-28c66deb403b724fdb042defa2e491c438411c56.zip
Notes
Diffstat (limited to 'textproc/tei-lite')
-rw-r--r--textproc/tei-lite/Makefile36
-rw-r--r--textproc/tei-lite/distinfo2
-rw-r--r--textproc/tei-lite/files/catalog7
-rw-r--r--textproc/tei-lite/pkg-comment1
-rw-r--r--textproc/tei-lite/pkg-descr12
-rw-r--r--textproc/tei-lite/pkg-plist8
6 files changed, 66 insertions, 0 deletions
diff --git a/textproc/tei-lite/Makefile b/textproc/tei-lite/Makefile
new file mode 100644
index 000000000000..4640c03ce73b
--- /dev/null
+++ b/textproc/tei-lite/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: tei-lite
+# Date created: 19 May 2002
+# Whom: Henrik Motakef <henrik.motakef@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tei
+PORTVERSION= 1.6
+CATEGORIES= textproc
+MASTER_SITES= http://www.tei-c.org/Lite/DTD/
+PKGNAMESUFFIX= -lite
+DISTFILES= teilite.dtd teilite.tag
+EXTRACT_ONLY= # Empty
+
+MAINTAINER= henrik.motakef@web.de
+
+RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+
+NO_BUILD= yes
+PLIST_SUB= MKCATALOG=${MKCATALOG} CATALOG=${CATALOG}
+INSTDIR= ${PREFIX}/share/sgml/tei/lite
+CATALOG= ${PREFIX}/share/sgml/catalog
+MKCATALOG= ${PREFIX}/sbin/mkcatalog
+
+do-install:
+ @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
+ @${INSTALL_DATA} ${DISTDIR}/teilite.dtd ${INSTDIR}
+ @${INSTALL_DATA} ${DISTDIR}/teilite.tag ${INSTDIR}
+ @${SED} -e 's!%%INSTDIR%%!${INSTDIR}!' ${FILESDIR}/catalog \
+ > ${INSTDIR}/catalog
+
+post-install:
+ @${MKCATALOG} -q -c ${CATALOG} install ${PORTNAME}/lite
+
+.include <bsd.port.mk>
diff --git a/textproc/tei-lite/distinfo b/textproc/tei-lite/distinfo
new file mode 100644
index 000000000000..78ed31f40667
--- /dev/null
+++ b/textproc/tei-lite/distinfo
@@ -0,0 +1,2 @@
+MD5 (teilite.dtd) = 9055b5d96e1a73fe211f0d101a6c0152
+MD5 (teilite.tag) = 0db94947ee15766207478cb2a909f854
diff --git a/textproc/tei-lite/files/catalog b/textproc/tei-lite/files/catalog
new file mode 100644
index 000000000000..f9328354a16e
--- /dev/null
+++ b/textproc/tei-lite/files/catalog
@@ -0,0 +1,7 @@
+PUBLIC "-//TEI//DTD TEI Lite 1.0//EN" "%%INSTDIR%%/teilite.dtd"
+PUBLIC "-//TEI//DTD TEI Lite 1.0 //EN" "%%INSTDIR%%/teilite.dtd"
+PUBLIC "-//TEI//DTD TEI Lite 1.6 //EN" "%%INSTDIR%%/teilite.dtd"
+PUBLIC "-//TEI//DTD TEI Lite 1.6//EN" "%%INSTDIR%%/teilite.dtd"
+
+
+
diff --git a/textproc/tei-lite/pkg-comment b/textproc/tei-lite/pkg-comment
new file mode 100644
index 000000000000..ff4aa76803c1
--- /dev/null
+++ b/textproc/tei-lite/pkg-comment
@@ -0,0 +1 @@
+SGML version of the TEI-Lite DTD
diff --git a/textproc/tei-lite/pkg-descr b/textproc/tei-lite/pkg-descr
new file mode 100644
index 000000000000..f6eb687933da
--- /dev/null
+++ b/textproc/tei-lite/pkg-descr
@@ -0,0 +1,12 @@
+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 SGML version of the TEI Lite DTD, a small
+customization of the TEI DTD that should meet 90% of the needs of 90%
+of users.
+
+WWW: http://www.tei-c.org/
+
+-- Henrik Motakef
+ <henrik.motakef@web.de>
diff --git a/textproc/tei-lite/pkg-plist b/textproc/tei-lite/pkg-plist
new file mode 100644
index 000000000000..92e87923f0a1
--- /dev/null
+++ b/textproc/tei-lite/pkg-plist
@@ -0,0 +1,8 @@
+@unexec %%MKCATALOG%% -q -c %%CATALOG%% deinstall tei/lite
+share/sgml/tei/lite/teilite.dtd
+share/sgml/tei/lite/teilite.tag
+share/sgml/tei/lite/catalog
+@exec %%MKCATALOG%% -q -c %%CATALOG%% install tei/lite
+@dirrm share/sgml/tei/lite
+@unexec rmdir %D/share/sgml/tei 2>/dev/null || true
+@unexec rmdir %D/share/sgml 2>/dev/null || true