# Created by: Alexander Yerenkow # $FreeBSD$ PORTNAME= wildfly80 PORTVERSION= 8.0.0 PORTREVISION= 1 CATEGORIES= java www MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/ DISTNAME= wildfly-${WILDFLY_VERSION} MAINTAINER= yerenkow@gmail.com COMMENT= Replacement for JBoss Application Server LICENSE= GPLv2 USE_RC_SUBR= wildfly80 USE_JAVA= yes JAVA_VERSION= 1.7+ USER= www GROUP= www VAR_DIR?= /var LOG_DIR?= ${VAR_DIR}/log/${PORTNAME} PID_FILE= ${VAR_DIR}/run/${PORTNAME}.pid WILDFLY_VERSION=8.0.0.Final SUB_LIST= APP_SHORTNAME=${PORTNAME} \ LOG_DIR=${LOG_DIR} \ USER=${USER} \ GROUP=${GROUP} \ PID_FILE=${PID_FILE} \ APP_HOME=${PREFIX}/wildfly-${PORTVERSION} PLIST_SUB= APP_HOME=wildfly-${PORTVERSION} do-build: ${RM} ${WRKSRC}/bin/*.bat ${RM} -rf ${WRKSRC}/bin/service ${RM} -rf ${WRKSRC}/bin/init.d do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION} && cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdmu -R ${USER}:${GROUP} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION} .include