a7771d110d
- specify license version - simplify do-install a bit
41 lines
877 B
Makefile
41 lines
877 B
Makefile
# $OpenBSD: Makefile,v 1.7 2009/02/11 12:48:48 jasper Exp $
|
|
|
|
COMMENT= web-based iCal file parser
|
|
|
|
V= 2.31
|
|
DISTNAME= phpicalendar${V}
|
|
PKGNAME= phpicalendar-${V}
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://phpicalendar.net/
|
|
|
|
# GPLv2
|
|
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
|
|
|
|
RUN_DEPENDS= :php5-core-*:www/php5/core
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= 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}
|
|
@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>
|