1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/deskutils/simplegroupware/Makefile
Dmitry Marakasov e1adad655f - Always check OPSYS along with OSVERSION
Approved by:	portmgr blanket
2017-01-12 15:18:18 +00:00

37 lines
814 B
Makefile

# 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>