# New ports collection makefile for:	simplegroupware
# Date created:				7 January 2011
# Whom:					jamrich.majo@gmail.com
#
# $FreeBSD: ports/deskutils/simplegroupware/Makefile,v 1.7 2012/02/06 23:32:03 wen Exp $
#

PORTNAME=	simplegroupware
PORTVERSION=	0.743
CATEGORIES=	deskutils
MASTER_SITES=	SF/simplgroup/${PORTNAME}/${PORTVERSION}/ \
		GOOGLE_CODE
DISTNAME=	SimpleGroupware_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple Groupware is an open source enterprise application

NO_BUILD=	yes
USE_APACHE=	22
USE_MYSQL=	yes
USE_PHP=	mysql

PKGMESSAGE=	${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES=	pkg-message

do-install:
	${MKDIR} ${WWWDIR}/
	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${WWWDIR}/
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
