Makefile 926 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.14 2015/06/05 06:00:21 robert Exp $
  2. COMMENT= roundcube plugin: sieve rules (managesieve)
  3. GH_ACCOUNT= JohnDoh
  4. GH_PROJECT= Roundcube-Plugin-SieveRules-Managesieve
  5. GH_TAGNAME= 2.3
  6. DISTNAME= sieverules-${GH_TAGNAME}
  7. PKGNAME= rcube-${DISTNAME}
  8. CATEGORIES= mail www
  9. HOMEPAGE= http://www.tehinterweb.co.uk/roundcube/\#pisieverules
  10. REVISION= 0
  11. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  12. # GPLv3+
  13. PERMIT_PACKAGE_CDROM= Yes
  14. NO_BUILD= Yes
  15. NO_TEST= Yes
  16. PKG_ARCH= *
  17. PREFIX= ${VARBASE}/www
  18. INSTDIR= ${PREFIX}/roundcubemail/plugins
  19. TINSTDIR= ${TRUEPREFIX}/roundcubemail/plugins
  20. SUBST_VARS= INSTDIR TINSTDIR
  21. MODULES= lang/php
  22. RUN_DEPENDS= mail/roundcubemail>=1.1
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${INSTDIR}/sieverules
  25. cp -Rp ${WRKDIST}/* ${INSTDIR}/sieverules
  26. chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
  27. find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
  28. .include <bsd.port.mk>