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/html | |
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
Diffstat (limited to 'textproc/html')
-rw-r--r-- | textproc/html/Makefile | 12 | ||||
-rw-r--r-- | textproc/html/pkg-plist | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/textproc/html/Makefile b/textproc/html/Makefile index 6a49bf1acccb..d007823170ab 100644 --- a/textproc/html/Makefile +++ b/textproc/html/Makefile @@ -7,6 +7,7 @@ PORTNAME= html PORTVERSION= 4.01 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= kuriyama @@ -15,15 +16,18 @@ EXTRACT_ONLY= # empty MAINTAINER= kuriyama@FreeBSD.org COMMENT= All W3C published SGML DTDs for HTML -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr NO_MTREE= yes NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG} + +PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} +PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/html -MKCATALOG= ${PREFIX}/sbin/mkcatalog +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -34,6 +38,6 @@ do-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${MKCATALOG} -q install ${PORTNAME} + @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog .include <bsd.port.mk> diff --git a/textproc/html/pkg-plist b/textproc/html/pkg-plist index ce3e2d0fba61..727dfded3df1 100644 --- a/textproc/html/pkg-plist +++ b/textproc/html/pkg-plist @@ -21,9 +21,9 @@ share/sgml/html/4.01/HTMLsymbol.ent share/sgml/html/4.01/frameset.dtd share/sgml/html/4.01/loose.dtd share/sgml/html/4.01/strict.dtd -@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%% +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog share/sgml/html/catalog -@exec %%MKCATALOG%% -q install %%DTD_NAME%% +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add %%DTD_NAME%%/catalog @dirrm share/sgml/html/2.0 @dirrm share/sgml/html/3.2 @dirrm share/sgml/html/4.0 |