# New ports collection makefile for: Rack, a Ruby Webserver Interface # Date created: 2 Dec 2007 # Whom: Jun Kuriyama # # $FreeBSD$ # PORTNAME= rack PORTVERSION= 0.4.0 CATEGORIES= www rubygems MASTER_SITES= RF MAINTAINER= kuriyama@FreeBSD.org COMMENT= Rack, a Ruby Webserver Interface USE_RUBY= yes USE_RUBYGEMS= yes post-install: @${ECHO} bin/rackup >> ${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