freebsd-ports/mail/roundcube-thunderbird_labels/Makefile
Martin Wilke 7fa54e81a9 - Update to 0.4
PR:		162791
Submitted by:	Maintainer
2012-01-28 20:26:49 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: roundcube-thunderbird_labels
# Date created: 27 Oct 2011
# Whom: Alexander Moisseev <moiseev@mezonplus.ru>
#
# $FreeBSD$
#
PORTNAME= thunderbird_labels
PORTVERSION= 0.4
CATEGORIES= mail
MASTER_SITES= http://rcmail-thunderbird-labels.googlecode.com/files/
PKGNAMEPREFIX= roundcube-
MAINTAINER= moiseev@mezonplus.ru
COMMENT= Thunderbird Labels plugin for RoundCube webmail
LICENSE= GPLv2
RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube
USE_BZIP2= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
WWWDIR?= ${PREFIX}/www/roundcube/plugins/${PORTNAME}
# 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
do-install:
${MKDIR} ${WWWDIR}
cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}
.include <bsd.port.mk>