1 # Created by: Alexander Yerenkow <yerenkow@gmail.com>
7 MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
8 DISTNAME= wildfly-${WILDFLY_VERSION}
10 MAINTAINER= yerenkow@gmail.com
11 COMMENT= Replacement for JBoss Application Server
15 USE_RC_SUBR= wildfly90
21 LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
22 PID_FILE= ${VAR_DIR}/run/${PORTNAME}.pid
23 WILDFLY_VERSION=${PORTVERSION}.Final
24 SUB_FILES= pkg-message
26 SUB_LIST= APP_SHORTNAME=${PORTNAME} \
30 PID_FILE=${PID_FILE} \
31 APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
32 PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
34 CONFIG_FILES= appclient/configuration/appclient.xml \
35 appclient/configuration/logging.properties \
36 domain/configuration/application-roles.properties \
37 domain/configuration/application-users.properties \
38 domain/configuration/default-server-logging.properties \
39 domain/configuration/domain.xml \
40 domain/configuration/host-master.xml \
41 domain/configuration/host-slave.xml \
42 domain/configuration/host.xml \
43 domain/configuration/logging.properties \
44 domain/configuration/mgmt-groups.properties \
45 domain/configuration/mgmt-users.properties \
46 standalone/configuration/application-roles.properties \
47 standalone/configuration/application-users.properties \
48 standalone/configuration/logging.properties \
49 standalone/configuration/mgmt-groups.properties \
50 standalone/configuration/mgmt-users.properties \
51 standalone/configuration/standalone-full-ha.xml \
52 standalone/configuration/standalone-full.xml \
53 standalone/configuration/standalone-ha.xml \
54 standalone/configuration/standalone.xml
57 ${RM} ${WRKSRC}/bin/add-user.sh.orig
60 ${RM} ${WRKSRC}/bin/*.bat
61 ${RM} ${WRKSRC}/bin/*.ps1
62 ${RM} -r ${WRKSRC}/bin/service
63 ${RM} -r ${WRKSRC}/bin/init.d
66 ${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
67 (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION})
68 ${RMDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/.installation
69 .for FILE in ${CONFIG_FILES}
70 ${MV} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE} \
71 ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
74 .include <bsd.port.mk>