1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

update devel/rlwrap: 0.12 --> 0.15

PR:		51427
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Daichi GOTO 2003-06-27 06:21:54 +00:00
parent 88f5288543
commit d690942f5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83726
3 changed files with 5 additions and 23 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= rlwrap
PORTVERSION= 0.12
PORTVERSION= 0.15
CATEGORIES= devel
MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/
EXTRACT_SUFX= .tgz
@ -15,19 +15,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Readline wrapper
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500018
BROKEN= "Requires readline 4.2 or newer"
.endif
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
ALL_TARGET= # empty
MAN1= rlwrap.1

View File

@ -1 +1 @@
MD5 (rlwrap-0.12.tgz) = 27f04e27b202c4ee8b896e36f5067473
MD5 (rlwrap-0.15.tgz) = b1325380b8d1a9619d26d5a4b6bcacca

View File

@ -13,22 +13,8 @@
CC = @CC@
-CFLAGS= @CFLAGS@ -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
+CFLAGS= @CFLAGS@ $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
-CFLAGS= @CFLAGS@ -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I .
+CFLAGS= @CFLAGS@ $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I .
SOURCES = main.c signals.c utils.c readline.c pty.c completion.c term.c
OBJECTS = main.o signals.o utils.o readline.o pty.o completion.o term.o
TESTCLIENT=testclient
@@ -50,10 +52,11 @@
check: @CHECK@
no_perl :
- @echo "warning: test client not made because configure didn't find perl"
+ sed -e 's#\@PERLBIN\@#/usr/bin/perl#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
+ chmod a+x $(TESTCLIENT)
_testclient:
- perl -p -e 's#\@PERLBIN\@#$(PERL)#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
+ sed -e 's#\@PERLBIN\@#$(PERL)#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
chmod a+x $(TESTCLIENT)
_check: $(TESTCLIENT) rlwrap