diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-26 13:50:57 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-26 13:50:57 +0000 |
commit | 55a1372afdc9a7b5df78ddcc2b9a1bc196e3437a (patch) | |
tree | 65046c9140c8b1ecc8e66b5905b2e5101472c4df | |
parent | - Fix the DOCSDIR and EXAMPLESDIR code. Now both can be (diff) |
- Update to latest version, fixing checksum error
- Install XML catalog
- Fix catalog permissions
- Change maintainer mail address
PR: 58435
Submitted by: Henrik Motakef <ports@henrik-motakef.de> (maintainer)
-rw-r--r-- | textproc/tei-p4/Makefile | 16 | ||||
-rw-r--r-- | textproc/tei-p4/distinfo | 2 | ||||
-rw-r--r-- | textproc/tei-p4/pkg-plist | 3 |
3 files changed, 14 insertions, 7 deletions
diff --git a/textproc/tei-p4/Makefile b/textproc/tei-p4/Makefile index 24acaca88842..f99465f296d2 100644 --- a/textproc/tei-p4/Makefile +++ b/textproc/tei-p4/Makefile @@ -7,12 +7,12 @@ PORTNAME= tei PORTVERSION= p4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/P4X/DTD/ DISTNAME= dtd -MAINTAINER= henrik.motakef@web.de +MAINTAINER= ports@henrik-motakef.de COMMENT= DTD of the Text Encoding Initiative RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr @@ -22,14 +22,17 @@ NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= XMLCATMGR=${XMLCATMGR} \ DTDDIR=${DTDDIR} \ - CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} + CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \ + CATALOG_PORTS_XML=${CATALOG_PORTS_XML} DTD= dtd.zip SGMLDIR= ${PREFIX}/share/sgml INSTDIR= ${SGMLDIR}/${PORTNAME}/${PORTVERSION} DTDDIR= ${PORTNAME}/${PORTVERSION} +DTD_URL= http://www.tei-c.org/Guidelines/DTD XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports +CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -38,10 +41,13 @@ 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!${DTD_URL}!file://${INSTDIR}!" ${WRKSRC}/teicatalog.xml > ${INSTDIR}/catalog.xml ${SED} -e "s!&DTDpath;!!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/catalog.xml + ${CHMOD} ${SHAREMODE} ${INSTDIR}/catalog post-install: - ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${INSTDIR}/catalog + ${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${INSTDIR}/catalog.xml .include <bsd.port.mk> diff --git a/textproc/tei-p4/distinfo b/textproc/tei-p4/distinfo index 0641ddaaafef..baee4d4b1cb0 100644 --- a/textproc/tei-p4/distinfo +++ b/textproc/tei-p4/distinfo @@ -1 +1 @@ -MD5 (dtd.zip) = 1c4e64e093c87e7675a2596840e54e98 +MD5 (dtd.zip) = 87c729c401a59ed301da50530cb375fd diff --git a/textproc/tei-p4/pkg-plist b/textproc/tei-p4/pkg-plist index 9a62d813fa4d..f56c7e827694 100644 --- a/textproc/tei-p4/pkg-plist +++ b/textproc/tei-p4/pkg-plist @@ -1,6 +1,7 @@ @unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog +@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DTDDIR%%/catalog.xml share/sgml/tei/p4/dummy.dtd -share/sgml/tei/p4/teicatalog.xml +share/sgml/tei/p4/catalog.xml share/sgml/tei/p4/tei2.dtd share/sgml/tei/p4/teiana2.dtd share/sgml/tei/p4/teiback2.dtd |