From 48044c1f261ae57b6d56f2f80ba80edda72af25a Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Mon, 29 Aug 2005 15:37:33 +0000 Subject: Update to 1.52 PR: ports/84821 Submitted by: Slaven Rezic (maintainer) --- misc/lesspipe/Makefile | 11 +++++++--- misc/lesspipe/distinfo | 4 ++-- misc/lesspipe/files/patch-configure | 42 ------------------------------------- 3 files changed, 10 insertions(+), 47 deletions(-) delete mode 100644 misc/lesspipe/files/patch-configure (limited to 'misc/lesspipe') diff --git a/misc/lesspipe/Makefile b/misc/lesspipe/Makefile index 5765c6a2868f..b50a90afebec 100644 --- a/misc/lesspipe/Makefile +++ b/misc/lesspipe/Makefile @@ -6,7 +6,7 @@ # PORTNAME= lesspipe -PORTVERSION= 1.43 +PORTVERSION= 1.52 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lesspipe @@ -33,16 +33,21 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ USE_PERL5= yes +NO_BUILD= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --default --prefix=${PREFIX} PLIST_FILES= bin/lesspipe.sh \ bin/code2color -PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -do-build: +MAN1= lesspipe.1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/code2color ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${PREFIX}/man/man1 post-install: @${CAT} ${PKGMESSAGE} diff --git a/misc/lesspipe/distinfo b/misc/lesspipe/distinfo index 0376c9fcc5cf..de6015764c9e 100644 --- a/misc/lesspipe/distinfo +++ b/misc/lesspipe/distinfo @@ -1,2 +1,2 @@ -MD5 (lesspipe-1.43.tar.gz) = 76c5ce7b45afc3fa7584acb299e0d98f -SIZE (lesspipe-1.43.tar.gz) = 51922 +MD5 (lesspipe-1.52.tar.gz) = 905d11ffb75cb276deaff227f216d6bb +SIZE (lesspipe-1.52.tar.gz) = 78415 diff --git a/misc/lesspipe/files/patch-configure b/misc/lesspipe/files/patch-configure deleted file mode 100644 index 7ede0aee6e37..000000000000 --- a/misc/lesspipe/files/patch-configure +++ /dev/null @@ -1,42 +0,0 @@ ---- configure~ Thu Dec 9 09:30:52 2004 -+++ configure Sat Dec 11 20:46:04 2004 -@@ -28,7 +28,7 @@ - The Makefile is of little use (copy lesspipe.sh and code2color to the - install location) - EOF -- exit; -+ exit !$opt_help ? 1 : 0; - } - $opt_prefix ||= '/usr/local'; - open OUT, ">Makefile"; -@@ -188,7 +188,7 @@ - my $rc = system "$have{file} -L ./configure >/dev/null 2>&1"; - if ( $rc ) { - print " found system version of file, looking for GNU file\n"; -- exit unless inpath("Continue anyway", 'gfile'); -+ exit 1 unless inpath("Continue anyway", 'gfile'); - $have{file} = $have{gfile} if $have{gfile}; - } - $rc = system "$have{file} -L ./configure >/dev/null 2>&1"; -@@ -215,7 +215,7 @@ - $have{file} = $rep{file}; - check_file_vers(); - } -- exit if $yesno =~ /^n/i; -+ exit 1 if $yesno =~ /^n/i; - } else { - $have{file} .= ' -L -s'; - print " found GNU file$vers (ok)\n"; -@@ -277,10 +277,10 @@ - print OUT "#!$file$opt\n"; - $selected_shell = $name if ! $selected_shell; - } -- if ( $#bad == 2 ) { -+ if ( !$selected_shell ) { - print "Sorry, no useable shell found, cannot create lesspipe.sh\n", @bad; - print "You could edit lesspipe.sh.in to adjust the path to the shell(s)\n"; -- exit; -+ exit 1; - } else { - print OUT @bad; - } -- cgit v1.2.3