46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.22 2012/06/25 06:47:25 ajacoutot Exp $
|
|
|
|
COMMENT= ActiveSync protocol implementation
|
|
|
|
V= 2.0
|
|
DISTNAME= z-push-${V}-1346
|
|
PKGNAME= z-push-${V}
|
|
REVISION= 1
|
|
|
|
CATEGORIES= mail www
|
|
|
|
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= http://zarafa-deutschland.de/z-push-download/final/${V}/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/z-push
|
|
TINSTDIR= ${TRUEPREFIX}/z-push
|
|
SUBST_VARS= INSTDIR TINSTDIR
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= mail/zarafa/zarafa,-web \
|
|
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
|
|
${SUBST_CMD} -c ${FILESDIR}/z-push.conf \
|
|
${INSTDIR}/z-push.conf.dist
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|