diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 14:21:09 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 14:21:09 +0800 |
commit | 450fec8db3e9eb0d8c8809de0f930ae71f924516 (patch) | |
tree | 65732c72a7497c02275f6c7b1e1555bd342a0e29 /textproc/tei-p3 | |
parent | 01e8c93ae718c09798243b52145ad64a7b7a5a65 (diff) | |
download | freebsd-ports-gnome-450fec8db3e9eb0d8c8809de0f930ae71f924516.tar.gz freebsd-ports-gnome-450fec8db3e9eb0d8c8809de0f930ae71f924516.tar.zst freebsd-ports-gnome-450fec8db3e9eb0d8c8809de0f930ae71f924516.zip |
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
Diffstat (limited to 'textproc/tei-p3')
-rw-r--r-- | textproc/tei-p3/Makefile | 17 | ||||
-rw-r--r-- | textproc/tei-p3/files/catalog | 6 | ||||
-rw-r--r-- | textproc/tei-p3/pkg-plist | 4 |
3 files changed, 13 insertions, 14 deletions
diff --git a/textproc/tei-p3/Makefile b/textproc/tei-p3/Makefile index 5f68682e88da..7d5069424df7 100644 --- a/textproc/tei-p3/Makefile +++ b/textproc/tei-p3/Makefile @@ -7,6 +7,7 @@ PORTNAME= tei PORTVERSION= p3 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/Vault/GL/ DISTNAME= teip3dtd @@ -14,25 +15,27 @@ DISTNAME= teip3dtd MAINTAINER= henrik.motakef@web.de COMMENT= DTD of the Text Encoding Initiative -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \ - MKCATALOG=${MKCATALOG} +PLIST_SUB= XMLCATMGR=${XMLCATMGR} \ + DTDDIR=${DTDDIR} \ + CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} SGMLDIR= ${PREFIX}/share/sgml INSTDIR= ${SGMLDIR}/${PORTNAME}/${PORTVERSION} -MKCATALOG= ${PREFIX}/sbin/mkcatalog +DTDDIR= ${PORTNAME}/${PORTVERSION} +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports do-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @${INSTALL_MAN} ${WRKSRC}/*.dtd ${INSTDIR} @${INSTALL_MAN} ${WRKSRC}/*.ent ${INSTDIR} - @${SED} -e 's!%%INSTDIR%%!${INSTDIR}!' ${FILESDIR}/catalog \ - > ${INSTDIR}/catalog + @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR} post-install: - @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog .include <bsd.port.mk> diff --git a/textproc/tei-p3/files/catalog b/textproc/tei-p3/files/catalog index afcfea08a4d7..b2c540e81e72 100644 --- a/textproc/tei-p3/files/catalog +++ b/textproc/tei-p3/files/catalog @@ -1,5 +1 @@ -PUBLIC "-//TEI P3//DTD Main Document Type//EN" "%%INSTDIR%%/tei2.dtd"END-of-tei-p3/files/catalog -exit - - - +PUBLIC "-//TEI P3//DTD Main Document Type//EN" "tei2.dtd" diff --git a/textproc/tei-p3/pkg-plist b/textproc/tei-p3/pkg-plist index 2e179f4e6966..4b61ae2aa245 100644 --- a/textproc/tei-p3/pkg-plist +++ b/textproc/tei-p3/pkg-plist @@ -1,4 +1,4 @@ -@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog share/sgml/tei/p3/p2ents.dtd share/sgml/tei/p3/tei2.dtd share/sgml/tei/p3/teiana2.dtd @@ -47,6 +47,6 @@ share/sgml/tei/p3/teiterm2.ent share/sgml/tei/p3/teitran2.ent share/sgml/tei/p3/teivers2.ent share/sgml/tei/p3/catalog -@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog @dirrm share/sgml/tei/p3 @unexec rmdir %D/share/sgml/tei 2>/dev/null || true |