openbsd-ports/www/phpicalendar/Makefile

39 lines
786 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.13 2013/03/11 11:44:47 espie Exp $
COMMENT= web-based iCal file parser
V= 2.31
DISTNAME= phpicalendar${V}
PKGNAME= phpicalendar-${V}
REVISION= 3
CATEGORIES= www
2004-07-22 06:12:18 -04:00
HOMEPAGE= http://phpicalendar.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpicalendar/}
EXTRACT_SUFX= .tgz
2011-07-08 19:01:39 -04:00
MODULES= lang/php
NO_BUILD= Yes
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/phpicalendar
SUBST_VARS= INSTDIR
WRKSRC= ${WRKDIST}/phpicalendar/
do-install:
@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
# Remove bogus "AppleDouble encoded Macintosh files"
@find ${WRKINST} -name ._\* -print0 |xargs -0 rm -f
.include <bsd.port.mk>