# Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= contextmenu PORTVERSION= 1.10 # PLEASE MIRROR DISTFILE WITH VERSIONED DIR CATEGORIES= mail MASTER_SITES= http://www.tehinterweb.co.uk/roundcube/plugins/ \ LOCAL/bdrewery/${PORTNAME}/${PORTVERSION}/ PKGNAMEPREFIX= roundcube- DISTNAME= ${PORTNAME} MAINTAINER= moiseev@mezonplus.ru COMMENT= RoundCube webmail contextmenu plugin LICENSE= GPLv2 RUN_DEPENDS= roundcube>=0.9:${PORTSDIR}/mail/roundcube NO_BUILD= yes WWWDIR?= ${PREFIX}/www/roundcube/plugins/contextmenu # This target is only meant to be used by the port maintainer. x-generate-plist: build cd ${WRKSRC}; \ ${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \ ${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \ ${FIND} . -type d | ${SORT} -r | ${SED} \ -e "s,^\.$$,@dirrmtry %%WWWDIR%%," \ -e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp NO_STAGE= yes do-install: ${MKDIR} ${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR} .include