aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/phprojekt/Makefile
blob: 270762fd7f3c856a6963e6000e457ce683d39807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    deskutils/phprojekt
# Date created:             January 33th 2005
# Whom:                     Gerrit Beine <tux@pinguru.net>
#
# $FreeBSD$
#

PORTNAME=   phprojekt
PORTVERSION=    5.2.1
CATEGORIES= deskutils www
MASTER_SITES=   http://www.phprojekt.com/download/
DISTNAME=   ${PORTNAME}

MAINTAINER= gerrit.beine@gmx.de
COMMENT=    An open source groupware suite

USE_PHP=    session imap mysql
WANT_PHP_WEB=   yes

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

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>