Index: head/japanese/ruby-chasen/Makefile =================================================================== --- head/japanese/ruby-chasen/Makefile (revision 117622) +++ head/japanese/ruby-chasen/Makefile (revision 117623) @@ -1,45 +1,41 @@ # New ports collection makefile for: Ruby-ChaSen # Date created: 1 Mar 2001 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= chasen PORTVERSION= 1.6 PORTREVISION= 1 CATEGORIES= japanese textproc ruby MASTER_SITES= http://www.itlb.te.noda.sut.ac.jp/~ikarashi/ruby/ # XXX: www.itlb.te.noda.tus.ac.jp is a different host and unreachable DISTNAME= ${PORTNAME}${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= ChaSen module for Ruby LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen-base -BROKEN= "Does not build (cannot open Makefile)" -EXPIRATION_DATE=2004-08-20 -DEPRECATED= Does not build (cannot open Makefile) - USE_RUBY= yes USE_RUBY_EXTCONF= yes CONFIGURE_ARGS= --with-chasen-include="${PREFIX}/include/chasen" \ --with-chasen-lib="${PREFIX}/lib" INSTALL_TARGET= site-install .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ja/ ${MKDIR} ${RUBY_MODDOCDIR}/ja ${INSTALL_DATA} ${WRKSRC}/chasen.html ${RUBY_MODDOCDIR}/ja/ .endif .include Property changes on: head/japanese/ruby-chasen/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/japanese/ruby-chasen/files/patch-extconf.rb =================================================================== --- head/japanese/ruby-chasen/files/patch-extconf.rb (revision 117622) +++ head/japanese/ruby-chasen/files/patch-extconf.rb (revision 117623) @@ -1,25 +1,26 @@ ---- extconf.rb.orig Thu Sep 9 21:57:36 1999 -+++ extconf.rb Thu Mar 1 19:09:18 2001 -@@ -1,20 +1,6 @@ +--- extconf.rb.orig Thu Sep 9 05:57:36 1999 ++++ extconf.rb Sun Aug 29 21:26:29 2004 +@@ -1,20 +1,7 @@ require "mkmf" -require "parsearg" -def usage() - printf "Usage:\n" - printf "%s [-L library_path]\n", $0 -end - -$USAGE = 'usage' -parseArgs(0, "L", nil, "L:.") - -unless have_library("chasen", "chasen_getopt_argv") - $objs = Dir["*.{c,cc}"] - for f in $objs - f.sub!(/\.(c|cc)$/, ".o") - end - $objs.push File.join(["#{$OPT_L}", "libchasen.a"]) -end +dir_config("chasen") ++have_library("stdc++") +have_library("chasen", "chasen_getopt_argv") && create_makefile("chasen") Property changes on: head/japanese/ruby-chasen/files/patch-extconf.rb ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property