freebsd-ports/deskutils/phprojekt/Makefile
Pav Lucistnik 84e2f3753f A new port for the PHP based groupware application.
PHProjekt is a modular application for the coordination of group activities and
to share informations and document via intranet and internet.  Components of
PHProjekt: Group calendar, project management, time card system, file
management, contact manager, mail client and 9 other modules.  PHProjekt
supports many protocols like ldap, soap and webdav and is available for 36
languages and 6 databases.

PR:		ports/76572
Submitted by:	Gerrit Beine <tux@pinguru.net>
2005-01-24 17:13:36 +00:00

36 lines
1,005 B
Makefile

# New ports collection makefile for: deskutils/phprojekt
# Date created: January 33th 2005
# Whom: Gerrit Beine <tux@pinguru.net>
#
# $FreeBSD$
#
PORTNAME= phprojekt
PORTVERSION= 4.2.3
CATEGORIES= deskutils www
MASTER_SITES= http://www.phprojekt.com/download/
DISTNAME= ${PORTNAME}
MAINTAINER= tux@pinguru.net
COMMENT= An open source groupware suite
.if defined(WITH_APACHE2)
RUN_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
do-install:
@${CP} -r ${WRKSRC} ${PREFIX}/www/${PORTNAME}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/${PORTNAME}
post-install:
@${FIND} ${WRKSRC}/${file} -not -type d \
| ${SED} -ne 's,^${WRKSRC},www/${PORTNAME},p' >> ${TMPPLIST}
@${FIND} -d ${WRKSRC}/${file} -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm www/${PORTNAME},p' >> ${TMPPLIST}
.include <bsd.port.mk>