diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-03 23:16:51 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-03 23:16:51 +0000 |
commit | 911f1f934359be24e542bc700ccf33dad85b6424 (patch) | |
tree | 3a4d3bb146a3387d3407b35d564830f4782f9c09 /www/sahana2 | |
parent | 2c7caeb1d25085698ed0e635fd9a9b96e56e48be (diff) | |
download | ports-911f1f934359be24e542bc700ccf33dad85b6424.tar.gz ports-911f1f934359be24e542bc700ccf33dad85b6424.zip |
Notes
Diffstat (limited to 'www/sahana2')
-rw-r--r-- | www/sahana2/Makefile | 80 | ||||
-rw-r--r-- | www/sahana2/distinfo | 3 | ||||
-rw-r--r-- | www/sahana2/files/pkg-message.in | 9 | ||||
-rw-r--r-- | www/sahana2/pkg-descr | 5 | ||||
-rw-r--r-- | www/sahana2/pkg-plist | 226 |
5 files changed, 323 insertions, 0 deletions
diff --git a/www/sahana2/Makefile b/www/sahana2/Makefile new file mode 100644 index 000000000000..a283934937c8 --- /dev/null +++ b/www/sahana2/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: sahana-phase2 +# Date created: 29 March 2006 +# Whom: Janaka Wickramasinghe <janaka@opensource.lk> +# +# $FreeBSD$ +# + +PORTNAME= sahana2 +DISTVERSION= 0.2.0-beta-1 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= sahana + +MAINTAINER= janaka@opensource.lk +COMMENT= Sahana is a web based disaster management system + +RUN_DEPENDS= ${LOCALBASE}/share/adodb:${PORTSDIR}/databases/adodb \ + ${LOCALBASE}/lib/php/creole:${PORTSDIR}/databases/php5-creole \ + ${PEARDIR}/simpletest:${PORTSDIR}/devel/simpletest + +NO_BUILD= yes +USE_PHP= gd gettext +WRKSRC= ${WRKDIR}/sahana-phase2 + +WANT_PHP_WEB= yes + +OPTIONS= DB_MYSQL "Enable MySQL" on \ + DB_POSTGRES "Enable PostgreSQL" off \ + DB_SQLITE "Enable SQLite" off + +SAHANADIR= www/sahana-phase2 +PLIST_SUB= SAHANADIR=${SAHANADIR} + +SUB_FILES= pkg-message +SUB_LIST= SAHANADIR="${SAHANADIR}" + +.include <bsd.port.pre.mk> + +PHP_CONFIG?= ${LOCALBASE}/bin/php-config + +.if !defined(PEARDIR) && exists(${PHP_CONFIG}) +_PEARPREFIX!= ${PHP_CONFIG} --prefix +_PEARDIR= share/pear +PEARDIR= ${_PEARPREFIX}/${_PEARDIR} +.endif + +.if defined(WITH_DB_MYSQL) + USE_PHP+= mysql +.endif + +.if defined(WITH_DB_POSTGRES) + USE_PHP+= pgsql +.endif + +.if defined(WITH_DB_SQLITE) + USE_PHP+= sqlite +.endif + +post-extract: + @cd ${WRKSRC}/3rd && ${RM} -r adodb creole simpletest + +do-install: + cd ${WRKSRC} && \ + for src in $$( ${FIND} .) ; do \ + dst=${PREFIX}/${SAHANADIR}$${src#.} ; \ + if ${TEST} -d "$$src" ; then \ + ${MKDIR} "$$dst" ; \ + else \ + ${INSTALL_DATA} "$$src" "$$dst" ; \ + fi \ + done + @${LN} -s ${LOCALBASE}/share/adodb ${LOCALBASE}/lib/php/creole \ + ${PEARDIR}/simpletest ${PREFIX}/${SAHANADIR}/3rd + +post-install: + @${ECHO_CMD} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} + +.include <bsd.port.post.mk> diff --git a/www/sahana2/distinfo b/www/sahana2/distinfo new file mode 100644 index 000000000000..638b7732bbdd --- /dev/null +++ b/www/sahana2/distinfo @@ -0,0 +1,3 @@ +MD5 (sahana2-0.2.0-beta-1.tar.gz) = 08ded67d106351b2d55ff362e0791c15 +SHA256 (sahana2-0.2.0-beta-1.tar.gz) = c6671ee7b49b1bc433a4d7d80a77baf206ab156d7ead761e61b411b6925669f4 +SIZE (sahana2-0.2.0-beta-1.tar.gz) = 1759057 diff --git a/www/sahana2/files/pkg-message.in b/www/sahana2/files/pkg-message.in new file mode 100644 index 000000000000..e386cb449d03 --- /dev/null +++ b/www/sahana2/files/pkg-message.in @@ -0,0 +1,9 @@ +============================================================================== + +1. Create a symbolic link to "%%PREFIX%%/%%SAHANADIR%%/www". +2. You will need to run the web installer. +3. You will need to give write permission to + "%%PREFIX%%/%%SAHANADIR%%/www/tmp" if you decided to upload + pictures of missing people. + +============================================================================== diff --git a/www/sahana2/pkg-descr b/www/sahana2/pkg-descr new file mode 100644 index 000000000000..530ab1b80b4f --- /dev/null +++ b/www/sahana2/pkg-descr @@ -0,0 +1,5 @@ +Sahana is an integrated set of pluggable, web based disaster management +applications that provide solutions to large-scale humanitarian problems +in the aftermath of a disaster. + +WWW: http://www.sahana.lk diff --git a/www/sahana2/pkg-plist b/www/sahana2/pkg-plist new file mode 100644 index 000000000000..70ed578f4e99 --- /dev/null +++ b/www/sahana2/pkg-plist @@ -0,0 +1,226 @@ +%%SAHANADIR%%/3rd/adodb +%%SAHANADIR%%/3rd/creole +%%SAHANADIR%%/3rd/nusoap/lib/changelog +%%SAHANADIR%%/3rd/nusoap/lib/class.nusoap_base.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soap_fault.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soap_parser.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soap_server.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soap_transport_http.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soap_val.php +%%SAHANADIR%%/3rd/nusoap/lib/class.soapclient.php +%%SAHANADIR%%/3rd/nusoap/lib/class.wsdl.php +%%SAHANADIR%%/3rd/nusoap/lib/class.wsdlcache.php +%%SAHANADIR%%/3rd/nusoap/lib/class.xmlschema.php +%%SAHANADIR%%/3rd/nusoap/lib/nusoap.php +%%SAHANADIR%%/3rd/nusoap/lib/nusoapmime.php +%%SAHANADIR%%/3rd/phpgacl/gacl.class.php +%%SAHANADIR%%/3rd/phpgacl/gacl_api.class.php +%%SAHANADIR%%/3rd/popupcal/cal_class.php +%%SAHANADIR%%/3rd/popupcal/calendar.core.js +%%SAHANADIR%%/3rd/popupcal/example.php +%%SAHANADIR%%/3rd/simpletest +%%SAHANADIR%%/3rd/spyc/spyc.php +%%SAHANADIR%%/INSTALL +%%SAHANADIR%%/README +%%SAHANADIR%%/conf/config.inc +%%SAHANADIR%%/inc/constants.inc +%%SAHANADIR%%/inc/handler_component.php +%%SAHANADIR%%/inc/handler_db.inc +%%SAHANADIR%%/inc/handler_errors.inc +%%SAHANADIR%%/inc/handler_footer.inc +%%SAHANADIR%%/inc/handler_form.inc +%%SAHANADIR%%/inc/handler_header.inc +%%SAHANADIR%%/inc/handler_html_head.inc +%%SAHANADIR%%/inc/handler_login.inc +%%SAHANADIR%%/inc/handler_mainmenu.inc +%%SAHANADIR%%/inc/lib_config.inc +%%SAHANADIR%%/inc/lib_database/db.inc +%%SAHANADIR%%/inc/lib_database/db_adodb.inc +%%SAHANADIR%%/inc/lib_database/db_creole.inc +%%SAHANADIR%%/inc/lib_database/db_query.inc +%%SAHANADIR%%/inc/lib_database/devel_tools.php +%%SAHANADIR%%/inc/lib_errors.inc +%%SAHANADIR%%/inc/lib_form.inc +%%SAHANADIR%%/inc/lib_locale/handler_locale.inc +%%SAHANADIR%%/inc/lib_locale/lib_gettext.inc +%%SAHANADIR%%/inc/lib_location.inc +%%SAHANADIR%%/inc/lib_logger/actions.inc +%%SAHANADIR%%/inc/lib_logger/debug.inc +%%SAHANADIR%%/inc/lib_logger/logger.inc +%%SAHANADIR%%/inc/lib_menu.inc +%%SAHANADIR%%/inc/lib_modules.inc +%%SAHANADIR%%/inc/lib_security/acl.inc +%%SAHANADIR%%/inc/lib_security/acl_action_form.inc +%%SAHANADIR%%/inc/lib_security/acl_api.inc +%%SAHANADIR%%/inc/lib_security/acl_form.inc +%%SAHANADIR%%/inc/lib_security/acl_form_lib.inc +%%SAHANADIR%%/inc/lib_security/acl_role_form.inc +%%SAHANADIR%%/inc/lib_security/acl_user_form.inc +%%SAHANADIR%%/inc/lib_security/auth_form.inc +%%SAHANADIR%%/inc/lib_security/authenticate.inc +%%SAHANADIR%%/inc/lib_security/errors.inc +%%SAHANADIR%%/inc/lib_security/lib_js.inc +%%SAHANADIR%%/inc/lib_session/handler_session.inc +%%SAHANADIR%%/inc/lib_session/php_session_db.inc +%%SAHANADIR%%/inc/lib_validate.inc +%%SAHANADIR%%/inst/aclsample.inc +%%SAHANADIR%%/inst/create-mysql +%%SAHANADIR%%/inst/mysql-acl.sql +%%SAHANADIR%%/inst/mysql-config.sql +%%SAHANADIR%%/inst/mysql-dbcreate.sql +%%SAHANADIR%%/inst/mysql-sampledata.sql +%%SAHANADIR%%/inst/postgres-dbcreate.sql +%%SAHANADIR%%/inst/postgres.sql +%%SAHANADIR%%/inst/setup.inc +%%SAHANADIR%%/mod/admin/acl.inc +%%SAHANADIR%%/mod/admin/conf.inc +%%SAHANADIR%%/mod/admin/forms.inc +%%SAHANADIR%%/mod/admin/lc_translate.inc +%%SAHANADIR%%/mod/admin/main.inc +%%SAHANADIR%%/mod/admin/menu.inc +%%SAHANADIR%%/mod/admin/lc_setlocale.inc +%%SAHANADIR%%/mod/cr/admin.inc +%%SAHANADIR%%/mod/cr/camp.inc +%%SAHANADIR%%/mod/cr/conf.inc +%%SAHANADIR%%/mod/cr/edit.inc +%%SAHANADIR%%/mod/cr/home.inc +%%SAHANADIR%%/mod/cr/main.inc +%%SAHANADIR%%/mod/cr/main_fns.inc +%%SAHANADIR%%/mod/cr/reports.inc +%%SAHANADIR%%/mod/cr/search.inc +%%SAHANADIR%%/mod/gis/README +%%SAHANADIR%%/mod/gis/admin.inc +%%SAHANADIR%%/mod/gis/conf.inc +%%SAHANADIR%%/mod/gis/dbcreate.sql +%%SAHANADIR%%/mod/gis/gis_fns.inc +%%SAHANADIR%%/mod/gis/main.inc +%%SAHANADIR%%/mod/gis/main_fns.inc +%%SAHANADIR%%/mod/gis/plugins/google_maps/admin.inc +%%SAHANADIR%%/mod/gis/plugins/google_maps/conf.inc +%%SAHANADIR%%/mod/gis/plugins/google_maps/dbcreate.sql +%%SAHANADIR%%/mod/gis/plugins/google_maps/handler_google_maps.inc +%%SAHANADIR%%/mod/home/conf.inc +%%SAHANADIR%%/mod/home/main.inc +%%SAHANADIR%%/mod/mpr/add.inc +%%SAHANADIR%%/mod/mpr/audit.inc +%%SAHANADIR%%/mod/mpr/conf.inc +%%SAHANADIR%%/mod/mpr/edit.inc +%%SAHANADIR%%/mod/mpr/home.inc +%%SAHANADIR%%/mod/mpr/main.inc +%%SAHANADIR%%/mod/mpr/search.inc +%%SAHANADIR%%/mod/mpr/view.inc +%%SAHANADIR%%/mod/or/admin.inc +%%SAHANADIR%%/mod/or/admin_forms.inc +%%SAHANADIR%%/mod/or/conf.inc +%%SAHANADIR%%/mod/or/errors.inc +%%SAHANADIR%%/mod/or/home.inc +%%SAHANADIR%%/mod/or/lib_or.inc +%%SAHANADIR%%/mod/or/main.inc +%%SAHANADIR%%/mod/or/process_org.inc +%%SAHANADIR%%/mod/or/process_vol.inc +%%SAHANADIR%%/mod/or/reg_org.inc +%%SAHANADIR%%/mod/or/reg_vol.inc +%%SAHANADIR%%/mod/or/report.inc +%%SAHANADIR%%/mod/or/search.inc +%%SAHANADIR%%/mod/or/view_org.inc +%%SAHANADIR%%/mod/or/view_vol.inc +%%SAHANADIR%%/mod/rms/admin.inc +%%SAHANADIR%%/mod/rms/conf.inc +%%SAHANADIR%%/mod/rms/handler_cstat_req.inc +%%SAHANADIR%%/mod/rms/handler_fulfill_req.inc +%%SAHANADIR%%/mod/rms/handler_main.inc +%%SAHANADIR%%/mod/rms/handler_mgt_req.inc +%%SAHANADIR%%/mod/rms/handler_new_req.inc +%%SAHANADIR%%/mod/rms/handler_new_req_test.inc +%%SAHANADIR%%/mod/rms/handler_plg_del.inc +%%SAHANADIR%%/mod/rms/handler_plg_ls.inc +%%SAHANADIR%%/mod/rms/handler_plg_new.inc +%%SAHANADIR%%/mod/rms/handler_plg_stat.inc +%%SAHANADIR%%/mod/rms/handler_plg_vw.inc +%%SAHANADIR%%/mod/rms/handler_sc_req.inc +%%SAHANADIR%%/mod/rms/handler_view_req.inc +%%SAHANADIR%%/mod/rms/handler_vw_req.inc +%%SAHANADIR%%/mod/rms/ins/rms.sql +%%SAHANADIR%%/mod/rms/lib_rms.inc +%%SAHANADIR%%/mod/rms/main.inc +%%SAHANADIR%%/res/locale/en_US/LC_MESSAGES/sahana.mo +%%SAHANADIR%%/res/locale/en_US/LC_MESSAGES/sahana.po +%%SAHANADIR%%/res/locale/si_LK/LC_MESSAGES/sahana.po +%%SAHANADIR%%/test/generate_code.pl +%%SAHANADIR%%/test/testconf.inc +%%SAHANADIR%%/www/index.php +%%SAHANADIR%%/www/res/js/calendar.core.js +%%SAHANADIR%%/www/res/js/validate.js +%%SAHANADIR%%/www/theme/default/img/button-css.png +%%SAHANADIR%%/www/theme/default/img/button-php.gif +%%SAHANADIR%%/www/theme/default/img/button-xhtml.png +%%SAHANADIR%%/www/theme/default/img/content.png +%%SAHANADIR%%/www/theme/default/img/content_bottom.png +%%SAHANADIR%%/www/theme/default/img/cr.jpg +%%SAHANADIR%%/www/theme/default/img/cr.png +%%SAHANADIR%%/www/theme/default/img/home_pic1.png +%%SAHANADIR%%/www/theme/default/img/home_pic2.png +%%SAHANADIR%%/www/theme/default/img/logo.jpg +%%SAHANADIR%%/www/theme/default/img/menu_bar.png +%%SAHANADIR%%/www/theme/default/img/menu_bar_bottom.png +%%SAHANADIR%%/www/theme/default/img/mpr.png +%%SAHANADIR%%/www/theme/default/img/oops.png +%%SAHANADIR%%/www/theme/default/img/org.png +%%SAHANADIR%%/www/theme/default/img/rms_home.png +%%SAHANADIR%%/www/theme/default/img/sahana_logo.jpg +%%SAHANADIR%%/www/theme/default/img/wrapper_bk.png +%%SAHANADIR%%/www/theme/default/mobile.css +%%SAHANADIR%%/www/theme/default/print.css +%%SAHANADIR%%/www/theme/default/sahana.css +%%SAHANADIR%%/www/theme/default/sahana.js +%%SAHANADIR%%/www/theme/green_theme/img/content2.png +%%SAHANADIR%%/www/theme/green_theme/img/content2_bottom.png +%%SAHANADIR%%/www/theme/green_theme/img/logo.jpg +%%SAHANADIR%%/www/theme/green_theme/mobile.css +%%SAHANADIR%%/www/theme/green_theme/print.css +%%SAHANADIR%%/www/theme/green_theme/sahana.css +%%SAHANADIR%%/www/theme/green_theme/sahana.js +%%SAHANADIR%%/www/tmp/test.jpg +%%SAHANADIR%%/www/xml.php +@dirrm %%SAHANADIR%%/3rd/spyc +@dirrm %%SAHANADIR%%/3rd/popupcal +@dirrm %%SAHANADIR%%/3rd/phpgacl +@dirrm %%SAHANADIR%%/3rd/nusoap/lib +@dirrm %%SAHANADIR%%/3rd/nusoap +@dirrm %%SAHANADIR%%/3rd +@dirrm %%SAHANADIR%%/conf +@dirrm %%SAHANADIR%%/inc/lib_database +@dirrm %%SAHANADIR%%/inc/lib_locale +@dirrm %%SAHANADIR%%/inc/lib_logger +@dirrm %%SAHANADIR%%/inc/lib_security +@dirrm %%SAHANADIR%%/inc/lib_session +@dirrm %%SAHANADIR%%/inc +@dirrm %%SAHANADIR%%/inst +@dirrm %%SAHANADIR%%/mod/admin +@dirrm %%SAHANADIR%%/mod/cr +@dirrm %%SAHANADIR%%/mod/gis/plugins/google_maps +@dirrm %%SAHANADIR%%/mod/gis/plugins +@dirrm %%SAHANADIR%%/mod/gis +@dirrm %%SAHANADIR%%/mod/home +@dirrm %%SAHANADIR%%/mod/mpr +@dirrm %%SAHANADIR%%/mod/or +@dirrm %%SAHANADIR%%/mod/rms/ins +@dirrm %%SAHANADIR%%/mod/rms +@dirrm %%SAHANADIR%%/mod +@dirrm %%SAHANADIR%%/res/locale/si_LK/LC_MESSAGES +@dirrm %%SAHANADIR%%/res/locale/si_LK +@dirrm %%SAHANADIR%%/res/locale/en_US/LC_MESSAGES +@dirrm %%SAHANADIR%%/res/locale/en_US +@dirrm %%SAHANADIR%%/res/locale +@dirrm %%SAHANADIR%%/res +@dirrm %%SAHANADIR%%/test +@dirrm %%SAHANADIR%%/www/res/js +@dirrm %%SAHANADIR%%/www/res +@dirrm %%SAHANADIR%%/www/theme/default/img +@dirrm %%SAHANADIR%%/www/theme/default +@dirrm %%SAHANADIR%%/www/theme/green_theme/img +@dirrm %%SAHANADIR%%/www/theme/green_theme +@dirrm %%SAHANADIR%%/www/theme +@dirrm %%SAHANADIR%%/www/tmp +@dirrm %%SAHANADIR%%/www +@dirrm %%SAHANADIR%% |