Makefile 933 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.2 2015/06/05 06:00:21 robert Exp $
  2. COMMENT= roundcube plugin: LDAP Alias Sync
  3. GH_ACCOUNT= dim-0
  4. GH_PROJECT= ldapAliasSync
  5. GH_COMMIT= a822fdb9f6b3b27192460d7a8cc3464561491731
  6. DISTNAME= rcube-ldapAliasSync-20150126
  7. DISTFILES= ${DISTNAME}{${GH_COMMIT}}${EXTRACT_SUFX}
  8. REVISION= 0
  9. CATEGORIES= mail www
  10. HOMEPAGE= https://github.com/dim-0/ldapAliasSync/
  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. lang/php/${MODPHP_VERSION},-ldap
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${INSTDIR}/ldapAliasSync
  25. cp -Rp ${WRKDIST}/* ${INSTDIR}/ldapAliasSync
  26. chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
  27. find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
  28. .include <bsd.port.mk>