aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iso8879
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-07-01 14:21:09 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-07-01 14:21:09 +0800
commit450fec8db3e9eb0d8c8809de0f930ae71f924516 (patch)
tree65732c72a7497c02275f6c7b1e1555bd342a0e29 /textproc/iso8879
parent01e8c93ae718c09798243b52145ad64a7b7a5a65 (diff)
downloadfreebsd-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/iso8879')
-rw-r--r--textproc/iso8879/Makefile11
-rw-r--r--textproc/iso8879/pkg-plist4
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile
index e2377434f0d7..7c85ce196266 100644
--- a/textproc/iso8879/Makefile
+++ b/textproc/iso8879/Makefile
@@ -7,6 +7,7 @@
PORTNAME= iso8879
PORTVERSION= 1986
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
@@ -17,15 +18,17 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Character entity sets from ISO 8879:1986 (SGML)
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
EXTRACT_ONLY= # empty
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/iso8879
-MKCATALOG= ${PREFIX}/sbin/mkcatalog
+XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
+CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
pre-install:
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
@@ -37,6 +40,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/iso8879/pkg-plist b/textproc/iso8879/pkg-plist
index 9dfc38ee1b49..cf98d7e945e1 100644
--- a/textproc/iso8879/pkg-plist
+++ b/textproc/iso8879/pkg-plist
@@ -17,7 +17,7 @@ share/sgml/iso8879/ISOlat2
share/sgml/iso8879/ISOnum
share/sgml/iso8879/ISOpub
share/sgml/iso8879/ISOtech
-@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
+@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog
share/sgml/iso8879/catalog
-@exec %%MKCATALOG%% -q install %%DTD_NAME%%
+@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add %%DTD_NAME%%/catalog
@dirrm share/sgml/iso8879