diff options
Diffstat (limited to 'finance/openerp')
-rw-r--r-- | finance/openerp/Makefile | 74 | ||||
-rw-r--r-- | finance/openerp/distinfo | 3 | ||||
-rw-r--r-- | finance/openerp/files/openerp-server.conf.in | 55 | ||||
-rw-r--r-- | finance/openerp/files/openerpd.in | 34 | ||||
-rw-r--r-- | finance/openerp/files/patch-setup.py | 25 | ||||
-rw-r--r-- | finance/openerp/files/pkg-message.in | 10 | ||||
-rw-r--r-- | finance/openerp/pkg-descr | 8 |
7 files changed, 0 insertions, 209 deletions
diff --git a/finance/openerp/Makefile b/finance/openerp/Makefile deleted file mode 100644 index 14c1c5b5acff..000000000000 --- a/finance/openerp/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# New ports collection makefile for: openerp-server -# Date created: 27 February 2009 -# Whom: Wen Heping<wenheping@gmail.com> -# -# $FreeBSD$ -# - -PORTNAME= openerp-server -PORTVERSION= 5.0.11 -CATEGORIES= finance python -MASTER_SITES= http://openerp.com/download/stable/source/ - -MAINTAINER= wen@FreeBSD.org -COMMENT= Open source application ERP & CRM in Python using Postgresql - -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \ - ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \ - ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ - ${PYTHON_SITELIBDIR}/mx/__init__.py:${PORTSDIR}/lang/py-mx-base \ - ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \ - ${PYTHON_PKGNAMEPREFIX}chart>0:${PORTSDIR}/graphics/py-chart \ - ${PYTHON_PKGNAMEPREFIX}pydot>0:${PORTSDIR}/graphics/py-pydot \ - ${PYTHON_PKGNAMEPREFIX}libxslt>0:${PORTSDIR}/textproc/py-libxslt \ - ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ - ${PYTHON_PKGNAMEPREFIX}xml>0:${PORTSDIR}/textproc/py-xml \ - ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 -RUN_DEPENDS= ${BUILD_DEPENDS} - -USE_RC_SUBR= openerpd -SUB_FILES= openerp-server.conf pkg-message -SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} - -USE_PYTHON= 2.4+ -USE_PYDISTUTILS= yes -PYDISTUTILS_EGGINFO= openerp_server-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info - -MAN1= openerp-server.1 -MAN5= openerp_serverrc.5 - -.include <bsd.port.pre.mk> - -post-patch: - @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|g' ${WRKSRC}/bin/openerp-server.py - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} - @${FIND} -s -d ${DOCSDIR} -type f | ${SED} 's#${PREFIX}/##g' >> ${TMPPLIST} - @${FIND} -s -d ${DOCSDIR} -type d | ${SED} 's#${PREFIX}/#@dirrm #g' >> ${TMPPLIST} -.endif - - ${INSTALL_MAN} ${WRKSRC}/man/openerp-server.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/openerp_serverrc.5 ${PREFIX}/man/man5 - - ${INSTALL_DATA} ${WRKDIR}/openerp-server.conf ${PREFIX}/etc/openerp-server.conf.sample - @if [ ! -f ${PREFIX}/etc/openerp-server.conf ]; then \ - ${CP} -p ${PREFIX}/etc/openerp-server.conf.sample ${PREFIX}/etc/openerp-server.conf ; \ - fi - @${ECHO} '@unexec if cmp -s %D/etc/openerp-server.conf.sample %D/etc/openerp-server.conf; then rm -f %D/etc/openerp-server.conf; fi' >> ${TMPPLIST} - @${ECHO} etc/openerp-server.conf.sample >> ${TMPPLIST} - @${ECHO} '@exec if [ ! -f %D/etc/openerp-server.conf ]; then cp -p %D/%F %B/openerp-server.conf; fi' >> ${TMPPLIST} - - @${CHMOD} a+x ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/openerp-server.py - - @${ECHO} bin/openerp-server >> ${TMPPLIST} - @${FIND} -s -d ${PYTHON_SITELIBDIR}/${PORTNAME} \ - -type f | ${SED} 's#${PREFIX}/##g' >> ${TMPPLIST} - @${FIND} -s -d ${PYTHON_SITELIBDIR}/${PORTNAME} \ - -type d | ${SED} 's#${PREFIX}/#@dirrm #g' >> ${TMPPLIST} - - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/finance/openerp/distinfo b/finance/openerp/distinfo deleted file mode 100644 index f0d72a159857..000000000000 --- a/finance/openerp/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (openerp-server-5.0.11.tar.gz) = ebcc883e45d8045d1a95fc4d0854924f -SHA256 (openerp-server-5.0.11.tar.gz) = d7b4e8b64542b8857d9908bce9a2662e6413bf6db53f04f2ea8f28588de328e8 -SIZE (openerp-server-5.0.11.tar.gz) = 9824703 diff --git a/finance/openerp/files/openerp-server.conf.in b/finance/openerp/files/openerp-server.conf.in deleted file mode 100644 index f374b6796164..000000000000 --- a/finance/openerp/files/openerp-server.conf.in +++ /dev/null @@ -1,55 +0,0 @@ -# Example configuration file for OpenERP-server -# -# This is an example configuration file, just copy it -# to openerp-server.conf and edit it to suit your needs. - -[options] -# Basic daemon configuration options ################## -root_path = %%PYTHON_SITELIBDIR%%/openerp-server/ -addons_path = %%PYTHON_SITELIBDIR%%/openerp-server/addons -# netinterface = -# interface = -port = 8069 -netport = 8070 -debug_mode = False -stop_after_init = False -soap = False -xmlrpc = True -netrpc = True -secure = False -cache_timeout = 100000 -pidfile = /var/run/openerp-server/openerp-server.pid -reportgz = False -admin_passwd = admin -login_message = False -price_accuracy = 2 -csv_internal_sep = , -translate_modules = ['all'] - -# Logging options ##################################### -syslog = False -log_level = info -logfile = /var/log/openerp-server.log -assert_exit_level = warn - -# Database options #################################### -db_name = openerp-server -db_user = openerp-server -db_password = openerp-server -db_host = localhost -db_maxconn = 64 -pg_path = /usr/local/bin -list_db = True -# import_partial = - -# SMTP options ######################################## -smtp_server = localhost -smtp_port = 25 -smtp_user = False -smtp_password = False -email_from = False - -# Use demo files? ##################################### -# without_demo = True -# demo = {} - diff --git a/finance/openerp/files/openerpd.in b/finance/openerp/files/openerpd.in deleted file mode 100644 index 6e0e845b73d9..000000000000 --- a/finance/openerp/files/openerpd.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# PROVIDE: openerpd -# REQUIRE: postgresql LOGIN -# -# Add the following lines to /etc/rc.conf -# to enable this service: -# -# openerpd_enable (bool): Set to NO by default. -# Set it to YES to enable mongod. -# -# Additional configurable variables: -# openerpd_config (path): Set to %%PREFIX%%/etc/openerp-server.conf -# by default. Additional configuration. You -# can also use openerpd_flags for additional -# command line arguments. - -. /etc/rc.subr - -name="openerpd" -rcvar=${name}_enable - -command=%%PREFIX%%/bin/openerp-server - -load_rc_config $name - -: ${openerpd_enable="NO"} -: ${openerpd_config="%%PREFIX%%/etc/openerp-server.conf"} - -required_files="$openerpd_config" - -command_args="-c $openerpd_config >/dev/null 2>&1 &" - -run_rc_command "$1" diff --git a/finance/openerp/files/patch-setup.py b/finance/openerp/files/patch-setup.py deleted file mode 100644 index ad7163265b0c..000000000000 --- a/finance/openerp/files/patch-setup.py +++ /dev/null @@ -1,25 +0,0 @@ ---- setup.py.orig 2009-02-09 20:32:57.000000000 +0800 -+++ setup.py 2009-02-09 20:33:48.000000000 +0800 -@@ -92,14 +92,14 @@ - opj('bin', 'server.pkey'), - opj('bin', 'server.cert')])) - else: -- man_directory = opj('share', 'man') -- files.append((opj(man_directory, 'man1'), ['man/openerp-server.1'])) -- files.append((opj(man_directory, 'man5'), ['man/openerp_serverrc.5'])) -- -- doc_directory = opj('share', 'doc', 'openerp-server-%s' % version) -- files.append((doc_directory, [f for f in glob.glob('doc/*') if os.path.isfile(f)])) -- files.append((opj(doc_directory, 'migrate', '3.3.0-3.4.0'), [f for f in glob.glob('doc/migrate/3.3.0-3.4.0/*') if os.path.isfile(f)])) -- files.append((opj(doc_directory, 'migrate', '3.4.0-4.0.0'), [f for f in glob.glob('doc/migrate/3.4.0-4.0.0/*') if os.path.isfile(f)])) -+# man_directory = opj('share', 'man') -+# files.append((opj(man_directory, 'man1'), ['man/openerp-server.1'])) -+# files.append((opj(man_directory, 'man5'), ['man/openerp_serverrc.5'])) -+ -+# doc_directory = opj('share', 'doc', 'openerp-server-%s' % version) -+# files.append((doc_directory, [f for f in glob.glob('doc/*') if os.path.isfile(f)])) -+# files.append((opj(doc_directory, 'migrate', '3.3.0-3.4.0'), [f for f in glob.glob('doc/migrate/3.3.0-3.4.0/*') if os.path.isfile(f)])) -+# files.append((opj(doc_directory, 'migrate', '3.4.0-4.0.0'), [f for f in glob.glob('doc/migrate/3.4.0-4.0.0/*') if os.path.isfile(f)])) - - openerp_site_packages = opj('lib', 'python%s' % py_short_version, 'site-packages', 'openerp-server') - diff --git a/finance/openerp/files/pkg-message.in b/finance/openerp/files/pkg-message.in deleted file mode 100644 index 4827f7412af6..000000000000 --- a/finance/openerp/files/pkg-message.in +++ /dev/null @@ -1,10 +0,0 @@ -************************************************************************ - - -Now you can run the program with %%PREFIX%%/bin/openerp-server, - -If you want start it when the system boot, please add this line -to your /etc/rc.conf: - openerpd_enable="YES" - -************************************************************************ diff --git a/finance/openerp/pkg-descr b/finance/openerp/pkg-descr deleted file mode 100644 index b9c6e1d2cc6f..000000000000 --- a/finance/openerp/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -OpenERP is a complete ERP and CRM. The main features are accounting -(analytic and financial), stock management, sales and purchases -management, tasks automation, marketing campaigns, help desk, POS, etc. -Technical features include a distributed server, flexible workflows, an -object database, a dynamic GUI, customizable reports, and XML-RPC -interfaces. - -WWW: http://www.openerp.com/ |