2000-08-11 12:57:44 +02:00
|
|
|
# New ports collection makefile for: Ruby-perl
|
|
|
|
# Date created: 11 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= perl
|
2000-09-15 06:30:10 +02:00
|
|
|
PORTVERSION= 0.2.7
|
2001-09-17 19:54:27 +02:00
|
|
|
PORTREVISION= 1
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= lang ruby perl5
|
2001-02-07 19:09:55 +01:00
|
|
|
MASTER_SITES= http://www.yoshidam.net/
|
2000-09-07 16:39:47 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-11 12:57:44 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A Ruby extension module to use the functions of Perl from Ruby
|
2000-08-11 12:57:44 +02:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
2000-09-07 16:39:47 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-11 12:57:44 +02:00
|
|
|
|
2000-09-07 16:39:47 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-09-14 08:43:50 +02:00
|
|
|
CONFIGURE_ARGS= --with-libperl=/usr/lib/libperl.so
|
2000-09-07 16:39:47 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-11 12:57:44 +02:00
|
|
|
|
|
|
|
EXAMPLES= htmlparse.rb http.rb perllib.rb ping.rb \
|
|
|
|
test.rb xmlparser.rb
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC}/Ruby; \
|
|
|
|
${PERL} Makefile.PL
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/Ruby; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}/Ruby; \
|
2005-05-04 13:28:38 +02:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} pure_install
|
2000-08-12 22:09:41 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2000-08-11 12:57:44 +02:00
|
|
|
.for f in ${EXAMPLES}
|
2002-10-06 23:38:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_MODEXAMPLESDIR}/
|
2000-08-11 12:57:44 +02:00
|
|
|
.endfor
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
|
2000-08-11 12:57:44 +02:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 10:02:17 +02:00
|
|
|
.include <bsd.port.mk>
|