# New ports collection makefile for: iwebcal # Date created: 2006-01-14 # Whom: Babak Farrokhi # # $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