2001-03-07 20:12:08 +01:00
|
|
|
# New ports collection makefile for: Ruby-Mmap
|
|
|
|
# Date created: 8 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mmap
|
2006-05-11 12:00:57 +02:00
|
|
|
PORTVERSION= 0.2.6
|
2001-03-07 20:12:08 +01:00
|
|
|
CATEGORIES= devel ruby
|
|
|
|
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2006-05-11 12:00:57 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-02-18 06:04:59 +01:00
|
|
|
COMMENT= Ruby interface to manage memory-mapped file objects
|
2001-03-07 20:12:08 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2003-01-01 17:24:02 +01:00
|
|
|
USE_RUBY_RDOC= yes
|
2002-12-06 18:17:38 +01:00
|
|
|
|
|
|
|
RUBY_RD_FILES= mmap.rd
|
2001-03-07 20:12:08 +01:00
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2002-12-06 18:17:38 +01:00
|
|
|
DOCS= Changes \
|
|
|
|
README.en \
|
|
|
|
${RUBY_RD_FILES} \
|
|
|
|
${RUBY_RD_HTML_FILES} \
|
2004-12-25 22:34:57 +01:00
|
|
|
doc/doc
|
2001-03-07 20:12:08 +01:00
|
|
|
|
2004-12-14 05:54:37 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-02-02 01:57:15 +01:00
|
|
|
post-patch:
|
|
|
|
.if exists(${RUBY_ARCHLIBDIR}/oniguruma.h)
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-oniguruma
|
|
|
|
.endif
|
|
|
|
|
2002-08-27 15:30:21 +02:00
|
|
|
post-build:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-01-01 17:24:02 +01:00
|
|
|
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
|
2002-08-27 15:30:21 +02:00
|
|
|
.endif
|
|
|
|
|
2002-12-06 18:17:38 +01:00
|
|
|
post-install: doc-install
|
|
|
|
|
|
|
|
doc-install:
|
2001-03-07 20:12:08 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-03-07 20:12:08 +01:00
|
|
|
.for f in ${DOCS}
|
2002-10-06 23:08:30 +02:00
|
|
|
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-03-07 20:12:08 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
2004-12-14 05:54:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|