openbsd-ports/www/phpicalendar/Makefile

39 lines
773 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2007/09/14 07:10:22 sthen Exp $
COMMENT= web-based iCal file parser
2005-10-30 05:57:40 -05:00
V= 2.1
DISTNAME= phpicalendar-${V}
PKGNAME= phpicalendar-${V}p0
CATEGORIES= www
2004-07-22 06:12:18 -04:00
HOMEPAGE= http://phpicalendar.net/
# GPL
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
EXTRACT_ONLY=
RUN_DEPENDS= :php5-core-*:www/php5/core
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/phpicalendar
SUBST_VARS= INSTDIR
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@mv ${INSTDIR}-${V} ${INSTDIR}
2005-10-11 01:53:47 -04:00
@mv ${INSTDIR}/config.inc.php ${INSTDIR}/config.inc.php.default
.include <bsd.port.mk>