pkgsrc/www/fengoffice/Makefile
taca 3d7d39300a Update fengoffice to 2.2.4.1.
Changelog
=========

Since 2.2.4.1
----------------

bugfix: Add/edit member form permissions goes down if screen is not wide enough.
bugfix: Member selector onblur must select one of the list if there is any
	match and there is at least one character written.
bugfix: Object picker: do not show object types not allowed for the user in
	the left panel
bugfix: D&D classify is allowing to classify in read only members.
bugfix: Do not show parent members in member selector if user has no
	permissions over them.
bugfix: Upgrade 1.7 -> 2.X: give permissions over timeslots, reports and
	templates in all workspaces where the user can manage tasks.
bugfix: Non admin users cannot delete timeslots.

feature: Can define required dimension without specifying object types.
feature: Option to view members in a separate column.


Since 2.2.4-beta
----------------

bugfix: Cannot delete user with no objects associated.
bugfix: Javascript error when loading and change logo link does not exists.
bugfix: plugin administration fixes.
bugfix: Email content parts that come in attachments are not shown.
bugfix: Tasks edition in gantt chart loses task description.
bugfix: Adding client or project under another member does not remember
	selected parent when using quickadd and details button.

feature: More options for tasks edition.
feature: More options for composing emails.

language: Languages updated: German, French, Japanese, Polski.
2013-04-06 12:09:25 +00:00

62 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2013/04/06 12:09:25 taca Exp $
#
DISTNAME= fengoffice_2.2.4.1
PKGNAME= ${DISTNAME:S/_/-/:C/.rc$/rc1/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opengoo/}
EXTRACT_SUFX= .zip
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://fengoffice.com/web/community/community_index.php
COMMENT= Easy to use Open Source Web Office
LICENSE= gnu-agpl-v3
CONFLICTS+= opengoo-[0-9]*
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.1.0:../../converters/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/php-dom
DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.1.0:../../mail/php-imap
EXTRACT_DIR= ${WRKDIR}/fengoffice
WRKSRC= ${WRKDIR}/fengoffice
USE_TOOLS= pax
NO_BUILD= yes
OWN_DIRS_PERMS+= ${FO_DIR}/public/files ${REAL_ROOT_USER} ${APACHE_GROUP} 0775
OWN_DIRS_PERMS+= ${FO_DIR}/upload ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/cache ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/config ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/tmp ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= FO_DIR=${FO_DIR} APACHE_USER=${APACHE_USER}
PLIST_SUBST+= FO_DIR=${FO_DIR}
PRINT_PLIST_AWK+= \
/^${FO_DIR:S|/|\\/|g}/ \
{ gsub(/${FO_DIR:S|/|\\/|g}/, "$${FO_DIR}"); \
print; next; }
.include "../../mk/bsd.prefs.mk"
FO_DIR?= share/fengoffice
INSTALLATION_DIRS= ${FO_DIR}
post-extract:
cd ${WRKSRC}; ${FIND} . -type f -exec ${CHMOD} -x {} \;
pre-install:
${RM} -f ${WRKSRC}/config/empty.config.php
${FIND} ${WRKSRC} -type f \
\( -name .project -o -name .cvsignore \) -exec ${RM} -f {} \;
do-install:
cd ${WRKSRC}; ${FIND} . -type f \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${FO_DIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"