openbsd-ports/www/sabredav/Makefile

37 lines
719 B
Makefile

# $OpenBSD: Makefile,v 1.7 2012/09/10 09:16:34 jasper Exp $
COMMENT = php5 WebDAV server
DISTNAME = Sabre_DAV-1.0.0
REVISION = 4
PKGNAME = ${DISTNAME:L:S/_//}
PKG_ARCH = *
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
MODULES = lang/php
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/{lib,examples} ${INSTDIR}
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>