From 3eb79648a6b26f3b61b73c494013c883b50d175b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 6 Nov 2010 08:35:34 +0000 Subject: [PATCH] Move to pkg-readmes. --- www/timetrex/Makefile | 8 ++++---- www/timetrex/pkg/MESSAGE | 8 -------- www/timetrex/pkg/PLIST | 5 +++-- www/timetrex/{files/README.OpenBSD => pkg/README} | 8 +++++++- 4 files changed, 14 insertions(+), 15 deletions(-) delete mode 100644 www/timetrex/pkg/MESSAGE rename www/timetrex/{files/README.OpenBSD => pkg/README} (89%) diff --git a/www/timetrex/Makefile b/www/timetrex/Makefile index e5f1bce13c2..5dc72fd4250 100644 --- a/www/timetrex/Makefile +++ b/www/timetrex/Makefile @@ -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 @@ -7,6 +7,8 @@ DISTNAME= TimeTrex_Standard_Edition_v${V} PKGNAME= timetrex-${V} CATEGORIES= www productivity +REVISION= 0 + EXTRACT_SUFX= .zip HOMEPAGE= http://www.timetrex.com/ @@ -33,9 +35,7 @@ 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 + ${SUBST_CMD} ${INSTDIR}/timetrex.ini.php-example_linux find ${INSTDIR} -type f -name \*.orig -or -name \*.bak | xargs rm find ${INSTDIR} -name \*.beforesubst | xargs rm chown -R ${BINOWN}:${BINGRP} ${INSTDIR} diff --git a/www/timetrex/pkg/MESSAGE b/www/timetrex/pkg/MESSAGE deleted file mode 100644 index 81415f0506d..00000000000 --- a/www/timetrex/pkg/MESSAGE +++ /dev/null @@ -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. diff --git a/www/timetrex/pkg/PLIST b/www/timetrex/pkg/PLIST index 710b8885f34..85287fa096e 100644 --- a/www/timetrex/pkg/PLIST +++ b/www/timetrex/pkg/PLIST @@ -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/INSTALL.txt timetrex/LICENSE -timetrex/README.OpenBSD timetrex/README.txt timetrex/UPGRADE.txt timetrex/api/ @@ -3026,3 +3025,5 @@ timetrex/unit_tests/USPayrollDeductionTest2010.php @exec-add cd %D/%D/timetrex && ln -sf ../../../timetrex/tmp tmp @unexec-delete rm -rf %D/%D/timetrex @extraunexec rm -rf ${INSTDIR}/templates_c +@cwd ${LOCALBASE}/share/doc/pkg-readmes +${FULLPKGNAME} diff --git a/www/timetrex/files/README.OpenBSD b/www/timetrex/pkg/README similarity index 89% rename from www/timetrex/files/README.OpenBSD rename to www/timetrex/pkg/README index a94f8f5f3fc..14544c5c736 100644 --- a/www/timetrex/files/README.OpenBSD +++ b/www/timetrex/pkg/README @@ -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 ============================================= +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 corresponding PHP module. e.g: for MySQL you'll need to install php5-mysql