summaryrefslogtreecommitdiffstats
path: root/devel/ruby-cache/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-22 17:48:11 +0000
committerknu <knu@FreeBSD.org>2002-11-22 17:48:11 +0000
commit1fe0b7d8ff62f27c55655c241d2c5bc1e5144477 (patch)
tree82a3a24a3010ebf4f98abb59f46db975409fafc1 /devel/ruby-cache/Makefile
parent45971336b188c3fdffcfbf1811b7fdfc60c5642c (diff)
downloadFreeBSD-ports-1fe0b7d8ff62f27c55655c241d2c5bc1e5144477.zip
FreeBSD-ports-1fe0b7d8ff62f27c55655c241d2c5bc1e5144477.tar.gz
Add ruby-cache, a Ruby library for caching objects based on the LRU
algorithm.
Diffstat (limited to 'devel/ruby-cache/Makefile')
-rw-r--r--devel/ruby-cache/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/ruby-cache/Makefile b/devel/ruby-cache/Makefile
new file mode 100644
index 0000000..aa6e08b
--- /dev/null
+++ b/devel/ruby-cache/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: Ruby/Cache
+# Date created: 22 November 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cache
+PORTVERSION= 0.2
+CATEGORIES= devel ruby
+MASTER_SITES= http://savannah.nongnu.org/download/pupa/ruby-cache.pkg/${PORTVERSION}/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+RUBY_RD_FILES= ${WRKSRC}/MANUAL.rd ${WRKSRC}/README.rd
+DOCS= ${RUBY_RD_FILES} ${RUBY_RD_HTML_FILES}
+
+post-install: doc-install
+
+.include <bsd.port.mk>
+
+doc-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${f} ${RUBY_MODDOCDIR}/
+.endfor
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
+.endif
OpenPOWER on IntegriCloud