1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/java/wildfly80/Makefile
Kurt Jaeger 54b3ec00c2 java/wildfly80: New port: WildFly - replacement for JBoss Application Server
PR:             ports/188339
Submitted by:   Alexander Yerenkow <yerenkow@gmail.com>
Approved by:    jadawin (mentor)
2014-05-27 08:12:46 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Alexander Yerenkow <yerenkow@gmail.com>
# $FreeBSD$
PORTNAME= wildfly80
PORTVERSION= 8.0.0
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
NEED_ROOT= yes
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}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>