blob: 893c005d1f2688f2cb3952c1cc4c5ceafb3b2756 (
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
34
35
36
|
# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= phpicalendar
PORTVERSION= 2.24
PORTREVISION= 1
CATEGORIES= deskutils www
MASTER_SITES= SF/${PORTNAME}/OldFiles
MAINTAINER= edwin@mavetju.org
COMMENT= Webbased calendar with iCal support
USES= tar:tgz
NO_BUILD= yes
USE_PHP= session pcre
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
post-extract:
${FIND} ${WRKDIR} -name .DS_Store -delete
${FIND} ${WRKDIR} -name '._*' -delete
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
.for dir in admin calendars functions images includes languages rss templates
@${CP} -Rv ${WRKSRC}/${dir} ${STAGEDIR}${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${dir}
.endfor
.for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS
@${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR}
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${f}
.endfor
@${CP} -v ${WRKSRC}/config.inc-dist.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/config.inc.php.sample
.include <bsd.port.mk>
|