summaryrefslogtreecommitdiff
path: root/textproc/iso12083/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iso12083/Makefile')
-rw-r--r--textproc/iso12083/Makefile11
1 files changed, 7 insertions, 4 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>