openbsd-ports/www/timetrex/Makefile
ajacoutot 5bb0477760 Update to timetrex-3.1.0.
* add support for LDAP authentication.
2010-05-11 07:19:00 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2010/05/11 07:19:00 ajacoutot Exp $
COMMENT= web-based payroll and time management suite
V= 3.1.0
DISTNAME= TimeTrex_Standard_Edition_v${V}
PKGNAME= timetrex-${V}
CATEGORIES= www productivity
EXTRACT_SUFX= .zip
HOMEPAGE= http://www.timetrex.com/
# AGPLv3 (GNU Affero Public License)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timetrex/}
RUN_DEPENDS= :php5-gd-*:www/php5/extensions,-gd \
:php5-soap-*:www/php5/extensions,-soap \
::www/pear
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/timetrex
SUBST_VARS= INSTDIR
do-install:
mv ${WRKSRC} ${INSTDIR}
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${INSTDIR}
${SUBST_CMD} ${INSTDIR}/timetrex.ini.php-example_linux \
${INSTDIR}/README.OpenBSD
find ${INSTDIR} -type f -name \*.orig -or -name \*.bak | xargs rm
find ${INSTDIR} -name \*.beforesubst | xargs rm
chown -R ${BINOWN}:${BINGRP} ${INSTDIR}
.include <bsd.port.mk>