1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/ruby-cache/Makefile
Edwin Groothuis 39a413d6b9 Make portlint happier.
They are not the patches from the submitter, but one which overcome
knu@s objections about the original ones and discussed in ports/69037.

PR:		ports/69027 ports/69028 ports/69029 ports/69030 ports/69031 ports/69032 ports/69033 ports/69034 ports/69035 ports/69036 ports/69037
Submitted by:	Wesley Shields <wxs@csh.rit.edu>
2004-12-14 04:54:37 +00:00

42 lines
977 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}
.include <bsd.port.pre.mk>
post-install: doc-install
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
.include <bsd.port.post.mk>