pkgsrc-wip/ilohamail/Makefile

32 lines
915 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2006/05/19 16:51:19 ykomatsu Exp $
#
2005-01-12 17:59:13 +01:00
DISTNAME= IlohaMail-0.8.14-rc2
PKGNAME= ${DISTNAME:S/IlohaM/iloham/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ilohamail/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ilohamail.org/
COMMENT= Light weight yet full featured multilingual webmail
DEPENDS+= ap{,2}-php>=4.3.0:../../www/ap-php
NO_BUILD= yes
APACHE_DOCROOT= ${PREFIX}/share/httpd/htdocs
ILOHADIR= ${APACHE_DOCROOT}/IlohaMail
2004-05-22 17:15:02 +02:00
PKG_SYSCONFDIR=${ILOHADIR}/conf/
do-install:
2004-05-22 17:15:02 +02:00
${INSTALL_DATA_DIR} ${ILOHADIR}/conf
${INSTALL_DATA_DIR} ${ILOHADIR}/conf-orig
@${CP} -rf ${ILOHADIR}/conf/ ${ILOHADIR}/conf-orig/
@${CP} -r ${WRKSRC}/IlohaMail/ ${ILOHADIR}
@${CP} -rf ${ILOHADIR}/conf-orig/ ${ILOHADIR}/conf/
@${CP} -rf ${WRKSRC}/IlohaMail/conf/ ${ILOHADIR}/conf-orig/
${CHMOD} -R 700 ${ILOHADIR}
${CHOWN} -R www:www ${ILOHADIR}
.include "../../mk/bsd.pkg.mk"