66 lines
1.3 KiB
Makefile
66 lines
1.3 KiB
Makefile
|
# New ports collection makefile for: tine20
|
||
|
# Date created: 15 June 2012
|
||
|
# Whom: Mark Felder <feld@feld.me>
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= tine20
|
||
|
PORTVERSION= 0.0.2012.03.03
|
||
|
DISTVERSIONSUFFIX= 2012-03-3
|
||
|
CATEGORIES= deskutils
|
||
|
MASTER_SITES= http://www.tine20.org/downloads/${DISTVERSIONSUFFIX}/
|
||
|
DISTNAME= ${PORTNAME}-allinone_${DISTVERSIONSUFFIX}
|
||
|
|
||
|
MAINTAINER= feld@feld.me
|
||
|
COMMENT= Professional Open Source Groupware and CRM
|
||
|
|
||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||
|
|
||
|
USE_BZIP2= yes
|
||
|
|
||
|
FETCH_ARGS= -Fpr
|
||
|
|
||
|
NO_BUILD= yes
|
||
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||
|
|
||
|
SUB_FILES= pkg-message
|
||
|
SUB_LIST= DISTNAME=${DISTNAME}
|
||
|
|
||
|
OPTIONS_DEFINE= LDAP APC MEMCACHE
|
||
|
APC_DESC= Enable pecl-APC support
|
||
|
MEMCACHE_DESC= Enable pecl-memcache support
|
||
|
|
||
|
USE_MYSQL= yes
|
||
|
USE_PHP= ctype dom gd iconv json mcrypt mysql pdo_mysql simplexml spl xml zip
|
||
|
WANT_PHP_WEB= yes
|
||
|
|
||
|
.include <bsd.port.options.mk>
|
||
|
|
||
|
.if ${PORT_OPTIONS:MAPC}
|
||
|
USE_PHP+= apc
|
||
|
.endif
|
||
|
|
||
|
.if ${PORT_OPTIONS:MLDAP}
|
||
|
USE_PHP+= ldap
|
||
|
.endif
|
||
|
|
||
|
.if ${PORT_OPTIONS:MMEMCACHE}
|
||
|
USE_PHP+= memcache
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.pre.mk>
|
||
|
do-extract:
|
||
|
@${RM} -rf ${WRKDIR}
|
||
|
@${MKDIR} ${WRKDIR}/${PORTNAME}
|
||
|
cd ${WRKDIR}/${PORTNAME} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
|
||
|
|
||
|
do-install:
|
||
|
${MKDIR} ${WWWDIR}
|
||
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
|
||
|
|
||
|
post-install:
|
||
|
${CAT} ${PKGMESSAGE}
|
||
|
|
||
|
.include <bsd.port.post.mk>
|