Makefile 920 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.12 2015/06/05 06:00:21 robert Exp $
  2. COMMENT= roundcube plugin: context-sensitive menus
  3. GH_ACCOUNT= JohnDoh
  4. GH_PROJECT= Roundcube-Plugin-Context-Menu
  5. GH_TAGNAME= 2.1.2
  6. DISTNAME= contextmenu-${GH_TAGNAME}
  7. PKGNAME= rcube-${DISTNAME}
  8. CATEGORIES= mail www
  9. HOMEPAGE= http://www.tehinterweb.co.uk/roundcube/\#picontextmenu
  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}/contextmenu
  25. cp -Rp ${WRKDIST}/* ${INSTDIR}/contextmenu
  26. chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
  27. find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
  28. .include <bsd.port.mk>