# $OpenBSD: Makefile,v 1.18 2018/10/17 14:15:55 sthen Exp $ COMMENT= roundcube plugin: sieve rules (managesieve) GH_ACCOUNT= johndoh GH_PROJECT= roundcube-sieverules GH_TAGNAME= 2.3 REVISION= 3 PKGNAME= ${DISTNAME:S/roundcube/rcube/} CATEGORIES= mail www HOMEPAGE= http://www.tehinterweb.co.uk/roundcube/\#pisieverules MAINTAINER= Stuart Henderson # GPLv3+ PERMIT_PACKAGE_CDROM= Yes NO_BUILD= Yes NO_TEST= Yes PKG_ARCH= * PREFIX= ${VARBASE}/www INSTDIR= ${PREFIX}/roundcubemail/plugins TINSTDIR= ${TRUEPREFIX}/roundcubemail/plugins SUBST_VARS= INSTDIR TINSTDIR MODULES= lang/php RUN_DEPENDS= mail/roundcubemail>=1.1 do-install: ${INSTALL_DATA_DIR} ${INSTDIR}/sieverules cp -Rp ${WRKDIST}/* ${INSTDIR}/sieverules chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \; .include