aboutsummaryrefslogtreecommitdiffstats
path: root/www/iwebcal/Makefile
blob: 640e3bab1d9734289ab14b6a74e1b94d9d60ce79 (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
# New ports collection makefile for:    iwebcal
# Date created:     2006-01-14
# Whom:         Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=   iwebcal
PORTVERSION=    2.1
CATEGORIES= www deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    Webbased iCal calendar viewer

NO_BUILD=   yes
USE_PHP=    yes
WRKSRC=     ${WRKDIR}/iWebCal

post-extract:
    -@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf

do-install:
.if !exists(${WWWDIR})
    ${MKDIR} ${WWWDIR}
.endif
    @${CP} -R ${WRKSRC}/* ${WWWDIR}
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/

.include <bsd.port.mk>