diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
commit | 7464f336e31fd80c931c3eb1c4c62776e4e3f7f1 (patch) | |
tree | 967c3aa47957c6218b6c16c34cfdf4261490cfc6 /textproc/tei-lite | |
parent | Add support for Mozilla 1.4, and remove references to mozilla-vendor. (diff) |
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
Notes
Notes:
svn path=/head/; revision=83949
Diffstat (limited to 'textproc/tei-lite')
-rw-r--r-- | textproc/tei-lite/Makefile | 17 | ||||
-rw-r--r-- | textproc/tei-lite/files/catalog | 8 | ||||
-rw-r--r-- | textproc/tei-lite/pkg-plist | 4 |
3 files changed, 16 insertions, 13 deletions
diff --git a/textproc/tei-lite/Makefile b/textproc/tei-lite/Makefile index d5cd457a794e..b7a9b689e902 100644 --- a/textproc/tei-lite/Makefile +++ b/textproc/tei-lite/Makefile @@ -7,6 +7,7 @@ PORTNAME= tei PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/Lite/DTD/ PKGNAMESUFFIX= -lite @@ -16,22 +17,24 @@ EXTRACT_ONLY= # Empty MAINTAINER= henrik.motakef@web.de COMMENT= SGML version of the TEI-Lite DTD -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr NO_BUILD= yes -PLIST_SUB= MKCATALOG=${MKCATALOG} CATALOG=${CATALOG} +PLIST_SUB= XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= DTDDIR=${DTDDIR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/tei/lite -CATALOG= ${PREFIX}/share/sgml/catalog -MKCATALOG= ${PREFIX}/sbin/mkcatalog +DTDDIR= ${PORTNAME}/lite +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports 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 + @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR} post-install: - @${MKCATALOG} -q -c ${CATALOG} install ${PORTNAME}/lite + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog .include <bsd.port.mk> diff --git a/textproc/tei-lite/files/catalog b/textproc/tei-lite/files/catalog index f9328354a16e..3aba6d085a3b 100644 --- a/textproc/tei-lite/files/catalog +++ b/textproc/tei-lite/files/catalog @@ -1,7 +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" +PUBLIC "-//TEI//DTD TEI Lite 1.0//EN" "teilite.dtd" +PUBLIC "-//TEI//DTD TEI Lite 1.0 //EN" "teilite.dtd" +PUBLIC "-//TEI//DTD TEI Lite 1.6 //EN" "teilite.dtd" +PUBLIC "-//TEI//DTD TEI Lite 1.6//EN" "teilite.dtd" diff --git a/textproc/tei-lite/pkg-plist b/textproc/tei-lite/pkg-plist index 14236c352b01..a48f39e84f16 100644 --- a/textproc/tei-lite/pkg-plist +++ b/textproc/tei-lite/pkg-plist @@ -1,7 +1,7 @@ -@unexec %%MKCATALOG%% -q -c %%CATALOG%% deinstall tei/lite share/sgml/tei/lite/teilite.dtd share/sgml/tei/lite/teilite.tag +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog share/sgml/tei/lite/catalog -@exec %%MKCATALOG%% -q -c %%CATALOG%% install tei/lite +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog @dirrm share/sgml/tei/lite @unexec rmdir %D/share/sgml/tei 2>/dev/null || true |