2002-11-09 20:59:45 +01:00
|
|
|
# New ports collection makefile for: NodeDump for Ruby
|
|
|
|
# Date created: 10 November 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nodedump
|
|
|
|
PORTVERSION= 0.1.7
|
|
|
|
CATEGORIES= devel ruby
|
|
|
|
MASTER_SITES= http://www.pragmaticprogrammer.com/ruby/downloads/files/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= nodeDump-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 06:04:59 +01:00
|
|
|
COMMENT= Displays the internal structure of a parsed Ruby program
|
2002-11-09 20:59:45 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-02-28 08:04:34 +01:00
|
|
|
RUBY_REQUIRE= Ruby < 170
|
|
|
|
|
2004-02-23 05:42:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-28 08:04:34 +01:00
|
|
|
.if !defined(RUBY_PROVIDED)
|
|
|
|
IGNORE= only works with Ruby 1.6
|
|
|
|
RUBY_VER= 1.6 # This gets in effect when NO_IGNORE is defined
|
2004-02-23 05:42:56 +01:00
|
|
|
.endif
|
|
|
|
|
2002-11-09 20:59:45 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
|
|
|
|
.endif
|
|
|
|
|
2004-02-23 05:42:56 +01:00
|
|
|
.include <bsd.port.post.mk>
|