1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

. pre-install -> pre-su-install as this port may create a directory in

${PREFIX} during this phase.  Makes the port installable by a non-root
  user.

Approved by:	kuriyama
Inspired by:	jhb
This commit is contained in:
Greg Lewis 2005-06-13 20:54:18 +00:00
parent ace78e2421
commit bdf48140fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137408
5 changed files with 5 additions and 5 deletions

View File

@ -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}

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: