1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

The guesswork classic is a lightweight framework for PHP. It allows

developers to build web applications without writing any configuration
files and being forced to use fixed directory structures and file names.

PR:		ports/82218
Submitted by:	Shinsuke Matsui <smatsui@karashi.org>
This commit is contained in:
Pav Lucistnik 2005-10-11 12:55:54 +00:00
parent 20a8433d67
commit 4bc95d9771
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144935
6 changed files with 104 additions and 0 deletions

View File

@ -105,6 +105,7 @@
SUBDIR += groff
SUBDIR += gskk
SUBDIR += gtkicq
SUBDIR += guesswork-classic
SUBDIR += gxditview
SUBDIR += hex
SUBDIR += hns

View File

@ -0,0 +1,49 @@
# New ports collection makefile for: ja-guesswork-classic
# Date created: 10 Oct 2005
# Whom: Shinsuke Matsui (<smatsui@karashi.org>)
#
# $FreeBSD$
#
PORTNAME= guesswork-classic
PORTVERSION= 0.0.3
CATEGORIES= japanese devel
MASTER_SITES= http://classic.guesswork.jp/download/files/
MAINTAINER= smatsui@karashi.org
COMMENT= A PHP lightweight framework
RUN_DEPENDS= ${LOCALBASE}/share/smarty/Smarty.class.php:${PORTSDIR}/www/smarty
NO_BUILD= yes
USE_PHP= yes
WANT_PHP_WEB= yes
SUB_FILES= pkg-message
PORTDOCS= ChangeLog README LICENSE
post-extract:
@${FIND} ${WRKSRC} -name '.cvsignore' -delete
do-install:
${MKDIR} ${DATADIR}
.for DIR in lib test
${CP} -Rp ${WRKSRC}/${DIR} ${DATADIR}
${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endfor
${MKDIR} ${EXAMPLESDIR}
.for DIR in examples public_html smarty
${CP} -Rp ${WRKSRC}/${DIR} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (guesswork-classic-0.0.3.tar.gz) = ba567c9457d99f55a9b1dd310fc44bd5
SIZE (guesswork-classic-0.0.3.tar.gz) = 15921

View File

@ -0,0 +1,4 @@
You need to adjust php's include_path to contain `%%DATADIR%%/lib'!
For example, insert
include_path = ".:%%DATADIR%%/lib"
into `%%LOCALBASE%%/etc/php.ini'.

View File

@ -0,0 +1,6 @@
The guesswork classic is a lightweight framework for PHP. It allows
developers to build web applications without writing any configuration
files and being forced to use fixed directory structures and file names.
Author: OGURA Junya
WWW: http://classic.guesswork.jp/

View File

@ -0,0 +1,42 @@
%%EXAMPLESDIR%%/examples/mailform/MailFormValidator.class.php
%%EXAMPLESDIR%%/public_html/mailform/mailform.css
%%EXAMPLESDIR%%/public_html/mailform/mailform.php
%%EXAMPLESDIR%%/smarty/templates/mailform/confirm.html
%%EXAMPLESDIR%%/smarty/templates/mailform/input.html
%%EXAMPLESDIR%%/smarty/templates/mailform/result.html
%%EXAMPLESDIR%%/smarty/templates_c/DUMMY
%%DATADIR%%/lib/Guesswork/AbstractView.php
%%DATADIR%%/lib/Guesswork/Controller.php
%%DATADIR%%/lib/Guesswork/DefaultView.php
%%DATADIR%%/lib/Guesswork/ExpressionUtil.php
%%DATADIR%%/lib/Guesswork/Logger.php
%%DATADIR%%/lib/Guesswork/plugins/function.error.php
%%DATADIR%%/lib/Guesswork/plugins/function.hidden_field.php
%%DATADIR%%/lib/Guesswork/plugins/function.link_to.php
%%DATADIR%%/lib/Guesswork/plugins/function.text_field.php
%%DATADIR%%/lib/Guesswork/plugins/function.url_for.php
%%DATADIR%%/lib/Guesswork/Request.php
%%DATADIR%%/lib/Guesswork/SmartyView.php
%%DATADIR%%/lib/Guesswork/templates/eval.tpl
%%DATADIR%%/lib/Guesswork/UploadFile.php
%%DATADIR%%/lib/Guesswork/Utils.php
%%DATADIR%%/lib/Guesswork/Validator.php
%%DATADIR%%/lib/Guesswork.php
%%DATADIR%%/test/AllTests.php
%%DATADIR%%/test/ControllerTest.php
%%DATADIR%%/test/ValidatorTest.php
@dirrm %%EXAMPLESDIR%%/examples/mailform
@dirrm %%EXAMPLESDIR%%/examples
@dirrm %%EXAMPLESDIR%%/public_html/mailform
@dirrm %%EXAMPLESDIR%%/public_html
@dirrm %%EXAMPLESDIR%%/smarty/templates/mailform
@dirrm %%EXAMPLESDIR%%/smarty/templates
@dirrm %%EXAMPLESDIR%%/smarty/templates_c
@dirrm %%EXAMPLESDIR%%/smarty
@dirrm %%DATADIR%%/lib/Guesswork/plugins
@dirrm %%DATADIR%%/lib/Guesswork/templates
@dirrm %%DATADIR%%/lib/Guesswork
@dirrm %%DATADIR%%/lib
@dirrm %%DATADIR%%/test
@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%