Makefile 905 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.2 2015/06/05 06:00:21 robert Exp $
  2. COMMENT= roundcube plugin: add Spam/Ham-buttons
  3. GH_ACCOUNT= JohnDoh
  4. GH_PROJECT= Roundcube-Plugin-Mark-as-Junk-2
  5. GH_TAGNAME= 1.9
  6. DISTNAME= rcube-markasjunk2-${GH_TAGNAME}
  7. DISTFILES= ${DISTNAME}{${GH_TAGNAME}}${EXTRACT_SUFX}
  8. REVISION= 0
  9. CATEGORIES= mail www
  10. HOMEPAGE= https://github.com/JohnDoh/Roundcube-Plugin-Mark-as-Junk-2/
  11. # GPLv3+
  12. PERMIT_PACKAGE_CDROM= Yes
  13. NO_BUILD= Yes
  14. NO_TEST= Yes
  15. PKG_ARCH= *
  16. PREFIX= ${VARBASE}/www
  17. INSTDIR= ${PREFIX}/roundcubemail/plugins
  18. TINSTDIR= ${TRUEPREFIX}/roundcubemail/plugins
  19. SUBST_VARS= INSTDIR TINSTDIR
  20. MODULES= lang/php
  21. RUN_DEPENDS= mail/roundcubemail>=1.1
  22. do-install:
  23. ${INSTALL_DATA_DIR} ${INSTDIR}/markasjunk2
  24. cp -Rp ${WRKDIST}/* ${INSTDIR}/markasjunk2
  25. chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
  26. find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
  27. .include <bsd.port.mk>