diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:13:00 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:13:00 +0000 |
commit | ab01e6a97dc33e5d05338d15fc5566279aca7eac (patch) | |
tree | c1e0dd54de02439819088524a50435022dfabf4b /www/resin3 | |
parent | ad385d50c9fa8cdddc346b03e29e1d00904de4a0 (diff) | |
download | ports-ab01e6a97dc33e5d05338d15fc5566279aca7eac.tar.gz ports-ab01e6a97dc33e5d05338d15fc5566279aca7eac.zip |
Notes
Diffstat (limited to 'www/resin3')
-rw-r--r-- | www/resin3/Makefile | 51 | ||||
-rw-r--r-- | www/resin3/distinfo | 4 |
2 files changed, 24 insertions, 31 deletions
diff --git a/www/resin3/Makefile b/www/resin3/Makefile index 0f0f37797b1f..1bebd0420fa7 100644 --- a/www/resin3/Makefile +++ b/www/resin3/Makefile @@ -1,18 +1,19 @@ # Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com> # $FreeBSD$ -PORTNAME= resin -PORTVERSION= 3.1.13 -CATEGORIES= www java -MASTER_SITES= http://www.caucho.com/download/ +PORTNAME= resin +PORTVERSION= 3.1.14 +CATEGORIES= www java +MASTER_SITES= http://www.caucho.com/download/ -MAINTAINER= 5u623l20@gmail.com -COMMENT= Java-based Application Server, 3.x branch +MAINTAINER= 5u623l20@gmail.com +COMMENT= Java-based Application Server, 3.x branch + +LICENSE= GPLv2 OPTIONS_DEFINE= APACHE22 APACHE22_DESC= Use Apache 2.2 -NO_STAGE= yes .include <bsd.port.options.mk> USE_JAVA= yes @@ -35,7 +36,7 @@ PORT?= 8080 APP_NAME_SUFFIX= ${PORTVERSION:C/\..*$//} APP_NAME?= ${PORTNAME}${APP_NAME_SUFFIX} LATEST_LINK= ${APP_NAME} -APP_HOME?= ${PREFIX}/${APP_NAME} +APP_HOME?= ${STAGEDIR}${PREFIX}/${APP_NAME} PID_FILE?= ${APP_HOME}/${APP_NAME}.pid LOG_FILE?= ${APP_HOME}/${APP_NAME}.log @@ -80,7 +81,7 @@ SUB_LIST= APP_HOME=${APP_HOME} \ LOG_FILE=${LOG_FILE} \ PID_FILE=${PID_FILE} \ PORT=${PORT} \ - PREFIX=${PREFIX} \ + PREFIX=${STAGEDIR}${PREFIX} \ PYTHON_CMD=${PYTHON_CMD} \ USERS=${USERS} @@ -89,7 +90,7 @@ post-extract: @${TAR} xf ${WRKSRC}/webapps/resin-doc.war -C ${WRKSRC}/webapps/resin-doc && ${RM} ${WRKSRC}/webapps/resin-doc.war post-patch: - @${REINPLACE_CMD} -e 's|$${resin.home}/conf/app-default.xml|${PREFIX}/etc/${APP_NAME}/app-default.xml|' \ + @${REINPLACE_CMD} -e 's|$${resin.home}/conf/app-default.xml|${STAGEDIR}${PREFIX}/etc/${APP_NAME}/app-default.xml|' \ ${WRKSRC}/conf/resin.conf post-build: @@ -97,28 +98,20 @@ post-build: # Resin does not handle installation, so proceed now do-install: -.for i in ${APP_HOME} ${APP_HOME}/lib ${PREFIX}/etc/${APP_NAME} - @install -d -g ${WWWOWN} -o ${WWWGRP} ${i} -.endfor - if [ ! -e ${PREFIX}/etc/${APP_NAME}/resin.xml ]; then \ - ${ECHO_MSG} " Installing local configuration file: ${PREFIX}/etc/${APP_NAME}/resin.xml" ;\ - ${INSTALL_DATA} ${WRKSRC}/conf/resin.conf ${PREFIX}/etc/${APP_NAME}/resin.xml ;\ - else \ - ${ECHO_MSG} " Preserving local configuration file: ${PREFIX}/etc/${APP_NAME}/resin.xml" ;\ - fi - ${INSTALL_DATA} ${WRKSRC}/conf/resin.conf ${PREFIX}/etc/${APP_NAME}/resin.xml-dist - ${INSTALL_DATA} ${WRKSRC}/conf/app-default.xml ${PREFIX}/etc/${APP_NAME} - ${INSTALL_SCRIPT} ${WRKDIR}/resin3ctl ${PREFIX}/sbin - cd ${WRKSRC}/webapps && ${COPYTREE_SHARE} \* ${APP_HOME}/webapps - cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${APP_HOME}/lib +#.for i in ${APP_HOME} ${APP_HOME}/lib ${STAGEDIR}${PREFIX}/etc/${APP_NAME} +# @install -d -g ${WWWOWN} -o ${WWWGRP} ${i} +#.endfor + install -d -g ${WWWOWN} -o ${WWWGRP} ${i} ${APP_HOME} ${APP_HOME}/lib ${STAGEDIR}${PREFIX}/etc/${APP_NAME} + ${ECHO_MSG} " Installing local configuration file: ${STAGEDIR}${PREFIX}/etc/${APP_NAME}/resin.xml" + ${INSTALL_DATA} ${WRKSRC}/conf/resin.conf ${STAGEDIR}${PREFIX}/etc/${APP_NAME}/resin.xml + ${INSTALL_DATA} ${WRKSRC}/conf/resin.conf ${STAGEDIR}${PREFIX}/etc/${APP_NAME}/resin.xml-dist + ${INSTALL_DATA} ${WRKSRC}/conf/app-default.xml ${STAGEDIR}${PREFIX}/etc/${APP_NAME} + ${INSTALL_SCRIPT} ${WRKDIR}/resin3ctl ${STAGEDIR}${PREFIX}/sbin + cd ${WRKSRC}/webapps && ${COPYTREE_SHARE} . ${APP_HOME}/webapps + cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${APP_HOME}/lib .if ${PORT_OPTIONS:MAPACHE22} ${APXS} -i -n caucho -a ${WRKSRC}/modules/c/src/apache2/.libs/mod_caucho.so .endif - @${ECHO_MSG} - @${ECHO_MSG} "********************************************************************************" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "********************************************************************************" - @${ECHO_MSG} .include <bsd.port.post.mk> diff --git a/www/resin3/distinfo b/www/resin3/distinfo index 1b379e33b5cc..909c22f0f6f7 100644 --- a/www/resin3/distinfo +++ b/www/resin3/distinfo @@ -1,2 +1,2 @@ -SHA256 (resin-3.1.13.tar.gz) = f51b0acad197d44f69c1f722f07ab10efd046d52decef34ab0dd5d6194196b0b -SIZE (resin-3.1.13.tar.gz) = 10273075 +SHA256 (resin-3.1.14.tar.gz) = 6ad8218caa6f1d3333cbeaad2a6839691f211746578fbb3a45321246e211c348 +SIZE (resin-3.1.14.tar.gz) = 10276901 |