4b3512397e
to provide a minimal, flexible, ruby-like way to bundle up all of your application files for deployment to a Java application server. Warbler provides a sane set of out-of-the box defaults that should allow most Rails applications without external gem dependencies (aside from Rails itself) to assemble and Just Work. Warbler bundles JRuby and the JRuby-Rack servlet adapter for dispatching requests to your application inside the java application server, and assembles all jar files in WARBLER_HOME/lib/*.jar into your application. No external dependencies are downloaded. WWW: http://caldersphere.rubyforge.org/warbler/ PR: ports/126327 Submitted by: Alexander Logvinov <ports at logvinov,com>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# Ports collection makefile for: rubygem-warbler
|
|
# Date created: 23 July 2008
|
|
# Whom: Alexander Logvinov <ports@logvinov,com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= warbler
|
|
PORTVERSION= 0.9.10
|
|
CATEGORIES= devel rubygems java
|
|
MASTER_SITES= RF
|
|
MASTER_SITE_SUBDIR= caldersphere
|
|
|
|
MAINTAINER= ports@logvinov.com
|
|
COMMENT= A constructor of .war files of Rails applications
|
|
|
|
RUN_DEPENDS= jruby:${PORTSDIR}/lang/jruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RAKE= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
post-install:
|
|
@${ECHO} bin/warble > ${TMPPLIST}
|
|
@${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
|
|
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|