summaryrefslogtreecommitdiff
path: root/www/cakephp12/files/pkg-install.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /www/cakephp12/files/pkg-install.in
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'.release/6.4.0
Diffstat (limited to 'www/cakephp12/files/pkg-install.in')
-rw-r--r--www/cakephp12/files/pkg-install.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/www/cakephp12/files/pkg-install.in b/www/cakephp12/files/pkg-install.in
deleted file mode 100644
index b063fb9897d9..000000000000
--- a/www/cakephp12/files/pkg-install.in
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# Fix up the permissions on directories and files when pkg_add is
-# used to install the port
-#
-# Borrowed from the www/resin2 port
-#
-
-set -e
-
-# Set up utilities
-CHOWN=%%CHOWN%%
-CHMOD=%%CHMOD%%
-FIND=%%FIND%%
-XARGS=%%XARGS%%
-
-# Set up variables
-WWWOWN=%%WWWOWN%%
-WWWGRP=%%WWWGRP%%
-WWWDIR=%%WWWDIR%%
-
-if [ "$2" = "POST-INSTALL" ]; then
- # We're called after the 'make install' process
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- ${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
- ${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
-fi
-
-exit 0