# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mail/roundcube-automatic_addressbook
#	mail/roundcube-automatic_addressbook/pkg-plist
#	mail/roundcube-automatic_addressbook/pkg-install
#	mail/roundcube-automatic_addressbook/distinfo
#	mail/roundcube-automatic_addressbook/Makefile
#	mail/roundcube-automatic_addressbook/pkg-descr
#
echo c - mail/roundcube-automatic_addressbook
mkdir -p mail/roundcube-automatic_addressbook > /dev/null 2>&1
echo x - mail/roundcube-automatic_addressbook/pkg-plist
sed 's/^X//' >mail/roundcube-automatic_addressbook/pkg-plist << '9d17a8462c1fa0d791c56a191a1cdac0'
X%%WWWDIR%%/INSTALL
X%%WWWDIR%%/LICENSE
X%%WWWDIR%%/README
X%%WWWDIR%%/SQL/mssql.initial.sql
X%%WWWDIR%%/SQL/mssql.update.sql
X%%WWWDIR%%/SQL/mysql.initial.sql
X%%WWWDIR%%/SQL/mysql.update.sql
X%%WWWDIR%%/SQL/postgres.initial.sql
X%%WWWDIR%%/SQL/postgres.update.sql
X%%WWWDIR%%/SQL/sqlite.initial.sql
X%%WWWDIR%%/SQL/sqlite.update.sql
X%%WWWDIR%%/automatic_addressbook.php
X%%WWWDIR%%/automatic_addressbook_backend.php
X%%WWWDIR%%/config/config.inc.php.dist
X%%WWWDIR%%/localization/bg_BG.inc
X%%WWWDIR%%/localization/de_DE.inc
X%%WWWDIR%%/localization/el_GR.inc
X%%WWWDIR%%/localization/en_EN.inc
X%%WWWDIR%%/localization/en_US.inc
X%%WWWDIR%%/localization/es_ES.inc
X%%WWWDIR%%/localization/fr_FR.inc
X%%WWWDIR%%/localization/gl_ES.inc
X%%WWWDIR%%/localization/hu_HU.inc
X%%WWWDIR%%/localization/ru_RU.inc
X@dirrm %%WWWDIR%%/localization
X@dirrmtry %%WWWDIR%%/config
X@dirrm %%WWWDIR%%/SQL
X@dirrmtry %%WWWDIR%%
9d17a8462c1fa0d791c56a191a1cdac0
echo x - mail/roundcube-automatic_addressbook/pkg-install
sed 's/^X//' >mail/roundcube-automatic_addressbook/pkg-install << 'e140c9a9ab7d3fe1a9009a98ed909682'
X
e140c9a9ab7d3fe1a9009a98ed909682
echo x - mail/roundcube-automatic_addressbook/distinfo
sed 's/^X//' >mail/roundcube-automatic_addressbook/distinfo << '777deda2a0b67a9407c6a06d10251b76'
XSHA256 (automatic_addressbook-svn24.tar.bz2) = 6e745341c79026a3824e4b8a69b4a83cc75b18b59655f6452d8def37a36cbc1d
XSIZE (automatic_addressbook-svn24.tar.bz2) = 22460
777deda2a0b67a9407c6a06d10251b76
echo x - mail/roundcube-automatic_addressbook/Makefile
sed 's/^X//' >mail/roundcube-automatic_addressbook/Makefile << 'f621265787808adc8c665beff3f95879'
X# New ports collection makefile for:	automatic_addressbook
X# Date created:				Wed 18 Jan 2012
X# Whom:					Anes Muhametov <anes@anes.su>
X# $FreeBSD$
X
XPORTNAME=	automatic_addressbook
XPORTVERSION=	24
XCATEGORIES=	mail
XMASTER_SITES=	http://crapouillou.net/~jocelyn/ressources/roundcube/
XPKGNAMEPREFIX=	roundcube-
XDISTNAME=	automatic_addressbook-svn${PORTVERSION}
X
XMAINTAINER=	anes@anes.su
XCOMMENT=	Roundcube webmail automatic addressbook plugin
X
XRUN_DEPENDS=    roundcube>=0.8:${PORTSDIR}/mail/roundcube
X
XLICENSE=	GPLv3
X
XUSE_BZIP2=	yes
XNO_BUILD=	yes
XEXTRACT_AFTER_ARGS=	| tar -xf - --exclude '*.svn*'
XWRKSRC=	${WRKDIR}/${PORTNAME}
XWWWDIR=	${PREFIX}/www/roundcube/plugins/automatic_addressbook
X
XPLIST_REINPLACE+= dirrm
XPLIST_REINPLACE_DIRRM=s!^@dirrm \(.*\)!@dirrmtry %D/\1 2>/dev/null || true!
X
X# This target is only meant to be used by the port maintainer.
Xx-generate-plist: build
X	cd ${WRKSRC}; \
X	${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
X		${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
X	${FIND} . -type d | ${SORT} -r | ${SED} \
X		-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
X		-e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
X
Xdo-install:
X	${MKDIR} ${WWWDIR}
X	cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}
X
X	@${ECHO} "**************************************"
X	@${ECHO} ""
X	@${ECHO} "ATTENTION! ATTENTION! ATTENTION!"
X	@${ECHO} "Don't forget to create collected address DB table."
X	@${ECHO} "Directory ${PREFIX}/www/roundcube/plugins/automatic_addressbook/SQL contains samples"
X	@${ECHO} ""
X	@${ECHO} "**************************************"
X
X.include <bsd.port.mk>
f621265787808adc8c665beff3f95879
echo x - mail/roundcube-automatic_addressbook/pkg-descr
sed 's/^X//' >mail/roundcube-automatic_addressbook/pkg-descr << '93b261e25aa20422855dde1f0b9d32ab'
XAutomatic addressbook plugin for roundcube webmail
X
XWWW: http://code.crapouillou.net/projects/roundcube-plugins
93b261e25aa20422855dde1f0b9d32ab
exit

