Makefile 940 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.50 2016/11/24 18:27:14 jasper Exp $
  2. COMMENT= ActiveSync protocol implementation
  3. V= 2.3.3
  4. DISTNAME= z-push-${V}
  5. CATEGORIES= mail www
  6. HOMEPAGE= http://z-push.sourceforge.net/
  7. MAINTAINER= Robert Nagy <robert@openbsd.org>
  8. # AGPLv3 (GNU Affero Public License)
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= http://download.z-push.org/final/${V:C/^([0-9]+\.[0-9]+).*/\1/}/
  11. NO_BUILD= Yes
  12. NO_TEST= Yes
  13. PKG_ARCH= *
  14. PREFIX= ${VARBASE}/www
  15. INSTDIR= ${PREFIX}/z-push
  16. TINSTDIR= ${TRUEPREFIX}/z-push
  17. SUBST_VARS= INSTDIR TINSTDIR
  18. MODULES= lang/php
  19. RUN_DEPENDS= mail/zarafa/zarafa,-mapi \
  20. lang/php/${MODPHP_VERSION},-imap
  21. do-install:
  22. cp -Rp ${WRKSRC} ${INSTDIR}
  23. find ${INSTDIR} -type f -name \*.orig -exec rm -f {} \;
  24. mv ${INSTDIR}/config.php ${INSTDIR}/config.php.dist
  25. ${SUBST_CMD} -m 0644 -c ${FILESDIR}/z-push.conf \
  26. ${INSTDIR}/z-push.conf.dist
  27. chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
  28. .include <bsd.port.mk>