pkgsrc/www/opengoo/Makefile

64 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2009/09/06 03:59:49 taca Exp $
#
Update www/opengoo pacakge to 1.5.3. Changelog ========= Since 1.5.2 ----------- - bugfix: Cannot create companies with normal user without the "Can manage contacts" permission - bugfix: Auto-upgrade feedback fixed. - bugfix: Fixed a problem when classifying email (attachments were added as new versions of existing files). - bugfix: Allow email addresses with single quote - bugfix: Changed several "substr" for "utf8_substr" to avoid errors like "null" on dashboard. - bugfix: Added a default address when sending email reminders. Fixes problems when sending reminders. - bugfix: Fixed some display issues with the "Close" button in objects' view. - bugfix: Fixed a problem that would cause the Overview to be loaded on every tab when clicking the "All" workspace. - bugfix: Custom properties were not being kept when editing an object. - bugfix: If a user is subscribed to an object and loses permissions to it it will not receive notifications any more. - bugfix: Error 500 when deleting a user. - bugfix: Email body was not shown for html emails when ROOT_URL was relative. - bugfix: Create user from contact was not allowed if user was linked to a trashed contact, fix: contact is restored. - bugfix: Task drag & drop does not allow drag from a workspace to another. - bugfix: Saving workspace while rendering permissions was allowed, and no permissions were saved. - bugfix: When creating new workspace, user checkboxes did not check/uncheck all permissions. - bugfix: Internal server error when deleting user with its personal workspace. - bugfix: Instantianting template without parameters was going back instead of reloading. - bugfix: Calendar views was not showing milestones assigned to everybody when filtering by "my calendar". - bugfix: In IE when expanding subtask list, the tasks below them did non move aside. - bugfix: Some mail contents were not included in reply or forward body. - bugfix: Instantiating repeating tasks with subtasks did not put correct status to some subtasks. - bugfix: isToday function was not returning the correct value sometimes. - bugfix: Csv export: when a field contains "," export is wrong, field must be enclosed with quotes. - bugfix: Importing more than one contact with no email address overwrites the previous one. - bugfix: Contacts are not linked to companies when importing from csv. - bugfix: Subscribers and invitation lists were not showing users who have group permissions but no individual permissions. - bugfix: If an error occurs when sending a queued email the email is now not deleted. - bugfix: Mindmap viewer overlaps object linker. - bugfix: The "include subworkspaces" checkbox for the iCal feed was being ignored. - usability: The user is warned when searching for short strings.
2009-09-05 11:48:38 +02:00
DISTNAME= opengoo_1.5.3
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opengoo/}
EXTRACT_SUFX= .zip
DIST_SUBDIR= ${PKGBASE}-20090906
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.opengoo.org/
COMMENT= Easy to use Open Source Web Office
LICENSE= gnu-gpl-v3
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.1.0:../../misc/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.1.0:../../archivers/php-zip
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.1.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.1.0:../../textproc/php5-dom
DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.1.0:../../mail/php-imap
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/opengoo
USE_TOOLS= pax
NO_BUILD= yes
OWN_DIRS_PERMS+= ${OG_DIR}/public/files ${BINOWN} ${APACHE_GROUP} 0775
OWN_DIRS_PERMS+= ${OG_DIR}/upload ${BINOWN} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${OG_DIR}/cache ${BINOWN} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${OG_DIR}/tmp ${BINOWN} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${OG_DIR}/config ${BINOWN} ${APACHE_GROUP} 0770
MAKE_DIRS_PERMS+= ${OG_DIR}/tmp/saveatt ${BINOWN} ${APACHE_GROUP} 0770
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= OG_DIR=${OG_DIR} APACHE_USER=${APACHE_USER}
PLIST_SUBST+= OG_DIR=${OG_DIR}
PRINT_PLIST_AWK+= /^${OG_DIR:S|/|\\/|g}/ \
{ gsub(/${OG_DIR:S|/|\\/|g}/, "$${OG_DIR}"); \
print; next; }
.include "../../mk/bsd.prefs.mk"
OG_DIR?= share/opengoo
post-extract:
cd ${WRKSRC}; ${FIND} . -type f -exec ${CHMOD} -x {} \;
pre-install:
cd ${WRKSRC}; ${RM} -f .buildpath .project \
application/views/files/.cvsignore \
environment/classes/.cvsignore \
config/empty.config.php
do-install:
cd ${WRKSRC}; ${FIND} . -type f -print | \
pax -rw ${DESTDIR}${PREFIX}/${OG_DIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"