openbsd-ports/www/sabredav/Makefile
landry f3458bd1fd Import sabredav 1.0.0.
SabreDAV allows you to easily add WebDAV support to a PHP application.
It is meant to cover the entire standard, and attempts to allow integration
using an easy to understand API.
with comments from ajacoutot@
2009-11-10 20:27:36 +00:00

36 lines
720 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/11/10 20:27:36 landry Exp $
COMMENT = php5 WebDAV server
DISTNAME = Sabre_DAV-1.0.0
PKGNAME = ${DISTNAME:L:S/_//}
EXTRACT_SUFX = .tgz
CATEGORIES = www
HOMEPAGE = http://code.google.com/p/sabredav/
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://sabredav.googlecode.com/files/
# phpunit
NO_REGRESS = Yes
NO_BUILD = Yes
PREFIX = /var/www
INSTDIR = ${PREFIX}/sabredav
SUBST_VARS = INSTDIR
RUN_DEPENDS = :php5-core-*:www/php5/core
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/{lib,examples} ${INSTDIR}
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>