New Port: Customize TEI DTDs

Generate customized TEI-DTDs

PR:		ports/38341
Submitted by:	Henrik Motakef <henrik.motakef@web.de>
This commit is contained in:
Edwin Groothuis 2003-01-03 23:23:26 +00:00
parent 4cfd446861
commit 7a312e7e09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72473
6 changed files with 69 additions and 0 deletions

View File

@ -127,6 +127,7 @@
SUBDIR += linuxdoc
SUBDIR += ltxml
SUBDIR += makepatch
SUBDIR += maketeidtd
SUBDIR += man2html
SUBDIR += manued.el
SUBDIR += mgdiff

View File

@ -0,0 +1,43 @@
# New ports collection makefile for: maketeidtd
# Date created: 18 May 2002
# Whom: Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$
#
PORTNAME= maketeidtd
PORTVERSION= 20020414 # Cannot find a "real" version number
CATEGORIES= textproc
MASTER_SITES= http://www.tei-c.org/Software/maketeidtd/
DISTNAME= ${PORTNAME}
MAINTAINER= henrik.motakef@web.de
RUN_DEPENDS= carthage:${PORTSDIR}/textproc/carthage \
${LOCALBASE}/share/sgml/tei/p4/tei2.dtd:${PORTSDIR}/textproc/tei-p4
USE_PERL5= yes
USE_ZIP= yes
NO_BUILD= yes
post-patch:
@${MV} ${WRKSRC}/maketeidtd ${WRKSRC}/maketeidtd.tmp
@${SED} -e 's;#!/usr/bin/perl;#!${PERL};' \
-e 's;../../P4X/DTD;${PREFIX}/share/sgml/tei/p4;' \
${WRKSRC}/maketeidtd.tmp > ${WRKSRC}/maketeidtd
@${RM} ${WRKSRC}/maketeidtd.tmp
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/maketeidtd ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/maketeidtd
@${MKDIR} ${PREFIX}/share/examples/maketeidtd
@${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/maketeidtd
@${INSTALL_MAN} ${WRKSRC}/index.xml ${PREFIX}/share/doc/maketeidtd
@${INSTALL_MAN} ${WRKSRC}/index.xsl ${PREFIX}/share/doc/maketeidtd
@${INSTALL_MAN} ${WRKSRC}/examples/* ${PREFIX}/share/examples/maketeidtd
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (maketeidtd.zip) = 858ef44aad7166f41ca247b7cdcc40e9

View File

@ -0,0 +1 @@
Generate customized TEI-DTDs

View File

@ -0,0 +1,8 @@
A perl-script to generate customized TEI-DTDs by chosing element and entity
sets or providing user-defined modifications. Can generate either SGML or XML
DTDs.
WWW: http://www.tei-c.org/Software/maketeidtd/
-- Henrik Motakef
<henrik.motakef@web.de>

View File

@ -0,0 +1,15 @@
bin/maketeidtd
%%PORTDOCS%%share/doc/maketeidtd/index.html
%%PORTDOCS%%share/doc/maketeidtd/index.xml
%%PORTDOCS%%share/doc/maketeidtd/index.xsl
%%PORTDOCS%%share/examples/maketeidtd/equation.dtd
%%PORTDOCS%%share/examples/maketeidtd/iso-lat1.ent
%%PORTDOCS%%share/examples/maketeidtd/iso-lat2.ent
%%PORTDOCS%%share/examples/maketeidtd/iso-num.ent
%%PORTDOCS%%share/examples/maketeidtd/iso-pub.ent
%%PORTDOCS%%share/examples/maketeidtd/tei-equation.dtd
%%PORTDOCS%%share/examples/maketeidtd/tei-equation.ent
%%PORTDOCS%%share/examples/maketeidtd/teilitex.dtd
%%PORTDOCS%%share/examples/maketeidtd/teilitex.ent
%%PORTDOCS%%@dirrm share/doc/maketeidtd
%%PORTDOCS%%@dirrm share/examples/maketeidtd