openbsd-ports/mail/z-push/Makefile

46 lines
1.0 KiB
Makefile
Raw Normal View History

2011-11-16 10:56:36 -05:00
# $OpenBSD: Makefile,v 1.18 2011/11/16 15:56:37 robert Exp $
COMMENT= ActiveSync protocol implementation
2011-10-03 10:58:29 -04:00
V= 1.5.5
DISTNAME= z-push-${V}-790
2011-06-02 06:40:51 -04:00
PKGNAME= z-push-${V}
CATEGORIES= mail www
2011-11-16 10:56:36 -05:00
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
2011-07-08 17:45:05 -04:00
MODULES= lang/php
2011-04-27 01:18:27 -04:00
RUN_DEPENDS= mail/zarafa/zarafa,-web \
2011-07-08 17:45:05 -04:00
lang/php/${MODPHP_VERSION},-imap
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>