2011-07-08 19:01:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2011/07/08 23:04:53 robert Exp $
|
2004-07-18 13:50:15 -04:00
|
|
|
|
2007-09-14 03:10:22 -04:00
|
|
|
COMMENT= web-based iCal file parser
|
2004-07-18 13:50:15 -04:00
|
|
|
|
2009-02-11 07:48:48 -05:00
|
|
|
V= 2.31
|
|
|
|
DISTNAME= phpicalendar${V}
|
|
|
|
PKGNAME= phpicalendar-${V}
|
2011-07-08 19:01:39 -04:00
|
|
|
REVISION= 0
|
2004-07-18 13:50:15 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2004-07-22 06:12:18 -04:00
|
|
|
HOMEPAGE= http://phpicalendar.net/
|
2004-07-18 13:50:15 -04:00
|
|
|
|
2009-02-11 07:48:48 -05:00
|
|
|
# GPLv2
|
2004-07-18 13:50:15 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpicalendar/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2011-07-08 19:01:39 -04:00
|
|
|
MODULES= lang/php
|
2004-07-18 13:50:15 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/phpicalendar
|
|
|
|
SUBST_VARS= INSTDIR
|
|
|
|
|
2009-02-11 07:48:48 -05:00
|
|
|
WRKSRC= ${WRKDIST}/phpicalendar/
|
|
|
|
|
2004-07-18 13:50:15 -04:00
|
|
|
do-install:
|
2009-02-11 07:48:48 -05:00
|
|
|
@cp -Rp ${WRKSRC} ${INSTDIR}
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
2005-10-11 01:53:47 -04:00
|
|
|
@mv ${INSTDIR}/config.inc.php ${INSTDIR}/config.inc.php.default
|
2009-02-11 07:48:48 -05:00
|
|
|
# Remove bogus "AppleDouble encoded Macintosh files"
|
|
|
|
@find ${WRKINST} -name ._\* -print0 |xargs -0 rm -f
|
2004-07-18 13:50:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|