2013-02-05 11:54:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2013/02/05 16:54:32 ajacoutot Exp $
|
2012-08-04 11:19:32 -04:00
|
|
|
|
|
|
|
COMMENT= customer relationship management (CRM) software
|
|
|
|
|
2013-01-29 05:25:08 -05:00
|
|
|
V= 1.0.20
|
|
|
|
DISTNAME= zurmo-stable-${V}.46dd9c95bfed
|
2012-08-04 11:19:32 -04:00
|
|
|
PKGNAME= zurmo-${V}
|
2013-02-05 11:54:32 -05:00
|
|
|
REVISION= 1
|
2012-08-04 11:19:32 -04:00
|
|
|
|
|
|
|
CATEGORIES= www productivity
|
|
|
|
|
|
|
|
HOMEPAGE= http://zurmo.org/
|
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://dev.zurmo.com/downloads/
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/zurmo
|
|
|
|
TINSTDIR= ${TRUEPREFIX}/zurmo
|
|
|
|
SUBST_VARS= INSTDIR TINSTDIR
|
|
|
|
|
|
|
|
MODULES= lang/php
|
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-curl \
|
|
|
|
lang/php/${MODPHP_VERSION},-imap \
|
|
|
|
lang/php/${MODPHP_VERSION},-mysql \
|
|
|
|
lang/php/${MODPHP_VERSION},-pdo_mysql \
|
|
|
|
lang/php/${MODPHP_VERSION},-soap \
|
2013-01-29 05:25:08 -05:00
|
|
|
misc/memcached \
|
|
|
|
www/pecl-APC \
|
|
|
|
www/pecl-memcache
|
2012-08-04 11:19:32 -04:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
mkdir ${WRKDIST}
|
|
|
|
${GZIP_CMD} -dc ${FULLDISTDIR}/${DISTFILES} | ${TAR} xf - -C ${WRKDIST}
|
|
|
|
|
|
|
|
do-install:
|
2013-01-29 05:25:08 -05:00
|
|
|
cp -Rp ${WRKDIST}/zurmo ${INSTDIR}
|
2012-08-04 11:19:32 -04:00
|
|
|
# "Remove the api test entry script for production use."
|
|
|
|
# "If this website is in production mode, please remove the app/test.php file."
|
|
|
|
rm ${PREFIX}/zurmo/app/test.php
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/zurmo.conf \
|
|
|
|
${INSTDIR}/zurmo.conf.dist
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|