Add phpgw_projects and phpgw_inventory to RUN_DEPENDS, to get the full

phpgroupware suite.

Fix permissions for phpgroupware's files directory (707 is needed to access
user files).

Don't complain if files directory still contains files at deinstall time.
This commit is contained in:
Jimmy Olgeni 2001-03-30 21:15:41 +00:00
parent b129c1bfda
commit 8ba8fb6af6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40605
4 changed files with 20 additions and 10 deletions

View File

@ -13,12 +13,14 @@ DISTNAME= phpGroupWare-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
${LOCALBASE}/www/data/phpgroupware/projects/index.php:${PORTSDIR}/deskutils/phpgw_projects \
${LOCALBASE}/www/data/phpgroupware/inv/index.php:${PORTSDIR}/deskutils/phpgw_inventory
NO_BUILD= yes
WRKSRC= ${WRKDIR}/phpgroupware
do-install:
@${CP} -r ${WRKDIR}/phpgroupware ${PREFIX}/www/data/
@${CP} -r ${WRKSRC} ${PREFIX}/www/data/
.include <bsd.port.mk>

View File

@ -787,9 +787,6 @@ www/data/phpgroupware/transy/templates/verdilak/images/navbar.gif
@dirrm www/data/phpgroupware/manual/templates
@dirrm www/data/phpgroupware/manual/inc
@dirrm www/data/phpgroupware/manual
@dirrm www/data/phpgroupware/files/users
@dirrm www/data/phpgroupware/files/groups
@dirrm www/data/phpgroupware/files
@dirrm www/data/phpgroupware/filemanager/templates/default/images
@dirrm www/data/phpgroupware/filemanager/templates/default
@dirrm www/data/phpgroupware/filemanager/templates
@ -825,4 +822,10 @@ www/data/phpgroupware/transy/templates/verdilak/images/navbar.gif
@dirrm www/data/phpgroupware/addressbook/templates
@dirrm www/data/phpgroupware/addressbook/inc
@dirrm www/data/phpgroupware/addressbook
@exec chmod 707 %D/www/data/phpgroupware/files
@exec chmod 707 %D/www/data/phpgroupware/files/users
@exec chmod 707 %D/www/data/phpgroupware/files/groups
@unexec rmdir %D/www/data/phpgroupware/files/users 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware/files/groups 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware/files 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware 2>/dev/null || true

View File

@ -13,12 +13,14 @@ DISTNAME= phpGroupWare-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
${LOCALBASE}/www/data/phpgroupware/projects/index.php:${PORTSDIR}/deskutils/phpgw_projects \
${LOCALBASE}/www/data/phpgroupware/inv/index.php:${PORTSDIR}/deskutils/phpgw_inventory
NO_BUILD= yes
WRKSRC= ${WRKDIR}/phpgroupware
do-install:
@${CP} -r ${WRKDIR}/phpgroupware ${PREFIX}/www/data/
@${CP} -r ${WRKSRC} ${PREFIX}/www/data/
.include <bsd.port.mk>

View File

@ -787,9 +787,6 @@ www/data/phpgroupware/transy/templates/verdilak/images/navbar.gif
@dirrm www/data/phpgroupware/manual/templates
@dirrm www/data/phpgroupware/manual/inc
@dirrm www/data/phpgroupware/manual
@dirrm www/data/phpgroupware/files/users
@dirrm www/data/phpgroupware/files/groups
@dirrm www/data/phpgroupware/files
@dirrm www/data/phpgroupware/filemanager/templates/default/images
@dirrm www/data/phpgroupware/filemanager/templates/default
@dirrm www/data/phpgroupware/filemanager/templates
@ -825,4 +822,10 @@ www/data/phpgroupware/transy/templates/verdilak/images/navbar.gif
@dirrm www/data/phpgroupware/addressbook/templates
@dirrm www/data/phpgroupware/addressbook/inc
@dirrm www/data/phpgroupware/addressbook
@exec chmod 707 %D/www/data/phpgroupware/files
@exec chmod 707 %D/www/data/phpgroupware/files/users
@exec chmod 707 %D/www/data/phpgroupware/files/groups
@unexec rmdir %D/www/data/phpgroupware/files/users 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware/files/groups 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware/files 2>/dev/null || true
@unexec rmdir %D/www/data/phpgroupware 2>/dev/null || true