blob: dfd12d2966ed401814c39ae5189a49797efd998b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# 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/openbravo/09-openbravo-old-installers/${PORTVERSION}
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>
|