diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/docbook-241/Makefile | 8 | ||||
-rw-r--r-- | textproc/docbook-241/pkg-plist | 2 | ||||
-rw-r--r-- | textproc/docbook-300/Makefile | 9 | ||||
-rw-r--r-- | textproc/docbook-300/pkg-plist | 2 | ||||
-rw-r--r-- | textproc/docbook-310/Makefile | 9 | ||||
-rw-r--r-- | textproc/docbook-310/pkg-plist | 2 | ||||
-rw-r--r-- | textproc/docbook-400/Makefile | 9 | ||||
-rw-r--r-- | textproc/docbook-400/pkg-plist | 2 | ||||
-rw-r--r-- | textproc/docbook-410/Makefile | 9 | ||||
-rw-r--r-- | textproc/docbook-410/pkg-plist | 2 |
10 files changed, 49 insertions, 5 deletions
diff --git a/textproc/docbook-241/Makefile b/textproc/docbook-241/Makefile index f566c4016d60..a893134c42ed 100644 --- a/textproc/docbook-241/Makefile +++ b/textproc/docbook-241/Makefile @@ -15,15 +15,18 @@ DISTFILES= docbk241.tar.Z MAINTAINER= nik@FreeBSD.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog NO_MTREE= yes EXTRACT_ONLY= # empty NO_BUILD= yes NO_WRKSUBDIR= yes +PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=2.4.1 MKCATALOG=${MKCATALOG} INSTDIR= ${PREFIX}/share/sgml/docbook ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog +MKCATALOG= ${PREFIX}/sbin/mkcatalog pre-install: @[ -d ${INSTDIR}/2.4.1 ] || ${MKDIR} ${INSTDIR}/2.4.1 @@ -35,4 +38,7 @@ do-install: @${CHMOD} ${SHAREMODE} ${INSTDIR}/2.4.1/* @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR} +post-install: + @${MKCATALOG} -q install ${PORTNAME}/2.4.1 + .include <bsd.port.mk> diff --git a/textproc/docbook-241/pkg-plist b/textproc/docbook-241/pkg-plist index 027a95118b12..f2a52a565934 100644 --- a/textproc/docbook-241/pkg-plist +++ b/textproc/docbook-241/pkg-plist @@ -6,6 +6,8 @@ share/sgml/docbook/2.4.1/dbpool.mod share/sgml/docbook/2.4.1/docbook.cat share/sgml/docbook/2.4.1/docbook.dcl share/sgml/docbook/2.4.1/docbook.dtd +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/2.4.1/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% @dirrm share/sgml/docbook/2.4.1 @unexec rmdir %D/share/sgml/docbook 2>/dev/null || true diff --git a/textproc/docbook-300/Makefile b/textproc/docbook-300/Makefile index 401f3047c076..cda3345500dc 100644 --- a/textproc/docbook-300/Makefile +++ b/textproc/docbook-300/Makefile @@ -15,15 +15,19 @@ DISTFILES= docbk30.tar.Z MAINTAINER= nik@FreeBSD.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog NO_MTREE= yes EXTRACT_ONLY= # empty 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}/3.0 ] || ${MKDIR} ${INSTDIR}/3.0 @@ -35,4 +39,7 @@ do-install: @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.0/* @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR} +post-install: + @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + .include <bsd.port.mk> diff --git a/textproc/docbook-300/pkg-plist b/textproc/docbook-300/pkg-plist index a654cb3d6c30..6f5c42709542 100644 --- a/textproc/docbook-300/pkg-plist +++ b/textproc/docbook-300/pkg-plist @@ -8,6 +8,8 @@ share/sgml/docbook/3.0/dbpool.mod share/sgml/docbook/3.0/docbook.cat share/sgml/docbook/3.0/docbook.dcl share/sgml/docbook/3.0/docbook.dtd +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/3.0/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% @dirrm share/sgml/docbook/3.0 @unexec rmdir %D/share/sgml/docbook 2>/dev/null || true diff --git a/textproc/docbook-310/Makefile b/textproc/docbook-310/Makefile index 9eef336153e5..0e1de3491377 100644 --- a/textproc/docbook-310/Makefile +++ b/textproc/docbook-310/Makefile @@ -15,16 +15,20 @@ DISTNAME= docbk31 MAINTAINER= nik@FreeBSD.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog USE_ZIP= yes NO_MTREE= yes EXTRACT_ONLY= # empty 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}/3.1 ] || ${MKDIR} ${INSTDIR}/3.1 @@ -36,4 +40,7 @@ do-install: @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/* @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR} +post-install: + @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + .include <bsd.port.mk> diff --git a/textproc/docbook-310/pkg-plist b/textproc/docbook-310/pkg-plist index 3376f398ff28..670d27d7da01 100644 --- a/textproc/docbook-310/pkg-plist +++ b/textproc/docbook-310/pkg-plist @@ -11,7 +11,9 @@ share/sgml/docbook/3.1/dbpool.mod share/sgml/docbook/3.1/docbook.cat share/sgml/docbook/3.1/docbook.dcl share/sgml/docbook/3.1/docbook.dtd +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/3.1/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/3.1/readme.txt @dirrm share/sgml/docbook/3.1 @unexec rmdir %D/share/sgml/docbook 2>/dev/null || true diff --git a/textproc/docbook-400/Makefile b/textproc/docbook-400/Makefile index 45c8a42cd1d0..f0d865ada050 100644 --- a/textproc/docbook-400/Makefile +++ b/textproc/docbook-400/Makefile @@ -15,16 +15,20 @@ DISTNAME= docbk40 MAINTAINER= asmodai@FreeBSD.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog USE_ZIP= yes NO_MTREE= yes EXTRACT_ONLY= # empty 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.0 ] || ${MKDIR} ${INSTDIR}/4.0 @@ -36,4 +40,7 @@ do-install: @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/* @${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR} +post-install: + @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION} + .include <bsd.port.mk> diff --git a/textproc/docbook-400/pkg-plist b/textproc/docbook-400/pkg-plist index dbb946da7fee..eda173f5fb9d 100644 --- a/textproc/docbook-400/pkg-plist +++ b/textproc/docbook-400/pkg-plist @@ -9,7 +9,9 @@ share/sgml/docbook/4.0/dbpool.mod share/sgml/docbook/4.0/docbook.cat share/sgml/docbook/4.0/docbook.dcl share/sgml/docbook/4.0/docbook.dtd +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/4.0/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/4.0/readme.txt @dirrm share/sgml/docbook/4.0 @unexec rmdir %D/share/sgml/docbook 2>/dev/null || true 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> diff --git a/textproc/docbook-410/pkg-plist b/textproc/docbook-410/pkg-plist index 30c11a71c66f..9438cc54a553 100644 --- a/textproc/docbook-410/pkg-plist +++ b/textproc/docbook-410/pkg-plist @@ -3,7 +3,9 @@ share/sgml/docbook/4.1/41chg.txt share/sgml/docbook/4.1/50issues.txt share/sgml/docbook/4.1/ChangeLog share/sgml/docbook/4.1/cals-tbl.dtd +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/4.1/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%% share/sgml/docbook/4.1/dbcent.mod share/sgml/docbook/4.1/dbgenent.mod share/sgml/docbook/4.1/dbhier.mod |