c59aea64ac
dotProject is a PHP web-based project management framework that includes modules for companies, projects, tasks (with Gantt charts), forums, files, calendar, contacts, tickets/helpdesk, multi-language support, user/module permissions and themes. Features Include * User Management * LDAP / Active Directory authentication * Email based trouble Ticket System, (Integrated voxel.net's ticketsmith) * Client/Company Management * Project listings * Hierarchical Task List * File Repository * Contact List * Calendar * Discussion Forum * Resource Based Permissions WWW: http://www.dotproject.net
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: dotproject-devel
|
|
# Date created: Mon Apr 30 07:53:48 EDT 2007
|
|
# Whom: Paul Chvostek <paul@it.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dotproject
|
|
PORTVERSION= ${DOTPROJECTVER}.${DEVELVERSION:C/^([a-z]).*/\1/}${DEVELVERSION:C/^[a-z]*//}
|
|
CATEGORIES= www devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMESUFFIX= -devel
|
|
DISTNAME= ${PORTNAME}-${DOTPROJECTVER}-${DEVELVERSION}
|
|
|
|
MAINTAINER= paul+ports@it.ca
|
|
COMMENT= Open Source Project Management tool
|
|
|
|
DOTPROJECTVER= 2.1
|
|
DEVELVERSION= rc1
|
|
|
|
OPTIONS= JPGRAPH "Build gantt charts with graphics/jpgraph" on
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
DOTPROJECTDIR= ${PREFIX}/www/${PORTNAME}
|
|
NO_BUILD= yes
|
|
USE_PHP= gd mysql session zlib
|
|
WANT_PHP_WEB= yes
|
|
USE_APACHE= yes
|
|
USE_MYSQL= yes
|
|
|
|
SUB_LIST+= DOTPROJECTDIR=${DOTPROJECTDIR}
|
|
SUB_FILES= pkg-message
|
|
|
|
.if defined(WITH_JPGRAPH)
|
|
RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/webfonts/arial.ttf:${PORTSDIR}/x11-fonts/webfonts \
|
|
${PREFIX}/share/jpgraph/jpgraph.php:${PORTSDIR}/graphics/jpgraph2
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name CVS -o -name *.orig | ${XARGS} ${RM}
|
|
|
|
do-install:
|
|
${MKDIR} ${DOTPROJECTDIR}
|
|
${CP} -R ${WRKSRC}/* ${DOTPROJECTDIR}
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DOTPROJECTDIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|