freebsd-ports/archivers/ruby-zlib/Makefile
Akinori MUSHA 37f0f0aa36 Bump the PORTREVISION's of the ports which install architecture
dependent ruby modules, due to the RUBY_ARCH change I've just
committed.
2001-09-17 17:54:27 +00:00

44 lines
921 B
Makefile

# New ports collection makefile for: Ruby-zlib
# Date created: 12 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= zlib
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= archivers ruby
MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog zlib.en.html
DOCS_JA= zlib.ja.html
post-patch:
${RUBY} -i -p \
-e 'gsub /\bNORETURN\b/, ""' \
-e 'gsub /\bstr2cstr\b/, "rb_str2cstr"' \
${WRKSRC}/zlib.c
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/zlib/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/zlib/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/zlib/ja/
.endfor
.endif
.include <bsd.port.mk>