2012-10-15 15:31:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2012/10/15 19:31:04 robert Exp $
|
2009-06-11 03:25:35 -04:00
|
|
|
|
2012-10-08 07:51:41 -04:00
|
|
|
COMMENT= ActiveSync protocol implementation
|
2009-06-11 03:25:35 -04:00
|
|
|
|
2012-10-15 15:31:04 -04:00
|
|
|
V= 2.0.4
|
|
|
|
DISTNAME= z-push-${V}-1497
|
2011-06-02 06:40:51 -04:00
|
|
|
PKGNAME= z-push-${V}
|
2012-06-24 14:50:22 -04:00
|
|
|
|
2009-06-11 03:25:35 -04:00
|
|
|
CATEGORIES= mail www
|
|
|
|
|
|
|
|
HOMEPAGE= http://z-push.sourceforge.net/
|
|
|
|
|
2012-10-08 06:20:32 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2009-06-11 03:25:35 -04:00
|
|
|
|
2011-03-07 14:50:26 -05:00
|
|
|
# AGPLv3 (GNU Affero Public License)
|
2009-06-11 03:25:35 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2012-09-09 13:15:59 -04:00
|
|
|
MASTER_SITES= http://zarafa-deutschland.de/z-push-download/final/${V:C/^([0-9]+\.[0-9]+).*/\1/}/
|
2009-06-11 03:25:35 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/z-push
|
2011-03-07 14:50:26 -05:00
|
|
|
TINSTDIR= ${TRUEPREFIX}/z-push
|
|
|
|
SUBST_VARS= INSTDIR TINSTDIR
|
2009-06-11 03:25:35 -04:00
|
|
|
|
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
|
2009-06-11 03:25:35 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cp -Rp ${WRKSRC} ${INSTDIR}
|
|
|
|
find ${INSTDIR} -type f -name \*.orig -exec rm -f {} \;
|
2009-09-27 13:06:12 -04:00
|
|
|
mv ${INSTDIR}/config.php ${INSTDIR}/config.php.dist
|
2012-06-25 02:47:25 -04:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/z-push.conf \
|
|
|
|
${INSTDIR}/z-push.conf.dist
|
2009-06-11 03:25:35 -04:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|