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-p4 | |
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-p4')
-rw-r--r-- | textproc/tei-p4/Makefile | 16 | ||||
-rw-r--r-- | textproc/tei-p4/pkg-plist | 4 |
2 files changed, 12 insertions, 8 deletions
diff --git a/textproc/tei-p4/Makefile b/textproc/tei-p4/Makefile index 9dcaa7086f8a..24acaca88842 100644 --- a/textproc/tei-p4/Makefile +++ b/textproc/tei-p4/Makefile @@ -7,6 +7,7 @@ PORTNAME= tei PORTVERSION= p4 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.tei-c.org/P4X/DTD/ DISTNAME= dtd @@ -14,18 +15,21 @@ DISTNAME= dtd MAINTAINER= henrik.motakef@web.de COMMENT= DTD of the Text Encoding Initiative -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr USE_ZIP= yes 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} DTD= dtd.zip 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 pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -35,9 +39,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.ent ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/*.dec ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/teicatalog.xml ${INSTDIR} - ${SED} -e "s!&DTDpath;!${INSTDIR}/!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog + ${SED} -e "s!&DTDpath;!!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog 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-p4/pkg-plist b/textproc/tei-p4/pkg-plist index c816c98b2ef5..9a62d813fa4d 100644 --- a/textproc/tei-p4/pkg-plist +++ b/textproc/tei-p4/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/p4/dummy.dtd share/sgml/tei/p4/teicatalog.xml share/sgml/tei/p4/tei2.dtd @@ -53,6 +53,6 @@ share/sgml/tei/p4/teilitex.dtd share/sgml/tei/p4/teilite.dec share/sgml/tei/p4/teilitex.dec share/sgml/tei/p4/catalog -@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog @dirrm share/sgml/tei/p4/ @unexec rmdir %D/share/sgml/tei 2>/dev/null || true |