diff -ruN rlwrap.old/Makefile rlwrap/Makefile --- rlwrap.old/Makefile 2010-01-24 01:01:34.000000000 -0800 +++ rlwrap/Makefile 2010-01-24 01:18:55.000000000 -0800 @@ -7,7 +7,7 @@ # PORTNAME= rlwrap -PORTVERSION= 0.30 +PORTVERSION= 0.36 CATEGORIES= devel MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ \ ${MASTER_SITE_LOCAL} \ @@ -21,5 +21,6 @@ CONFIGURE_ENV+= ptyttylib_cv_ptys=BSD LDFLAGS=-lutil MAN1= rlwrap.1 +MAN3= RlwrapFilter.3pm .include diff -ruN rlwrap.old/distinfo rlwrap/distinfo --- rlwrap.old/distinfo 2010-01-24 01:01:34.000000000 -0800 +++ rlwrap/distinfo 2010-01-24 01:03:29.000000000 -0800 @@ -1,3 +1,3 @@ -MD5 (rlwrap-0.30.tar.gz) = 03d8bd4996945ea32d3c7d5dc38c956e -SHA256 (rlwrap-0.30.tar.gz) = 1dea22de58d750ff622dd676ddbacce80d0305d0ec85422e326b6e71c7971671 -SIZE (rlwrap-0.30.tar.gz) = 184037 +MD5 (rlwrap-0.36.tar.gz) = f3d687658336789d5155322abcc84a7f +SHA256 (rlwrap-0.36.tar.gz) = 87f416dfda0e26d3b59a7d940dd2a871279bc56879f3fe2f0ff5f9bf5369892f +SIZE (rlwrap-0.36.tar.gz) = 247198 diff -ruN rlwrap.old/files/patch-src::ptytty.c rlwrap/files/patch-src::ptytty.c --- rlwrap.old/files/patch-src::ptytty.c 2010-01-24 01:01:34.000000000 -0800 +++ rlwrap/files/patch-src::ptytty.c 2010-01-24 01:09:46.000000000 -0800 @@ -1,12 +1,12 @@ ---- src/ptytty.c.orig 2005-10-17 09:36:46.000000000 +0200 -+++ src/ptytty.c 2007-09-27 14:12:26.000000000 +0200 +--- src/ptytty.c.orig 2010-01-24 01:05:53.000000000 -0800 ++++ src/ptytty.c 2010-01-24 01:09:19.000000000 -0800 @@ -41,7 +41,7 @@ #ifdef HAVE_SYS_IOCTL_H # include #endif -#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) +#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__) - # include /* for I_PUSH */ + # include /* for I_PUSH */ #endif @@ -159,11 +159,19 @@ @@ -14,10 +14,10 @@ char tty_name[] = "/dev/tty??"; -# ifndef PTYCHAR1 --# define PTYCHAR1 "pqrstuvwxyz" +-# define PTYCHAR1 "pqrstuvwxyz" -# endif -# ifndef PTYCHAR2 --# define PTYCHAR2 "0123456789abcdef" +-# define PTYCHAR2 "0123456789abcdef" +# ifdef __FreeBSD__ +/* Auto-detected pty names do not work well with devfs! */ +# undef PTYCHAR1 diff -ruN rlwrap.old/pkg-plist rlwrap/pkg-plist --- rlwrap.old/pkg-plist 2010-01-24 01:01:34.000000000 -0800 +++ rlwrap/pkg-plist 2010-01-24 01:13:26.000000000 -0800 @@ -1,5 +1,22 @@ bin/rlwrap -%%DATADIR%%/ftp -%%DATADIR%%/testclient -%%DATADIR%%/coqtop +%%DATADIR%%/completions/coqtop +%%DATADIR%%/completions/testclient +%%DATADIR%%/filters/README +%%DATADIR%%/filters/RlwrapFilter.3pm +%%DATADIR%%/filters/RlwrapFilter.pm +%%DATADIR%%/filters/censor_passwords +%%DATADIR%%/filters/count_in_prompt +%%DATADIR%%/filters/ftp_filter +%%DATADIR%%/filters/listing +%%DATADIR%%/filters/logger +%%DATADIR%%/filters/null +%%DATADIR%%/filters/paint_prompt +%%DATADIR%%/filters/pipeline +%%DATADIR%%/filters/pipeto +%%DATADIR%%/filters/scrub_prompt +%%DATADIR%%/filters/simple_macro +%%DATADIR%%/filters/template +%%DATADIR%%/filters/unbackspace +@dirrm %%DATADIR%%/filters +@dirrm %%DATADIR%%/completions @dirrm %%DATADIR%%