Makefile 631 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.13 2016/12/02 15:01:21 jca Exp $
  2. COMMENT= lightweight CalDAV and CardDAV server
  3. VERSION= 0.4.6
  4. DISTNAME= baikal-${VERSION}
  5. MASTER_SITES= https://github.com/fruux/Baikal/releases/download/${VERSION}/
  6. DISTFILES= ${DISTNAME}.zip
  7. CATEGORIES= productivity www
  8. HOMEPAGE= http://sabre.io/baikal/
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MODULES= lang/php
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. PKG_ARCH= *
  15. PREFIX= ${VARBASE}/www
  16. INSTDIR= ${PREFIX}/baikal
  17. WRKSRC= ${WRKDIR}/baikal
  18. SUBST_VARS= INSTDIR
  19. do-install:
  20. ${INSTALL_DATA_DIR} ${INSTDIR}
  21. cd ${WRKSRC} && tar cf - . | (cd ${INSTDIR}; tar xf -)
  22. .include <bsd.port.mk>