aboutsummaryrefslogtreecommitdiff
path: root/textproc/iso12083
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-07-01 06:21:09 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-07-01 06:21:09 +0000
commit7464f336e31fd80c931c3eb1c4c62776e4e3f7f1 (patch)
tree967c3aa47957c6218b6c16c34cfdf4261490cfc6 /textproc/iso12083
parentd7f26aaaed78fb07382fa672754350cb37ec40e0 (diff)
downloadports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.tar.gz
ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.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
Notes
Notes: svn path=/head/; revision=83949
Diffstat (limited to 'textproc/iso12083')
-rw-r--r--textproc/iso12083/Makefile11
-rw-r--r--textproc/iso12083/pkg-plist4
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/iso12083/Makefile b/textproc/iso12083/Makefile
index 6f703f4d4974..5fce8251b72c 100644
--- a/textproc/iso12083/Makefile
+++ b/textproc/iso12083/Makefile
@@ -7,6 +7,7 @@
PORTNAME= iso12083
PORTVERSION= 1993
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama/iso12083
@@ -16,17 +17,19 @@ EXTRACT_ONLY= # empty
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= SGML DTDs from the The Electronic Publishing Special Interest Group
-RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
DIST_SUBDIR= iso12083
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/iso12083
-MKCATALOG= ${PREFIX}/sbin/mkcatalog
+XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
+CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
pre-install:
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
@@ -38,6 +41,6 @@ do-install:
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
post-install:
- @${MKCATALOG} -q install ${PORTNAME}
+ @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog
.include <bsd.port.mk>
diff --git a/textproc/iso12083/pkg-plist b/textproc/iso12083/pkg-plist
index 34a1779fc16b..c55aec39ffad 100644
--- a/textproc/iso12083/pkg-plist
+++ b/textproc/iso12083/pkg-plist
@@ -2,7 +2,7 @@ share/sgml/iso12083/article.dtd
share/sgml/iso12083/book.dtd
share/sgml/iso12083/maths.dtd
share/sgml/iso12083/serial.dtd
-@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
+@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/catalog
share/sgml/iso12083/catalog
-@exec %%MKCATALOG%% -q install %%DTD_NAME%%
+@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add %%DTD_NAME%%/catalog
@dirrm share/sgml/iso12083