summaryrefslogtreecommitdiff
path: root/mail/roundcube-automatic_addressbook/Makefile
diff options
context:
space:
mode:
authorJase Thew <jase@FreeBSD.org>2012-09-01 12:17:56 +0000
committerJase Thew <jase@FreeBSD.org>2012-09-01 12:17:56 +0000
commitc2ff523da622b37856bdd24ff2e1fde5344fe2df (patch)
tree3c02bebc5b2457a4bede64dd9533bbc44f891917 /mail/roundcube-automatic_addressbook/Makefile
parentLibrem is a portable and generic library for real-time audio and video (diff)
The automatic addressbook plugin for Roundcube collects each address you
send an email to and records it in an address book, making it available for later use or auto-completion. WWW: http://code.crapouillou.net/projects/roundcube-plugins PR: ports/170993 Submitted by: Anes Mukhametov <anes@anes.su> Approved by: culot (mentor)
Notes
Notes: svn path=/head/; revision=303470
Diffstat (limited to 'mail/roundcube-automatic_addressbook/Makefile')
-rw-r--r--mail/roundcube-automatic_addressbook/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/mail/roundcube-automatic_addressbook/Makefile b/mail/roundcube-automatic_addressbook/Makefile
new file mode 100644
index 000000000000..96015a6bdf12
--- /dev/null
+++ b/mail/roundcube-automatic_addressbook/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= automatic_addressbook
+PORTVERSION= 0.3.1
+CATEGORIES= mail
+MASTER_SITES= http://code.crapouillou.net/attachments/download/16/
+PKGNAMEPREFIX= roundcube-
+
+MAINTAINER= anes@anes.su
+COMMENT= Roundcube webmail automatic addressbook plugin
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= roundcube>=0.8:${PORTSDIR}/mail/roundcube
+
+USE_BZIP2= yes
+NO_BUILD= yes
+
+RCDIR= ${PREFIX}/www/roundcube
+WWWDIR= ${RCDIR}/plugins/automatic_addressbook
+
+SUB_FILES= pkg-message
+SUB_LIST= RCDIR=${RCDIR} PLUGINDIR=${WWWDIR}
+
+# 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}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>