# New ports collection makefile for: Spreadsheet/Excel for Ruby # Date created: 8 December 2002 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= spreadsheet PORTVERSION= 0.6.2.1 CATEGORIES= textproc rubygems MASTER_SITES= RF MAINTAINER= ports@logvinov.com COMMENT= A Ruby module to generate Microsoft Excel compatible files RUN_DEPENDS= rubygem-ruby-ole>=1.0.2:${PORTSDIR}/devel/rubygem-ruby-ole USE_RUBY= yes USE_RUBY_FEATURES= iconv USE_RUBYGEMS= yes post-install: @${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