the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnu-regexp
Version: 1.1.4
Revision: 1
Description: Regular Expressions for Java
License: LGPL
Maintainer: Trevor Harmon
Type: java(1.4)
BuildDepends: fink (>= 0.24.12)
Depends: system-java (>= 1.4)
Source: ftp://ftp.tralfamadore.com/pub/java/gnu.regexp-%v.tar.gz
Source-MD5: 4b5a3722f1d814ee30591ad21b519d28
SourceDirectory: gnu.regexp-%v
PatchFile: %n.patch
PatchFile-MD5: 134758af2aa23983271fcc1e606333a7
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|@PACKAGE@|%n|g' < %{PatchFile} | patch -p1
CompileScript: <<
#!/bin/sh -ex
cd src
make
make javadocs
<<
InstallScript: <<
#!/bin/sh -ex
/usr/bin/install -d -m 755 %i/share/doc/%n/website
cp docs/*.html %i/share/doc/%n/website
cp docs/*.jar %i/share/doc/%n/website
/usr/bin/install -d -m 755 %i/share/doc/%n/api
cp -R docs/api/* %i/share/doc/%n/api
<<
JarFiles: lib/%n-%v.jar
DocFiles: COPYING COPYING.LIB README TODO
DescDetail: <<
The gnu.regexp package is a pure-Java implementation of a traditional
(non-POSIX) NFA regular expression engine. Its syntax can emulate many popular
development tools, including awk, sed, emacs, perl and grep.
<<
Homepage: http://www.cacas.org/java/gnu/regexp/
--- gnu.regexp-1.1.4/src/Makefile 2001-10-21 14:26:42.000000000 -0700
+++ gnu.regexp-1.1.4-patched/src/Makefile 2005-12-08 01:47:01.000000000 -0800
@@ -57,12 +57,12 @@
# Change JAVAC variable to your java compiler.
# Change JAVAFLAGS variable to any java flags you want to compile with.
-JAVAC = jikes
-JAVAFLAGS = -O
-
-#JAVAC = javac
+#JAVAC = jikes
#JAVAFLAGS = -O
+JAVAC = javac
+JAVAFLAGS = -O
+
JAVACOMPILE = $(JAVAC) -d "$(LIBPATH)" $(JAVAFLAGSCLASSPATH) $(JAVAFLAGS)
# This is the directory the gnu.regexp JAR file will be installed in when