1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/ruby-cache/Makefile
Akinori MUSHA e42bdbab4b Back out the previous commmit and fix installation.
Please do not break my port just to satisfy portlint..
2004-12-25 21:39:35 +00:00

40 lines
944 B
Makefile

# 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.3
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= pupa/ruby-cache.pkg/${PORTVERSION}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby library for caching objects based on the LRU algorithm
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