2000-08-11 10:57:44 +00: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 04:30:10 +00:00
|
|
|
PORTVERSION= 0.2.7
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= lang ruby perl5
|
2000-08-11 10:57:44 +00:00
|
|
|
MASTER_SITES= http://www.bekkoame.ne.jp/~yoshidam/
|
2000-09-07 14:39:47 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-11 10:57:44 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
2000-09-07 14:39:47 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-11 10:57:44 +00:00
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-09-14 06:43:50 +00:00
|
|
|
CONFIGURE_ARGS= --with-libperl=/usr/lib/libperl.so
|
2000-09-07 14:39:47 +00:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-11 10:57:44 +00: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; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
|
2000-08-12 20:09:41 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 14:39:47 +00:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/perl
|
2000-08-11 10:57:44 +00:00
|
|
|
.for f in ${EXAMPLES}
|
2000-09-07 14:39:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/perl/
|
2000-08-11 10:57:44 +00:00
|
|
|
.endfor
|
2000-09-07 14:39:47 +00:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/perl/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/perl/ja/
|
2000-08-11 10:57:44 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|