Files
ports/deskutils/phpicalendar/Makefile
T
Edwin Groothuis 2a0da33508 [PATCH] deskutils/phpicalendar: Show all files that are installed
[SECURITY UPDATE]: deskutils/phpicalendar

PR:		ports/92553,ports/93131
Submitted by:	Renato Botelho <garga@freebsd.org>,Wesley Shields <wxs@csh.rit.edu>
Security:	http://phpicalendar.net/forums/viewtopic.php?t=396
2006-02-11 01:22:19 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: phpicalednar
# Date created: 3 April 2004
# Whom: Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#
PORTNAME= phpicalendar
PORTVERSION= 2.21
CATEGORIES= deskutils www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= edwin@mavetju.org
COMMENT= Webbased calendar with iCal support
NO_BUILD= yes
PHPICALENDAR= www/phpicalendar
WWWDIR= ${PREFIX}/${PHPICALENDAR}
PLIST_SUB+= PHPICALENDAR=${PHPICALENDAR}
USE_PHP= yes
NO_WORKSUBDIR= yes
SUB_FILES= pkg-message
SUB_LIST= WWWDIR=${WWWDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
do-install:
.if !exists(${WWWDIR})
${MKDIR} ${WWWDIR}
.endif
.for dir in admin calendars functions images includes languages rss templates
@${CP} -Rv ${WRKDIR}/${dir} ${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${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 ${WRKDIR}/${f} ${WWWDIR}
${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
.endfor
@${CP} -v ${WRKDIR}/config.inc.php ${WWWDIR}/config.inc.php-default
${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>