diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-10-27 15:31:04 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-10-27 15:31:04 +0000 |
commit | dfbcb5215ea76492da99061e33aef5a768e894d2 (patch) | |
tree | 0cd941dffaacea01edb9682c2932f941d8302b17 /textproc/docbook-410/Makefile | |
parent | Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog. (diff) |
Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog
and ${PREFIX}/share/sgml/docbook/catalog.
Diffstat (limited to '')
-rw-r--r-- | textproc/docbook-410/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/docbook-410/Makefile b/textproc/docbook-410/Makefile index 3ccc5f1a9782..babebcff8cae 100644 --- a/textproc/docbook-410/Makefile +++ b/textproc/docbook-410/Makefile @@ -16,15 +16,19 @@ EXTRACT_ONLY= # empty MAINTAINER= murray@freebsd.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog USE_ZIP= yes NO_MTREE= yes NO_BUILD= yes NO_WRKSUBDIR= yes +PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \ + MKCATALOG=${MKCATALOG} INSTDIR= ${PREFIX}/share/sgml/docbook ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog +MKCATALOG= ${PREFIX}/sbin/mkcatalog pre-install: @[ -d ${INSTDIR}/4.1 ] || ${MKDIR} ${INSTDIR}/4.1 @@ -36,4 +40,7 @@ do-install: @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.1/* @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR} +post-install: + @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + .include <bsd.port.mk> |