e0eaf0cfa4
"Looks fine to me" xsa@
39 lines
773 B
Makefile
39 lines
773 B
Makefile
# $OpenBSD: Makefile,v 1.6 2007/09/14 07:10:22 sthen Exp $
|
|
|
|
COMMENT= web-based iCal file parser
|
|
|
|
V= 2.1
|
|
DISTNAME= phpicalendar-${V}
|
|
PKGNAME= phpicalendar-${V}p0
|
|
CATEGORIES= www
|
|
|
|
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}
|
|
@mv ${INSTDIR}/config.inc.php ${INSTDIR}/config.inc.php.default
|
|
|
|
.include <bsd.port.mk>
|