diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile index f792f7c6c692..06b0df515071 100644 --- a/textproc/dsssl-docbook-modular/Makefile +++ b/textproc/dsssl-docbook-modular/Makefile @@ -33,7 +33,7 @@ PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${RELDIR} \ do-build: ${RM} -Rf ${WRKSRC}/docsrc -pre-install: +pre-su-install: ${MKDIR} ${INSTDIR} ${FIND} ${WRKDIR} -name '*.orig' -exec ${RM} {} \; ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} diff --git a/textproc/html/Makefile b/textproc/html/Makefile index 9f08b64ade50..891cda740bde 100644 --- a/textproc/html/Makefile +++ b/textproc/html/Makefile @@ -29,7 +29,7 @@ INSTDIR= ${PREFIX}/share/sgml/html XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports -pre-install: +pre-su-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} do-install: diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile index a793dd9268a5..a923a9c7c549 100644 --- a/textproc/iso8879/Makefile +++ b/textproc/iso8879/Makefile @@ -30,7 +30,7 @@ INSTDIR= ${PREFIX}/share/sgml/iso8879 XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports -pre-install: +pre-su-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} do-install: diff --git a/textproc/linuxdoc/Makefile b/textproc/linuxdoc/Makefile index ee4cc7ac6bad..7d9d7464ba01 100644 --- a/textproc/linuxdoc/Makefile +++ b/textproc/linuxdoc/Makefile @@ -29,7 +29,7 @@ ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports -pre-install: +pre-su-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} do-install: diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile index 93cfb164d012..6b6297379ebb 100644 --- a/textproc/xhtml/Makefile +++ b/textproc/xhtml/Makefile @@ -40,7 +40,7 @@ CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports post-patch: ${SED} -e 's#@@DTDDIR@@#${DTDDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml -pre-install: +pre-su-install: @[ -d ${DTDDIR} ] || ${MKDIR} ${DTDDIR} do-install: