Move to pkg-readmes.

This commit is contained in:
ajacoutot 2010-11-06 08:35:34 +00:00
parent df13d1304d
commit 3eb79648a6
4 changed files with 14 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2010/08/21 20:35:37 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.21 2010/11/06 08:35:34 ajacoutot Exp $
COMMENT= web-based payroll and time management suite COMMENT= web-based payroll and time management suite
@ -7,6 +7,8 @@ DISTNAME= TimeTrex_Standard_Edition_v${V}
PKGNAME= timetrex-${V} PKGNAME= timetrex-${V}
CATEGORIES= www productivity CATEGORIES= www productivity
REVISION= 0
EXTRACT_SUFX= .zip EXTRACT_SUFX= .zip
HOMEPAGE= http://www.timetrex.com/ HOMEPAGE= http://www.timetrex.com/
@ -33,9 +35,7 @@ SUBST_VARS= INSTDIR
do-install: do-install:
mv ${WRKSRC} ${INSTDIR} mv ${WRKSRC} ${INSTDIR}
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${INSTDIR} ${SUBST_CMD} ${INSTDIR}/timetrex.ini.php-example_linux
${SUBST_CMD} ${INSTDIR}/timetrex.ini.php-example_linux \
${INSTDIR}/README.OpenBSD
find ${INSTDIR} -type f -name \*.orig -or -name \*.bak | xargs rm find ${INSTDIR} -type f -name \*.orig -or -name \*.bak | xargs rm
find ${INSTDIR} -name \*.beforesubst | xargs rm find ${INSTDIR} -name \*.beforesubst | xargs rm
chown -R ${BINOWN}:${BINGRP} ${INSTDIR} chown -R ${BINOWN}:${BINGRP} ${INSTDIR}

View File

@ -1,8 +0,0 @@
TimeTrex has been installed into ${INSTDIR}
You should point this to the DocumentRoot of your web-server:
# ln -s ../timetrex /var/www/htdocs/timetrex
(make sure you use a relative symlink since Apache is chrooted)
To complete the installation or update, make sure you read
${INSTDIR}/README.OpenBSD.

View File

@ -1,8 +1,7 @@
@comment $OpenBSD: PLIST,v 1.15 2010/08/21 20:35:37 ajacoutot Exp $ @comment $OpenBSD: PLIST,v 1.16 2010/11/06 08:35:34 ajacoutot Exp $
timetrex/ timetrex/
timetrex/INSTALL.txt timetrex/INSTALL.txt
timetrex/LICENSE timetrex/LICENSE
timetrex/README.OpenBSD
timetrex/README.txt timetrex/README.txt
timetrex/UPGRADE.txt timetrex/UPGRADE.txt
timetrex/api/ timetrex/api/
@ -3026,3 +3025,5 @@ timetrex/unit_tests/USPayrollDeductionTest2010.php
@exec-add cd %D/%D/timetrex && ln -sf ../../../timetrex/tmp tmp @exec-add cd %D/%D/timetrex && ln -sf ../../../timetrex/tmp tmp
@unexec-delete rm -rf %D/%D/timetrex @unexec-delete rm -rf %D/%D/timetrex
@extraunexec rm -rf ${INSTDIR}/templates_c @extraunexec rm -rf ${INSTDIR}/templates_c
@cwd ${LOCALBASE}/share/doc/pkg-readmes
${FULLPKGNAME}

View File

@ -1,8 +1,14 @@
$OpenBSD: README.OpenBSD,v 1.3 2010/05/11 07:19:00 ajacoutot Exp $ $OpenBSD: README,v 1.1 2010/11/06 08:35:34 ajacoutot Exp $
Post-install/update instructions for TimeTrex Post-install/update instructions for TimeTrex
============================================= =============================================
TimeTrex has been installed into ${INSTDIR}
You should point this to the DocumentRoot of your web-server:
# ln -s ../timetrex /var/www/htdocs/timetrex
(make sure you use a relative symlink since Apache is chrooted)
Depending on the database you wish to access, you'll need the Depending on the database you wish to access, you'll need the
corresponding PHP module. e.g: corresponding PHP module. e.g:
for MySQL you'll need to install php5-mysql for MySQL you'll need to install php5-mysql