blob: 88aec981865ea258315ad348ef42699c9c6b78e5 (
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
69
70
71
|
PORTNAME= midpoint
PORTVERSION= 4.0.3
CATEGORIES= net-mgmt java
MASTER_SITES= http://evolveum.com/downloads/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-dist
MAINTAINER= freebsd@rheinwolf.de
COMMENT= Identity management and identity governance system
LICENSE= AMS APACHE20 AREV BITSTREAM CDDL LGPL3 MIT
LICENSE_COMB= multi
LICENSE_NAME_AMS= AMSFonts Copyright version 2.2
LICENSE_NAME_AREV= Arev Fonts Copyright
LICENSE_NAME_BITSTREAM= Bitstream Vera Fonts Copyright
LICENSE_FILE= ${WRKSRC}/NOTICE
LICENSE_PERMS_AMS= dist-mirror dist-sell pkg-mirror pkg-sell \
auto-accept
LICENSE_PERMS_AREV= dist-mirror dist-sell pkg-mirror pkg-sell \
auto-accept
LICENSE_PERMS_BITSTREAM= dist-mirror dist-sell pkg-mirror pkg-sell \
auto-accept
USE_JAVA= yes
JAVA_VERSION= 1.8+
JAVA_OS= native
JAVA_VENDOR= openjdk oracle
JAVA_RUN= yes
USE_RC_SUBR= midpoint
NO_ARCH= yes
NO_BUILD= yes
SUB_LIST+= GROUPS=${GROUPS} \
JAVA=${JAVA} \
PORTNAME=${PORTNAME} \
USERS=${USERS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USERS= midpoint
GROUPS= midpoint
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${RM} "${WRKSRC}/doc/samples/mvnw"*
@${RM} -r "${WRKSRC}/doc/samples/maven"
do-install:
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/icf-connectors
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
@${MKDIR} ${STAGEDIR}/var/log/${PORTNAME}
@${MKDIR} ${STAGEDIR}/var/run/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/lib/midpoint.war ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
${LN} -sf /var/log/${PORTNAME} ${STAGEDIR}/var/db/${PORTNAME}/log
${LN} -sf ${JAVAJARDIR} ${STAGEDIR}/var/db/${PORTNAME}/lib
${LN} -sf ${JAVASHAREDIR}/icf-connectors ${STAGEDIR}/var/db/${PORTNAME}/icf-connectors
do-install-DOCS-on:
(cd ${WRKSRC} && ${INSTALL_DATA} INSTALL NEWS NOTICE README RELEASE-NOTES ${STAGEDIR}${DOCSDIR})
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "config schema" ${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
@(cd ${WRKSRC}/doc/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|