mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
c4bb4b8dd6
WildFly is a flexible, lightweight, managed application runtime that helps you build amazing applications. WildFly - new name for JBoss Application Server Fast Startup Small Footprint Modular Design Unified Configuration and Management And of course Java EE! WWW: http://wildfly.org PR: 234604 Submitted by: Simeo Reig <reig.simeo@gmail.com>
71 lines
2.1 KiB
Makefile
71 lines
2.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= wildfly15
|
|
PORTVERSION= 15.0.1
|
|
CATEGORIES= java www
|
|
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
|
|
DISTNAME= wildfly-${WILDFLY_VERSION}
|
|
|
|
MAINTAINER= reig.simeo@gmail.com
|
|
COMMENT= Replacement for JBoss Application Server
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_RC_SUBR= wildfly15
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.8+
|
|
USER= www
|
|
GROUP= www
|
|
VAR_DIR?= /var
|
|
LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
|
|
PID_FILE= ${VAR_DIR}/run/${PORTNAME}.pid
|
|
WILDFLY_VERSION=${PORTVERSION}.Final
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= APP_SHORTNAME=${PORTNAME} \
|
|
LOG_DIR=${LOG_DIR} \
|
|
USER=${USER} \
|
|
GROUP=${GROUP} \
|
|
PID_FILE=${PID_FILE} \
|
|
APP_HOME=${PREFIX}/${PORTNAME}
|
|
PLIST_SUB= APP_HOME=${PORTNAME}
|
|
|
|
CONFIG_FILES= appclient/configuration/appclient.xml \
|
|
appclient/configuration/logging.properties \
|
|
domain/configuration/application-roles.properties \
|
|
domain/configuration/application-users.properties \
|
|
domain/configuration/default-server-logging.properties \
|
|
domain/configuration/domain.xml \
|
|
domain/configuration/host-master.xml \
|
|
domain/configuration/host-slave.xml \
|
|
domain/configuration/host.xml \
|
|
domain/configuration/logging.properties \
|
|
domain/configuration/mgmt-groups.properties \
|
|
domain/configuration/mgmt-users.properties \
|
|
standalone/configuration/application-roles.properties \
|
|
standalone/configuration/application-users.properties \
|
|
standalone/configuration/logging.properties \
|
|
standalone/configuration/mgmt-groups.properties \
|
|
standalone/configuration/mgmt-users.properties \
|
|
standalone/configuration/standalone-full-ha.xml \
|
|
standalone/configuration/standalone-full.xml \
|
|
standalone/configuration/standalone-ha.xml \
|
|
standalone/configuration/standalone-load-balancer.xml \
|
|
standalone/configuration/standalone.xml
|
|
|
|
do-build:
|
|
${RM} ${WRKSRC}/bin/*.bat
|
|
${RM} ${WRKSRC}/bin/*.ps1
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME})
|
|
${RMDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/.installation
|
|
.for FILE in ${CONFIG_FILES}
|
|
${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/${FILE} \
|
|
${STAGEDIR}${PREFIX}/${PORTNAME}/${FILE}.sample
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|