1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- s/CP -p/CP/ not to mangle ownerships of existing directories

Reported by:	pointyhat via kris
This commit is contained in:
Andrew Pantyukhin 2007-04-22 20:12:10 +00:00
parent 468698b11f
commit 7f0578920b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190650
9 changed files with 10 additions and 10 deletions

View File

@ -57,7 +57,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -57,7 +57,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -57,7 +57,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -65,7 +65,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -65,7 +65,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -65,7 +65,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -65,7 +65,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -65,7 +65,7 @@ do-extract:
do-install:
@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${XPI_LIBDIR}/
@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }

View File

@ -164,9 +164,9 @@ PLIST_DIRS+= ${XPI_DIRS_${dist}:S!^!${_TD_${dist}}/!} ${_TD_${dist}}
.if !target(do-install)
do-install:
@${INSTALL} -d ${_TD_FULL} ${XPI_SLDIRS_ALL}
@${CP} -Rp ${WRKSRC}/ ${_TD_FULL}/
@${CP} -R ${WRKSRC}/ ${_TD_FULL}/
@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \
then ${CP} -p ${FILESDIR}/chrome.manifest ${_TD_FULL}/ ; fi
then ${CP} ${FILESDIR}/chrome.manifest ${_TD_FULL}/ ; fi
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${_TD_FULL}/
@${CHMOD} -R a+rX,go-w ${_TD_FULL}/
@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir/ ${_Q} ; }