PORTNAME= midpoint PORTVERSION= 4.4.1 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 WWW= https://evolveum.com/midpoint/ 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= 11+ 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