2009-04-03 13:31:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/04/03 17:31:23 ajacoutot Exp $
|
2009-02-16 04:43:39 -05:00
|
|
|
|
|
|
|
COMMENT= zarafa webaccess frontend
|
|
|
|
|
2009-04-03 13:31:23 -04:00
|
|
|
V= 6.20.4
|
2009-02-16 04:43:39 -05:00
|
|
|
DISTNAME= zarafa-webaccess-ajax-${V}
|
2009-04-03 13:31:23 -04:00
|
|
|
PKGNAME= zarafa-webaccess-${V}
|
2009-02-16 04:43:39 -05:00
|
|
|
CATEGORIES= mail www productivity
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.bsdfrog.org/OpenBSD/distfiles/zarafa/
|
|
|
|
|
2009-03-20 06:34:33 -04:00
|
|
|
RUN_DEPENDS= ::mail/zarafa/zarafa,-php
|
2009-02-16 04:43:39 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
2009-03-20 06:34:33 -04:00
|
|
|
INSTDIR= ${PREFIX}/zarafa-webaccess
|
2009-02-16 04:43:39 -05:00
|
|
|
SUBST_VARS= INSTDIR
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${SUBST_CMD} ${WRKDIR}/php-webclient-ajax/config.php.dist
|
|
|
|
find ${WRKDIR} -name \*.orig -or -name \*.bak | xargs rm -f
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/zarafa
|
2009-03-20 06:34:33 -04:00
|
|
|
mv ${WRKDIR}/php-webclient-ajax ${INSTDIR}
|
|
|
|
mv ${INSTDIR}/debug.php \
|
|
|
|
${INSTDIR}/debug.php.disabled
|
|
|
|
mv ${INSTDIR}/client/layout/img/login.jpg \
|
|
|
|
${INSTDIR}/client/layout/img/_login.jpg
|
|
|
|
${INSTALL_DATA} /dev/null ${INSTDIR}/debug.txt
|
2009-02-16 04:43:39 -05:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|