freebsd-ports/www/iwebcal/Makefile
2006-11-08 09:28:33 +00:00

35 lines
742 B
Makefile

# 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
IWEBCAL= www/iwebcal
WWWDIR= ${PREFIX}/${IWEBCAL}
WRKSRC= ${WRKDIR}/iWebCal
PLIST_SUB= IWEBCAL=${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>