1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Openbravo ERP is a Web based ERP for SME, built on proven MVC & MDD framework

that facilitate its customization. Already in production, Openbravo ERP
encompasses a broad range of functionalities such as finance, supply chain,
manufacturing & much more.

WWW: http://www.openbravo.com/

PR:		ports/129175
Submitted by:	loader at freebsdmall.com
This commit is contained in:
Martin Wilke 2009-01-14 12:48:36 +00:00
parent 2696b8599d
commit ef1a2fc264
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226077
7 changed files with 22103 additions and 0 deletions

View File

@ -552,6 +552,7 @@
SUBDIR += oops
SUBDIR += openacs
SUBDIR += openacs-dotlrn
SUBDIR += openbravoerp
SUBDIR += opencart
SUBDIR += openvrml
SUBDIR += openx

69
www/openbravoerp/Makefile Normal file
View File

@ -0,0 +1,69 @@
# New ports collection makefile for: openbravoerp
# Date created: 2 Nov 2008
# Whom: loader@freebsdmall.com
#
# $FreeBSD$
#
PORTNAME= openbravoerp
PORTVERSION= 2.40
CATEGORIES= www java
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:S/erp//}
DISTNAME= OpenbravoERP_${PORTVERSION}-freebsd6${PLATFORM}-installer
EXTRACT_SUFX= .bin
EXTRACT_ONLY= #
MAINTAINER= loader@freebsdmall.com
COMMENT= Openbravo ERP is a Web based ERP
ONLY_FOR_ARCHS= i386 amd64
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_PGSQL= yes
WANT_PGSQL_VER= 83
NO_BUILD= yes
IS_INTERACTIVE= yes
NO_PACKAGE= too interactive
APP_HOME= OpenbravoERP${PORTVERSION}
PLIST_SUB+= ERP=${APP_HOME}
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
PLATFORM=
.elif ${ARCH} == amd64
PLATFORM= -x64
.else
IGNORE= unsupported OS release
.endif
.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
BUILD_DEPENDS+= ${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
BUILD_DEPENDS+= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
pre-everything::
@${SH} ${PKGINSTALL} ${PORTNAME} DBWARNING
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
@${CHMOD} +x ${WRKSRC}/${DISTFILES}
pre-su-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} PGUSER=${PGUSER} PGGROUP=${PGGROUP} \
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
do-install:
@cd ${WRKSRC} && ${WRKSRC}/${DISTFILES} --mode text --prefix ${LOCALBASE}/${APP_HOME}
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>

View File

@ -0,0 +1,6 @@
MD5 (OpenbravoERP_2.40-freebsd6-installer.bin) = 1abc8b7adbeba4bc856dca84b2b0e487
SHA256 (OpenbravoERP_2.40-freebsd6-installer.bin) = da103cd7837a4c52aa858d8771f575812dd90e485ee34f041ecc36bf217a425f
SIZE (OpenbravoERP_2.40-freebsd6-installer.bin) = 109490389
MD5 (OpenbravoERP_2.40-freebsd6-x64-installer.bin) = f7cbaaf227872ba07dfbe52595491ed8
SHA256 (OpenbravoERP_2.40-freebsd6-x64-installer.bin) = 3cf46a67137633c2715c61cc4a8371ac779fc6e4e25c5714f75a793496e97a00
SIZE (OpenbravoERP_2.40-freebsd6-x64-installer.bin) = 109767932

View File

@ -0,0 +1,28 @@
#!/bin/sh
#
# $FreeBSD$
#
PATH=/bin:/usr/bin
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
TMP_DIR="hsperfdata_root hsperfdata_www"
rm_dir () {
for dir in $@
do
if [ -d /tmp/${dir} ]; then
rm -fr /tmp/${dir}
fi
done
}
find /tmp -type f -name 'bitrock_installer*' | xargs rm -f
find /tmp -type f -name 'bitrock_debug*' | xargs rm -f
rm_dir ${TMP_DIR}
exit 0

View File

@ -0,0 +1,6 @@
Openbravo ERP is a Web based ERP for SME, built on proven MVC & MDD framework
that facilitate its customization. Already in production, Openbravo ERP
encompasses a broad range of functionalities such as finance, supply chain,
manufacturing & much more.
WWW: http://www.openbravo.com/

View File

@ -0,0 +1,40 @@
#!/bin/sh
# $FreeBSD$
PATH=/bin:/usr/bin:/usr/sbin
dbwarning() { echo "
===============================================
Openbravo ERP requires a superuser \"postgres\",
please issue following command to create it:
# createuser -s -W postgres
This is not done by the port. And use
\"/usr/local/tomcat5.5\" as the Tomcat
directory when you are prompted to enter
the location.
Press Ctrl-C now if you need to create it.
===============================================
"
sleep 5
}
case $2 in
PRE-INSTALL)
dbwarning
;;
POST-INSTALL)
if [ -f ${PKG_PREFIX}/OpenbravoERP2.40/uninstaller_standard ]; then
rm -f ${PKG_PREFIX}/OpenbravoERP2.40/uninstaller_standard
fi
;;
DBWARNING)
dbwarning
;;
esac

21953
www/openbravoerp/pkg-plist Normal file

File diff suppressed because it is too large Load Diff