1 # Created by: Alexander Yerenkow <yerenkow@gmail.com>
8 MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
9 DISTNAME= wildfly-${WILDFLY_VERSION}
11 MAINTAINER= yerenkow@gmail.com
12 COMMENT= Replacement for JBoss Application Server
16 DEPRECATED= Fully EOL when version 8.2 was released
17 EXPIRATION_DATE= 2016-02-01
19 USE_RC_SUBR= wildfly80
25 LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
26 PID_FILE= ${VAR_DIR}/run/${PORTNAME}.pid
27 WILDFLY_VERSION=8.0.0.Final
28 SUB_FILES= pkg-message
30 SUB_LIST= APP_SHORTNAME=${PORTNAME} \
34 PID_FILE=${PID_FILE} \
35 APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
36 PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
38 CONFIG_FILES= appclient/configuration/appclient.xml \
39 appclient/configuration/logging.properties \
40 domain/configuration/application-roles.properties \
41 domain/configuration/application-users.properties \
42 domain/configuration/default-server-logging.properties \
43 domain/configuration/domain.xml \
44 domain/configuration/host-master.xml \
45 domain/configuration/host-slave.xml \
46 domain/configuration/host.xml \
47 domain/configuration/logging.properties \
48 domain/configuration/mgmt-groups.properties \
49 domain/configuration/mgmt-users.properties \
50 standalone/configuration/application-roles.properties \
51 standalone/configuration/application-users.properties \
52 standalone/configuration/logging.properties \
53 standalone/configuration/mgmt-groups.properties \
54 standalone/configuration/mgmt-users.properties \
55 standalone/configuration/standalone-full-ha.xml \
56 standalone/configuration/standalone-full.xml \
57 standalone/configuration/standalone-ha.xml \
58 standalone/configuration/standalone.xml
61 ${RM} ${WRKSRC}/bin/add-user.sh.orig
64 ${RM} ${WRKSRC}/bin/*.bat
65 ${RM} -rf ${WRKSRC}/bin/service
66 ${RM} -rf ${WRKSRC}/bin/init.d
69 ${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
70 (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION})
71 ${RMDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/.installation
72 .for FILE in ${CONFIG_FILES}
73 ${MV} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE} \
74 ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
77 .include <bsd.port.mk>