pkgsrc/www/fengoffice/Makefile

65 lines
2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2010/09/13 14:53:56 taca Exp $
#
DISTNAME= fengoffice_1.7.1
PKGNAME= ${DISTNAME:S/_/-/:C/.rc$/rc1/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opengoo/}
EXTRACT_SUFX= .zip
Update fengoffice to 1.6.2. Changes (from http://www.fengoffice.com/web/blogen/?p=125). Improvements in 1.6.2: * Added a checkbox to apply a task's assignee to all subtasks. * Allow changing the maximum tasks display limit in the Tasks module. * Speeded up the quick mark as read (blue dots in listings). * Added actions in the email view to move to and out of the Junk folder and to mark as unread. * Allow to set a subtask's start and due date when adding it from the parent task's view. * Request username when changing an expired password for increased security. Bug fixes in 1.6.2: * When editing a user, the user gained access to your personal workspace if you didn't have access to his. * When editing a user's personal workspace you can now chose from all workspaces, not only yours. * "Full" search engine now matches words individually instead of matching the whole phrase. * White screen of death when downloading files added before version 1.4. * Week numbers for january were incorrect. * Error 500 when importing companies. * Some links in email didn't open in new windows. * When creating a contact, objects linked to the contact were ignored. * Invalid UTF8 characters are now escaped before saving an email to avoid database errors. * Pick date widgets were not being shown full size on IE8. * Special characters in vcard files are converted when importing contacts. * Improved compatibility with RSS readers - changed the "pubdate" tag to "pubDate". * When checking email through cron, the "max spam level" user config option was disregarded. * The User column for emails in the Oveview List was the owner of the email account and not the user who wrote the email. * User with read access to an email account didn't view emails in the Overview List. * Missing lang 'success archive files'. * The string "None" was hardcoded in english in some fields of the time report. * User with permissions to edit owner company data could not edit the logo.
2010-01-26 16:36:24 +01:00
DIST_SUBDIR= ${PKGBASE}-20100126
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://fengoffice.com/web/community/community_index.php
COMMENT= Easy to use Open Source Web Office
LICENSE= gnu-gpl-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
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGBASE}
USE_TOOLS= pax
NO_BUILD= yes
2010-02-19 20:46:18 +01:00
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
SPECIAL_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
post-extract:
cd ${WRKSRC}; ${FIND} . -type f -exec ${CHMOD} -x {} \;
pre-install:
cd ${WRKSRC}; ${RM} -f .htaccess .project \
application/views/files/.cvsignore \
environment/classes/.cvsignore \
config/empty.config.php
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"