freebsd-ports/mail/roundcube-contextmenu/Makefile
Martin Wilke a9044e3ae3 - Update to 2.0
PR:		190257
Submitted by:	maintainer
2014-06-04 10:35:04 +00:00

40 lines
976 B
Makefile

# Created by: Alexander Moisseev <moiseev@mezonplus.ru>
# $FreeBSD$
PORTNAME= contextmenu
PORTVERSION= 2.0
CATEGORIES= mail
MASTER_SITES= GH
PKGNAMEPREFIX= roundcube-
MAINTAINER= moiseev@mezonplus.ru
COMMENT= RoundCube webmail contextmenu plugin
LICENSE= GPLv3
RUN_DEPENDS= roundcube>=1.0:${PORTSDIR}/mail/roundcube
NO_BUILD= yes
USE_GITHUB= YES
GH_ACCOUNT= JohnDoh
GH_PROJECT= Roundcube-Plugin-Context-Menu
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 9c8d29f
PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME}
RCDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube
PLIST_SUB= RCDIR_REL="${RCDIR_REL}"
# This target is only meant to be used by the port maintainer.
x-generate-plist: build
make makeplist | \
${SED} \
-e "s,^\(@dirrm\)try\( %%RCDIR_REL%%/plugins/contextmenu\),\1\2," \
>${.CURDIR}/pkg-plist.tmp
do-install:
${MKDIR} ${STAGEDIR}${PLUGINDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR}
.include <bsd.port.mk>