openbsd-ports/mail/z-push/Makefile
robert 1689f9c64b Define the apache_request_headers() function in php in case we are
using nginx or lighttpd as a webserver and not apache.

ok ajacoutot@ (maintainer)
2011-04-02 15:42:18 +00:00

44 lines
984 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/04/02 15:42:18 robert Exp $
COMMENT= ActiveSync protocol implementation
DISTNAME= z-push-1.5
CATEGORIES= mail www
REVISION= 0
HOMEPAGE= http://z-push.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# AGPLv3 (GNU Affero Public License)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BERLIOS:=z-push/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/z-push
TINSTDIR= ${TRUEPREFIX}/z-push
SUBST_VARS= INSTDIR TINSTDIR
WRKDIST= ${WRKDIR}/z-push
RUN_DEPENDS= mail/zarafa/zarafa,-web
do-install:
cp -Rp ${WRKSRC} ${INSTDIR}
find ${INSTDIR} -type f -name \*.orig -exec rm -f {} \;
mv ${INSTDIR}/config.php ${INSTDIR}/config.php.dist
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \
${FILESDIR}/z-push.conf ${INSTDIR}/z-push.conf.dist
.include <bsd.port.mk>