aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2004-11-30 14:50:56 +0800
committersf <sf@FreeBSD.org>2004-11-30 14:50:56 +0800
commit5d3c6438d2dcd36f6b724281e53e8f7c7bf384e8 (patch)
tree88d3debd858b77d8beb0abed5440b4fe493d31eb /www
parent606a719e14028460b1860845f884a3eefb6f5a79 (diff)
downloadfreebsd-ports-graphics-5d3c6438d2dcd36f6b724281e53e8f7c7bf384e8.tar.gz
freebsd-ports-graphics-5d3c6438d2dcd36f6b724281e53e8f7c7bf384e8.tar.zst
freebsd-ports-graphics-5d3c6438d2dcd36f6b724281e53e8f7c7bf384e8.zip
don't assume superuser privilege at do-extract.
Diffstat (limited to 'www')
-rw-r--r--www/linux-mozilla/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/linux-mozilla/Makefile b/www/linux-mozilla/Makefile
index 023b0d0cd2c..8b38ff1bb0d 100644
--- a/www/linux-mozilla/Makefile
+++ b/www/linux-mozilla/Makefile
@@ -65,8 +65,6 @@ do-extract:
${MKDIR} ${WRKSRC}
.for i in ${DISTFILES}
${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${i} -d ${WRKSRC}
- ${CHMOD} -R a-w ${WRKSRC}
- ${CHOWN} -R 0:0 ${WRKSRC}
.endfor
do-configure:
@@ -109,6 +107,8 @@ pre-install:
do-install:
${MKDIR} ${INSTALL_DIR}
${CP} -Rp ${WRKSRC}/bin/* ${INSTALL_DIR}
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${INSTALL_DIR}
+ ${CHMOD} -R a-w ${INSTALL_DIR}
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-mozilla/