summaryrefslogtreecommitdiff
path: root/devel/tcl-trf
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2002-09-24 11:01:34 +0000
committerAlexander Langer <alex@FreeBSD.org>2002-09-24 11:01:34 +0000
commitf6100b02b8fb25dcfe818d2cb515bdb0672ec301 (patch)
treefcc3cf2085f6e5e749fe575cb12d64f1e5307fa6 /devel/tcl-trf
parentThe distfile is corrupt on this master site at the moment. Replace it (diff)
- Use -E, since Ex. RE are used;
- Fix plist and therefore bump PORTREVISION Noticed by: bento
Diffstat (limited to 'devel/tcl-trf')
-rw-r--r--devel/tcl-trf/Makefile9
-rw-r--r--devel/tcl-trf/pkg-plist2
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index c1433bd8c25a..bf76a6737ff6 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Trf
PORTVERSION= 2.1p2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel tcl83
MASTER_SITES= http://www.oche.de/~akupries/soft/trf/download/
PKGNAMEPREFIX= tcl-
@@ -42,10 +42,13 @@ post-extract:
post-patch:
# Make direct calls to -lbz2
- ${REINPLACE_CMD} -e 's,bz\.([^(]+),BZ2_bz\u\1,g' \
+ ${REINPLACE_CMD} -E 's,bz\.([^(]+),BZ2_bz\1,g' \
+ ${WRKSRC}/generic/bz2.c
+ ${REINPLACE_CMD} -E \
+ 's,BZ2_bzcomp,BZ2_bzComp,g;s,BZ2_bzdecomp,BZ2_bzDecomp,g' \
${WRKSRC}/generic/bz2.c
# Make direct calls to -lz
- ${REINPLACE_CMD} -e 's,zf\.([^(]+),\1,g' ${WRKSRC}/generic/adler.c \
+ ${REINPLACE_CMD} -E 's,zf\.([^(]+),\1,g' ${WRKSRC}/generic/adler.c \
${WRKSRC}/generic/crc_zlib.c ${WRKSRC}/generic/zip.c
post-install:
diff --git a/devel/tcl-trf/pkg-plist b/devel/tcl-trf/pkg-plist
index d1e094659584..958a4c03ae6e 100644
--- a/devel/tcl-trf/pkg-plist
+++ b/devel/tcl-trf/pkg-plist
@@ -1,6 +1,6 @@
lib/%%SHLIB_NAME%%
lib/%%SHLIB_LINK%%
-lib/libTrfstub21.a
+lib/libTrfstub83.a
lib/Trf/pkgIndex.tcl
include/trfDecls.h
include/transform.h