aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iso12083/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iso12083/Makefile')
-rw-r--r--textproc/iso12083/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/textproc/iso12083/Makefile b/textproc/iso12083/Makefile
index 5b393d810c1e..7aa21e96a939 100644
--- a/textproc/iso12083/Makefile
+++ b/textproc/iso12083/Makefile
@@ -13,14 +13,18 @@ DISTFILES= article.dtd book.dtd maths.dtd serial.dtd
MAINTAINER= jfieber@FreeBSD.org
+RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+
DIST_SUBDIR= iso12083
NO_MTREE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
EXTRACT_ONLY= # empty
+PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
INSTDIR= ${PREFIX}/share/sgml/iso12083
+MKCATALOG= ${PREFIX}/sbin/mkcatalog
pre-install:
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
@@ -31,4 +35,7 @@ do-install:
done
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
+post-install:
+ @${MKCATALOG} -q install ${PORTNAME}
+
.include <bsd.port.mk>