summaryrefslogtreecommitdiffstats
path: root/deskutils/simplegroupware/Makefile
blob: a43f6c5e0c8a77cdbd61aab549ecf4eaec612469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: jamrich.majo@gmail.com
# $FreeBSD$

PORTNAME=	simplegroupware
PORTVERSION=	0.745
CATEGORIES=	deskutils
MASTER_SITES=	SF/simplgroup/${PORTNAME}/${PORTVERSION}/
DISTNAME=	SimpleGroupware_${PORTVERSION}

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

NO_BUILD=	yes
USE_APACHE_RUN=	22
USE_MYSQL=	yes
USE_PHP=	mysql

SUB_FILES=	pkg-message

SHAREOWN=	${WWWOWN}
SHAREGRP=	${WWWGRP}

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
# chmod -R bug.
# Do not use "-exec ... +", because of the same bug, it will not work.
post-extract:
	@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud