openbsd-ports/mail/z-push/Makefile
2010-12-11 08:25:30 +00:00

40 lines
823 B
Makefile

# $OpenBSD: Makefile,v 1.7 2010/12/11 08:25:30 ajacoutot Exp $
COMMENT= ActiveSync protocol implementation
DISTNAME= z-push-1.4.3
CATEGORIES= mail www
HOMEPAGE= http://z-push.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
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
SUBST_VARS= INSTDIR
WRKDIST= ${WRKDIR}/z-push
RUN_DEPENDS= mail/zarafa/zarafa,-web \
mail/pear-Mail
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}
.include <bsd.port.mk>