aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rubygem-spreadsheet-excel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rubygem-spreadsheet-excel/Makefile')
-rw-r--r--textproc/rubygem-spreadsheet-excel/Makefile40
1 files changed, 8 insertions, 32 deletions
diff --git a/textproc/rubygem-spreadsheet-excel/Makefile b/textproc/rubygem-spreadsheet-excel/Makefile
index d1c7b0fc3d8..da9e3264faa 100644
--- a/textproc/rubygem-spreadsheet-excel/Makefile
+++ b/textproc/rubygem-spreadsheet-excel/Makefile
@@ -6,38 +6,14 @@
#
PORTNAME= spreadsheet-excel
-PORTVERSION= 0.2.9
-CATEGORIES= textproc ruby
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= rubyspreadsheet
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= spreadsheet-${PORTVERSION}
-DIST_SUBDIR= ruby
+PORTVERSION= 0.3.5.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= spreadsheet
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@logvinov.com
COMMENT= A Ruby module to generate Microsoft Excel compatible files
-USE_RUBY= yes
-
-NO_BUILD= yes
-
-INSTALL_TARGET= site-install
-
-DOCS= CHANGES doc/*
-EXAMPLES= test/test.rb
-
-do-install:
- ${MKDIR} ${RUBY_SITELIBDIR}/spreadsheet
- ${INSTALL_DATA} ${WRKSRC}/spreadsheet/*.rb ${RUBY_SITELIBDIR}/spreadsheet/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
-.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>