openbsd-ports/www/zurmo/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2013/02/05 16:54:32 ajacoutot Exp $
COMMENT= customer relationship management (CRM) software
2013-01-29 05:25:08 -05:00
V= 1.0.20
DISTNAME= zurmo-stable-${V}.46dd9c95bfed
PKGNAME= zurmo-${V}
REVISION= 1
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
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}
# "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>