aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-03 20:16:48 +0800
committeredwin <edwin@FreeBSD.org>2003-01-03 20:16:48 +0800
commit9157b0bfcf1615ac3cf63adcad2958fb43dd0785 (patch)
treeefbe855f0ff68a1723c0d1de24a3a99542d86bed /textproc
parent8b6a2b92cef7a626bb106433ff5e1115b02ff547 (diff)
downloadfreebsd-ports-gnome-9157b0bfcf1615ac3cf63adcad2958fb43dd0785.tar.gz
freebsd-ports-gnome-9157b0bfcf1615ac3cf63adcad2958fb43dd0785.tar.zst
freebsd-ports-gnome-9157b0bfcf1615ac3cf63adcad2958fb43dd0785.zip
New Port: TEI Lite XML DTD
XML version of the TEI-Lite DTD PR: ports/38335 Submitted by: Henrik Motakef <henrik.motakef@web.de>ZZ
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/tei-xlite/Makefile36
-rw-r--r--textproc/tei-xlite/distinfo1
-rw-r--r--textproc/tei-xlite/files/catalog1
-rw-r--r--textproc/tei-xlite/pkg-comment1
-rw-r--r--textproc/tei-xlite/pkg-descr12
-rw-r--r--textproc/tei-xlite/pkg-plist7
7 files changed, 59 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8ce78c0ca27d..dccdc657558b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -366,6 +366,7 @@
SUBDIR += tdtd.el
SUBDIR += tei-guidelines-p3
SUBDIR += tei-guidelines-p4
+ SUBDIR += tei-xlite
SUBDIR += tex2im
SUBDIR += texi2db
SUBDIR += texi2html
diff --git a/textproc/tei-xlite/Makefile b/textproc/tei-xlite/Makefile
new file mode 100644
index 000000000000..01344f5d745e
--- /dev/null
+++ b/textproc/tei-xlite/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: tei-xlite
+# Date created: 19 May 2002
+# Whom: Henrik Motakef <henrik.motakef@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tei
+PORTVERSION= 1.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.tei-c.org/Lite/DTD/
+PKGNAMESUFFIX= -xlite
+DISTNAME= teixlite
+EXTRACT_SUFX= .dtd
+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/xml/tei/xlite
+CATALOG= ${PREFIX}/share/xml/catalog
+MKCATALOG= ${PREFIX}/sbin/mkcatalog
+
+do-install:
+ @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
+ @${INSTALL_DATA} ${DISTDIR}/teixlite.dtd ${INSTDIR}
+ @${SED} -e 's!%%INSTDIR%%!${INSTDIR}!' ${FILESDIR}/catalog \
+ > ${INSTDIR}/catalog
+
+post-install:
+ @${MKCATALOG} -q -c ${CATALOG} install ${PORTNAME}/xlite
+
+.include <bsd.port.mk>
diff --git a/textproc/tei-xlite/distinfo b/textproc/tei-xlite/distinfo
new file mode 100644
index 000000000000..07d65446df4a
--- /dev/null
+++ b/textproc/tei-xlite/distinfo
@@ -0,0 +1 @@
+MD5 (teixlite.dtd) = c27eca451396fea132c21f1eddc67748
diff --git a/textproc/tei-xlite/files/catalog b/textproc/tei-xlite/files/catalog
new file mode 100644
index 000000000000..f761017481c1
--- /dev/null
+++ b/textproc/tei-xlite/files/catalog
@@ -0,0 +1 @@
+PUBLIC "-//TEI//DTD TEI Lite XML ver. 1//EN" "%%INSTDIR%%/teixlite.dtd"
diff --git a/textproc/tei-xlite/pkg-comment b/textproc/tei-xlite/pkg-comment
new file mode 100644
index 000000000000..158ad0e2eeda
--- /dev/null
+++ b/textproc/tei-xlite/pkg-comment
@@ -0,0 +1 @@
+XML version of the TEI-Lite DTD
diff --git a/textproc/tei-xlite/pkg-descr b/textproc/tei-xlite/pkg-descr
new file mode 100644
index 000000000000..ae13fc6cd2e9
--- /dev/null
+++ b/textproc/tei-xlite/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 XML 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-xlite/pkg-plist b/textproc/tei-xlite/pkg-plist
new file mode 100644
index 000000000000..611db2c2db8f
--- /dev/null
+++ b/textproc/tei-xlite/pkg-plist
@@ -0,0 +1,7 @@
+@unexec %%MKCATALOG%% -q -c %%CATALOG%% deinstall tei/xlite
+share/xml/tei/xlite/teixlite.dtd
+share/xml/tei/xlite/catalog
+@exec %%MKCATALOG%% -q -c %%CATALOG%% install tei/xlite
+@dirrm share/xml/tei/xlite
+@unexec rmdir %D/share/xml/tei 2>/dev/null || true
+@unexec rmdir %D/share/xml 2>/dev/null || true