diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-20 05:52:50 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-20 05:52:50 +0000 |
commit | 9f048e867a71a434ed90f20c3693fc219638751c (patch) | |
tree | 5ed51b845d72aef0dca72c93a19344223d12d2ab /lang/ruby16_static | |
parent | 608b3cf5cce2eb31fe717f4f02496491cba5b440 (diff) | |
download | ports-9f048e867a71a434ed90f20c3693fc219638751c.tar.gz ports-9f048e867a71a434ed90f20c3693fc219638751c.zip |
Notes
Diffstat (limited to 'lang/ruby16_static')
-rw-r--r-- | lang/ruby16_static/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/ruby16_static/Makefile b/lang/ruby16_static/Makefile index 866f8828193a..7932ed5e6c15 100644 --- a/lang/ruby16_static/Makefile +++ b/lang/ruby16_static/Makefile @@ -7,6 +7,7 @@ PORTNAME= ruby_static PORTVERSION= ${RUBY_PORTVERSION} +PORTREVISION?= 1 CATEGORIES= lang ruby ipv6 MASTER_SITES= # none DISTFILES= # none @@ -20,8 +21,9 @@ USE_RUBY= yes USE_AUTOCONF= yes # Beware, because gdbm is under GPL, you must treat the whole binary -# as GPL says. +# as GPL says if you include gdbm in it. EXT_PORTS= archivers/ruby-zlib \ + databases/ruby-bdb1 \ devel/ruby-strscan _PORTSDIR= ${.CURDIR}/../.. _RUBY_PORTDIR= ${_PORTSDIR}/${RUBY_PORT} @@ -77,10 +79,13 @@ do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${_RUBY_PORTDIR} && ${MAKE} -V WRKSRC` ${WRKSRC} .for p in ${EXT_PORTS} + m="${p:T:S,^ruby-,,}"; \ wrksrc=$$(cd ${_PORTSDIR}/${p} && ${MAKE} -V WRKSRC) ; \ - extdir=$$(find -L $$wrksrc -name extconf.rb); \ + extdir=$$(${FIND} -L $$wrksrc -name extconf.rb | \ + ${XARGS} ${GREP} -l create_makefile | ${HEAD} -1 ); \ extdir=$${extdir%/extconf.rb}; \ - ${CP} -RPp $$extdir ${WRKSRC}/ext/ + ${CP} -RPp $$extdir ${WRKSRC}/ext/$$m; \ + ${TOUCH} ${WRKSRC}/ext/$$m/MANIFEST .endfor .if defined(STATIC) ${ECHO_CMD} "option nodynamic" > ${WRKSRC}/ext/Setup |