Lines 1-12
Link Here
|
1 |
# Created by: Nikolay Pavlov <qpadla@gmail.com> |
1 |
# Created by: Nikolay Pavlov <qpadla@gmail.com> |
2 |
|
2 |
|
3 |
PORTNAME= openfire |
3 |
PORTNAME= openfire |
4 |
PORTVERSION= 4.6.4 |
4 |
DISTVERSIONPREFIX= v |
|
|
5 |
DISTVERSION= 4.6.5 |
5 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
6 |
CATEGORIES= net-im java |
7 |
CATEGORIES= net-im java |
7 |
MASTER_SITES= https://github.com/igniterealtime/${PORTNAME}/archive/refs/tags/ \ |
8 |
|
8 |
LOCAL/pi:maven |
9 |
MASTER_SITES= LOCAL/pi:maven |
9 |
DISTFILES= v${PORTVERSION}.tar.gz |
|
|
10 |
|
10 |
|
11 |
MAINTAINER= nikita@druba.su |
11 |
MAINTAINER= nikita@druba.su |
12 |
COMMENT= Enterprise instant messaging server |
12 |
COMMENT= Enterprise instant messaging server |
Lines 16-48
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
Link Here
|
16 |
|
16 |
|
17 |
BUILD_DEPENDS= mvn:devel/maven |
17 |
BUILD_DEPENDS= mvn:devel/maven |
18 |
|
18 |
|
19 |
OPTIONS_DEFINE= DOCS TEST |
|
|
20 |
OPTIONS_SINGLE= MAVEN |
21 |
OPTIONS_SINGLE_MAVEN= LOCAL_M2 ONLINE_M2 |
22 |
MAVEN_DESC= Source of Maven build plugins |
23 |
LOCAL_M2_DESC= Use prefetch plugins from FreeBSD repository |
24 |
ONLINE_M2_DESC= Download last plugins during build process (into ~/.m2) |
25 |
OPTIONS_DEFAULT= LOCAL_M2 |
26 |
LOCAL_M2_DISTFILES= FreeBSD-${PORTNAME}-${PORTVERSION}-maven-repository.tar.gz:maven |
27 |
|
28 |
USES= cpe |
19 |
USES= cpe |
|
|
20 |
CPE_VENDOR= igniterealtime |
21 |
USE_GITHUB= YES |
22 |
GH_ACCOUNT= igniterealtime |
23 |
GH_PROJECT= Openfire |
29 |
USE_JAVA= yes |
24 |
USE_JAVA= yes |
30 |
JAVA_VERSION= 1.8+ |
25 |
JAVA_VERSION= 1.8+ |
31 |
NO_ARCH= yes |
|
|
32 |
CPE_VENDOR= igniterealtime |
33 |
|
26 |
|
34 |
USE_RC_SUBR= ${PORTNAME} |
27 |
USE_RC_SUBR= ${PORTNAME} |
|
|
28 |
NO_ARCH= yes |
35 |
SUB_FILES+= pkg-message |
29 |
SUB_FILES+= pkg-message |
36 |
|
30 |
|
37 |
WRKSRC= ${WRKDIR}/Openfire-${PORTVERSION} |
|
|
38 |
INSTALL_WRKSRC= ${WRKSRC}/distribution/target/distribution-base/ |
31 |
INSTALL_WRKSRC= ${WRKSRC}/distribution/target/distribution-base/ |
39 |
DATADIR= ${JAVASHAREDIR}/${PORTNAME} |
32 |
DATADIR= ${JAVASHAREDIR}/${PORTNAME} |
40 |
VARLOG= /var/log/${PORTNAME} |
33 |
VARLOG= /var/log/${PORTNAME} |
41 |
VARDB= /var/db/${PORTNAME} |
34 |
VARDB= /var/db/${PORTNAME} |
42 |
USERS= ${PORTNAME} |
35 |
USERS= ${PORTNAME} |
43 |
GROUPS= ${USERS} |
36 |
GROUPS= ${USERS} |
44 |
PLIST_SUB+= VARLOG=${VARLOG} \ |
37 |
PLIST_SUB+= VARDB=${VARDB} \ |
45 |
VARDB=${VARDB} |
38 |
VARLOG=${VARLOG} |
|
|
39 |
|
40 |
OPTIONS_DEFINE= DOCS TEST |
41 |
OPTIONS_DEFAULT= MAVEN_LOCAL |
42 |
OPTIONS_SINGLE= MAVEN |
43 |
OPTIONS_SINGLE_MAVEN= MAVEN_LOCAL MAVEN_ONLINE |
44 |
|
45 |
MAVEN_DESC= Source of Maven build plugins |
46 |
MAVEN_LOCAL_DESC= Use prefetch plugins from FreeBSD repository |
47 |
MAVEN_ONLINE_DESC= Download last plugins during build process and store them into ~/.m2 |
48 |
|
49 |
MAVEN_LOCAL_DISTFILES= FreeBSD-${PORTNAME}-${PORTVERSION}-maven-repository.tar.gz:maven |
46 |
|
50 |
|
47 |
MVN= mvn |
51 |
MVN= mvn |
48 |
MVN_TARGET= package |
52 |
MVN_TARGET= package |
Lines 56-66
MVN_OPTS= -DskipTests=false
Link Here
|
56 |
MVN_OPTS= -DskipTests=true |
60 |
MVN_OPTS= -DskipTests=true |
57 |
.endif |
61 |
.endif |
58 |
|
62 |
|
59 |
.if ${PORT_OPTIONS:MLOCAL_M2} |
63 |
.if ${PORT_OPTIONS:MMAVEN_LOCAL} |
60 |
MVN_OPTS+= -o -Dmaven.repo.local=${WRKDIR}/m2 |
64 |
MVN_OPTS+= -o -Dmaven.repo.local=${WRKDIR}/m2 |
61 |
.endif |
65 |
.endif |
62 |
|
66 |
|
63 |
.if ${PORT_OPTIONS:MONLINE_M2} |
67 |
.if ${PORT_OPTIONS:MMAVEN_ONLINE} |
64 |
MVN_OPTS+= -U |
68 |
MVN_OPTS+= -U |
65 |
.endif |
69 |
.endif |
66 |
|
70 |
|