2005-10-27 21:04:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2005/10/28 01:04:53 brad Exp $
|
2002-09-13 12:39:25 -04:00
|
|
|
|
2003-12-04 18:07:25 -05:00
|
|
|
COMMENT= "class 1 and 2 DAV server for the Apache webserver"
|
2002-09-13 12:39:25 -04:00
|
|
|
|
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
|
|
# and has Apache that supports DSO's.
|
2005-02-08 07:39:57 -05:00
|
|
|
SHARED_ONLY= Yes
|
2002-09-13 12:39:25 -04:00
|
|
|
|
|
|
|
DISTNAME= mod_dav-1.0.3-1.3.6
|
2005-10-27 21:04:53 -04:00
|
|
|
PKGNAME= mod_dav-1.0.3p1
|
2002-09-13 12:39:25 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.webdav.org/mod_dav/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.webdav.org/mod_dav/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
2003-10-18 15:44:41 -04:00
|
|
|
# Apache
|
2002-09-13 12:39:25 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat.2::textproc/expat
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
|
|
|
|
--with-expat=${LOCALBASE}
|
|
|
|
|
2004-05-24 05:34:04 -04:00
|
|
|
SUBST_VARS= PKGNAME
|
|
|
|
|
2002-09-13 12:39:25 -04:00
|
|
|
DOCDIR= share/doc/mod_dav
|
|
|
|
DOCFILES= README INSTALL LICENSE.html
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@sed 's,!!PREFIX!!,${PREFIX},' \
|
|
|
|
< ${FILESDIR}/mod_dav-enable > ${WRKBUILD}/mod_dav-enable
|
|
|
|
|
2002-10-28 20:30:41 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-09-13 12:39:25 -04:00
|
|
|
do-install:
|
2002-11-10 10:28:38 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_dav-enable ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libdav.so ${PREFIX}/lib
|
2002-09-13 12:39:25 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
|
|
|
|
.for f in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|